Searched refs:limit (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dmk_sp.c144 * Set scheduling policy and parameters, both base and limit, for
155 policy_limit_t limit,
172 policy_rr_limit_t rr_limit = (policy_rr_limit_t) limit;
193 policy_fifo_limit_t fifo_limit = (policy_fifo_limit_t) limit;
215 (policy_timeshare_limit_t) limit;
254 * Set scheduling policy and parameters, both base and limit, for
268 policy_limit_t limit = NULL; local
304 limit = (policy_limit_t) &rr_limit;
321 limit = (policy_limit_t) &fifo_limit;
338 limit
149 thread_set_policy( thread_t thread, processor_set_t pset, policy_t policy, policy_base_t base, mach_msg_type_number_t base_count, policy_limit_t limit, mach_msg_type_number_t limit_count) argument
[all...]
H A Dledger.c75 printf("Ledger limit exceeded ! ledger=%p lim=%d balance=%d\n",
100 ledger_item_t limit,
117 ledger->ledger_limit = limit;
196 * Now transfer the limit for the new ledger from the parent
200 /* Would the existing balance exceed the new limit ? */
239 /* the parent ledger gets back the limit */
268 * Return the ledger limit and balance
273 ledger_item_t *limit)
280 *limit = ledger->ledger_limit;
332 /* Would the existing balance exceed the new limit
99 ledger_allocate( ledger_item_t limit, ledger_t ledger_ledger, ledger_t ledger_parent) argument
270 ledger_read( ledger_t ledger, ledger_item_t *balance, ledger_item_t *limit) argument
[all...]
H A Dpms.h193 extern kern_return_t pmsCPUSetPStateLimit(uint32_t limit);
H A Dtask.c220 * Memory mapped above that limit is handled specially
348 /* Inherit memlock limit from parent */
1616 * Set scheduling policy and parameters, both base and limit, for
1635 * Set scheduling policy and parameters, both base and limit, for
1647 __unused policy_limit_t limit,
1641 task_set_policy( __unused task_t task, __unused processor_set_t pset, __unused policy_t policy_id, __unused policy_base_t base, __unused mach_msg_type_number_t base_count, __unused policy_limit_t limit, __unused mach_msg_type_number_t limit_count, __unused boolean_t change) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Drangelist.c48 off_t limit = 0; local
54 if ((limit > 0) && (entry->rl_start <= limit)) panic("rl_verify: bad entry start?!");
56 limit = entry->rl_end;
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dfbt_ppc.c389 machine_inst_t *instr, *limit, theInstr; local
557 limit = (machine_inst_t *)instrHigh;
576 if (instr >= limit)
591 if (ptr >= (machine_inst_t *)sym[i].n_value && ptr < limit) {
616 for (j = 0; (j < 12) && (instr < limit); j++, instr++) {
H A Ddtrace_isa.c583 dtrace_toxic_ranges(void (*func)(uintptr_t base, uintptr_t limit)) argument
586 * "base" is the smallest toxic address in the range, "limit" is the first
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dfbt_x86.c459 machine_inst_t *instr, *limit, theInstr, i1, i2; local
630 limit = (machine_inst_t *)instrHigh;
655 if ((instr + 1) >= limit)
685 if (instr >= limit)
714 if (check + sizeof (uintptr_t) > (uintptr_t)limit)
719 if (ptr >= (uint8_t *)sym[i].n_value && ptr < limit) {
748 if (instr >= limit)
H A Dfasttrap_isa.c814 uintptr_t limit;
879 limit = USEGD_GETLIMIT(desc) * (desc->usd_gran ? PAGESIZE : 1);
888 if (*addr > limit)
898 * If the expand-down bit is clear, we just check the limit as
900 * that the address is the range [limit + 1 .. 0xffff] or
901 * [limit + 1 ... 0xffffffff] depending on if the default
905 if (*addr > limit)
908 if (*addr < limit + 1 || 0xffff < *addr)
911 if (*addr < limit + 1 || 0xffffffff < *addr)
H A Ddtrace_isa.c632 dtrace_toxic_ranges(void (*func)(uintptr_t base, uintptr_t limit)) argument
635 * "base" is the smallest toxic address in the range, "limit" is the first
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_port.c1736 port_item *limit, *i; local
1738 limit = trackp->items + trackp->max;
1739 for (i = trackp->items; i < limit; ++i)
1762 port_item *limit, *p; local
1766 limit = trackp->items + trackp->max - 1;
1769 for (p = trackp->items; p < limit - 1; ++p) {
1786 port_item *limit, *p; local
1788 limit = trackp->items + trackp->max;
1790 for (p = trackp->items; p < limit; ++p) {
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dubc_subr.c174 uint32_t codeLimit; /* limit to main image signature range */
198 const CS_BlobIndex *limit; local
201 limit = &embedded->index[ntohl(embedded->count)];
202 if (!cs_valid_range(&embedded->index[0], limit,
206 for (p = embedded->index; p < limit; ++p) {
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dlocore.s372 .globl label/**/limit ;\
373 label/**/limit: ;\
377 cmpl $0,label/**/limit ;\
382 cmpl %eax,%ss:label/**/limit ;\
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace.c737 dtrace_strncmp(char *s1, char *s2, size_t limit) argument
742 if (s1 == s2 || limit == 0)
760 } while (--limit && c1 != '\0' && !(*flags & CPU_DTRACE_FAULT));
1789 uint32_t hashval = 0, limit, isstr;
1877 limit = i + act->dta_rec.dtrd_size;
1878 ASSERT(limit <= size);
1881 for (; i < limit; i++) {
1915 limit = i + act->dta_rec.dtrd_size;
1916 ASSERT(limit <= size);
1919 for (; i < limit;
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_map.h925 vm_size_t limit);
H A Dvm_map.c606 result->user_wire_limit = MACH_VM_MAX_ADDRESS; /* default limit is unlimited */
901 * Memory beyond this 51-bit limit is mapped specially at the
1612 * LP64todo - limit purgable objects to 32-bits for now
2887 * Within the scope of this clipping, limit "endaddr" to
3405 * exceeding the user wire limits. There is a per map limit which is the smaller of either
3407 * a system-wide limit on the amount of memory all users can wire. If the user is over either
3408 * limit, then we fail.
11620 * Set the limit on the maximum amount of user wired memory allowed for this map.
11628 vm_size_t limit)
11630 map->user_wire_limit = limit;
11627 vm_map_set_user_wire_limit(vm_map_t map, vm_size_t limit) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/
H A Dzlib.c411 /* Link to older string with same hash index. To limit the size of this
449 * length. A higher limit improves compression ratio but degrades the
1337 IPos limit = s->strstart > (IPos)MAX_DIST(s) ? local
1339 /* Stop when cur_match becomes <= limit. To simplify the code,
1458 } while ((cur_match = prev[cur_match & wmask]) > limit
1570 /* Deal with !@#$% 64K limit: */
4573 z = z > (uInt)l ? l : z; /* table size upper limit */
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dskiplists.s1009 ; To prevent infinite loops, set limit of (pmapCurLists*pmapResidentCnt) iterations.
H A Dhw_vm.s3762 li r20,64 ; Set a limit of 64 nests for sanity check
8048 ; The purpose of the sub-tag is to limit the number of searches necessary when looking

Completed in 185 milliseconds