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

12

/darwin-on-arm/xnu/osfmk/arm64/
H A Dmemcmp.s39 #define limit x2 define
63 cbz limit, .Lret0
69 add limit_wd, limit, #7
82 /* Not reached the limit, must have found a diff. */
86 ands limit, limit, #7
89 lsl limit, limit, #3 /* Bits -> bytes. */
92 lsr mask, mask, limit
94 lsl mask, mask, limit
[all...]
/darwin-on-arm/xnu/osfmk/kern/
H A Dmk_sp.c162 * Set scheduling policy and parameters, both base and limit, for
173 policy_limit_t limit,
190 policy_rr_limit_t rr_limit = (policy_rr_limit_t) limit;
211 policy_fifo_limit_t fifo_limit = (policy_fifo_limit_t) limit;
233 (policy_timeshare_limit_t) limit;
272 * Set scheduling policy and parameters, both base and limit, for
286 policy_limit_t limit = NULL; local
322 limit = (policy_limit_t) &rr_limit;
339 limit = (policy_limit_t) &fifo_limit;
356 limit
167 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.h101 ledger_amount_t limit);
H A Dpms.h183 extern kern_return_t pmsCPUSetPStateLimit(uint32_t limit);
H A Dledger.c440 * Determine whether an entry has exceeded its limit.
581 * We've exceeded the limit for this entry. There
597 * The balance on the account is below the limit. If
633 * Adjust the limit of a limited resource. This does not affect the
638 ledger_set_limit(ledger_t ledger, int entry, ledger_amount_t limit) argument
645 lprintf(("ledger_set_limit: %x\n", (uint32_t)limit));
647 le->le_limit = limit;
707 * again when the limit is next exceeded.
812 * CPU limit.
817 * Task has a per-thread CPU limit o
1064 int64_t limit; local
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Drangelist.c49 off_t limit = 0; local
52 if ((limit > 0) && (entry->rl_start <= limit)) panic("hfs: rl_verify: bad entry start?!");
54 limit = entry->rl_end;
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dfbt_x86.c672 machine_inst_t *instr, *limit, theInstr, i1, i2; local
694 limit = (machine_inst_t *)instrHigh;
719 if ((instr + 1) >= limit)
813 if (instr >= limit)
842 if (check + sizeof (uintptr_t) > (uintptr_t)limit)
847 if (ptr >= (uint8_t *)symbolStart && ptr < limit) {
876 if (instr >= limit)
1188 machine_inst_t *instr, *limit, theInstr, i1, i2, i3; local
1211 limit = (machine_inst_t *)instrHigh;
1239 if ((instr + 1) >= limit)
[all...]
H A Dfasttrap_isa.c835 uintptr_t limit;
900 limit = USEGD_GETLIMIT(desc) * (desc->usd_gran ? PAGESIZE : 1);
909 if (*addr > limit)
919 * If the expand-down bit is clear, we just check the limit as
921 * that the address is the range [limit + 1 .. 0xffff] or
922 * [limit + 1 ... 0xffffffff] depending on if the default
926 if (*addr > limit)
929 if (*addr < limit + 1 || 0xffff < *addr)
932 if (*addr < limit + 1 || 0xffffffff < *addr)
H A Ddtrace_isa.c850 dtrace_toxic_ranges(void (*func)(uintptr_t base, uintptr_t limit)) argument
853 * "base" is the smallest toxic address in the range, "limit" is the first
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dlibmicro.h195 int setfdlimit(int limit);
H A Dlibmicro.c1073 setfdlimit(int limit) argument
1082 if (rlimit.rlim_cur > limit)
1085 rlimit.rlim_cur = limit;
1087 if (rlimit.rlim_max < limit)
1088 rlimit.rlim_max = limit;
/darwin-on-arm/xnu/osfmk/mach/
H A Dthread_act.defs331 limit : policy_limit_t);
H A Dtask.defs392 limit : policy_limit_t;
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_subr.c273 ifclassq_dequeue(struct ifclassq *ifq, u_int32_t limit, struct mbuf **head, argument
276 return (ifclassq_dequeue_common(ifq, MBUF_SC_UNSPEC, limit, head, tail,
282 u_int32_t limit, struct mbuf **head, struct mbuf **tail, u_int32_t *cnt,
285 return (ifclassq_dequeue_common(ifq, sc, limit, head, tail,
291 u_int32_t limit, struct mbuf **head, struct mbuf **tail, u_int32_t *cnt,
311 while (i < limit) {
281 ifclassq_dequeue_sc(struct ifclassq *ifq, mbuf_svc_class_t sc, u_int32_t limit, struct mbuf **head, struct mbuf **tail, u_int32_t *cnt, u_int32_t *len) argument
290 ifclassq_dequeue_common(struct ifclassq *ifq, mbuf_svc_class_t sc, u_int32_t limit, struct mbuf **head, struct mbuf **tail, u_int32_t *cnt, u_int32_t *len, boolean_t drvmgt) argument
/darwin-on-arm/xnu/bsd/vm/
H A Dvnode_pager.c115 vnode_pager_return_hard_throttle_limit(struct vnode *vp, uint32_t *limit, uint32_t hard_throttle) argument
117 return(cluster_hard_throttle_limit(vp, limit, hard_throttle));
/darwin-on-arm/xnu/osfmk/mach/arm/
H A Dthread_act.h375 policy_limit_t limit,
717 integer_t limit[1]; member in struct:__anon1201
H A Dtask.h494 policy_limit_t limit,
982 integer_t limit[1]; member in struct:__anon1138
/darwin-on-arm/xnu/osfmk/i386/
H A Dmp_desc.c295 * bytes 4..5 limit 15..0
296 * byte 6 access byte 2 | limit 19..16
300 * bytes 0..1 limit 15..0
304 * byte 6 access byte 2 | limit 19..16
345 uint16_t limit; local
349 limit = *((uint16_t*)(desc+4));
353 *((uint16_t*)(desc)) = limit;
681 * Refer to commpage/cpu_number.s for the IDT limit trick.
/darwin-on-arm/xnu/bsd/kern/
H A Dubc_subr.c195 uint32_t codeLimit; /* limit to main image signature range */
221 const CS_BlobIndex *limit; local
224 limit = &embedded->index[ntohl(embedded->count)];
225 if (!cs_valid_range(&embedded->index[0], limit,
229 for (p = embedded->index; p < limit; ++p) {
H A Dkern_credential.c1174 * if it pushes us over our limit, discard the oldest one.
3888 int limit = NGROUPS; local
3894 * and limit the returned list to that size.
3897 limit = MIN(*countp, cred->cr_posix.cr_ngroups);
3898 *countp = limit;
3901 memcpy(grouplist, cred->cr_posix.cr_groups, sizeof(gid_t) * limit);
H A Dpthread_synch.c1154 uint32_t limit; local
1156 * set up the limit for the constrained pool
1160 limit = num_cpus * (WORKQUEUE_NUMPRIOS + 1);
1162 if (limit > wq_max_constrained_threads)
1163 wq_max_constrained_threads = limit;
1315 * we're at the max thread limit... as existing threads
1630 * no work to do, or we're already at or over the scheduling limit for
1633 * we'll check again when new work arrives... if we're over the limit, we need 1 or more
/darwin-on-arm/xnu/bsd/net/
H A Ddlil.c443 /* rate limit debug messages */
903 u_int32_t limit; local
944 limit = MAX(if_rcvq_maxlen, IF_RCVQ_MINLEN);
947 limit = (u_int32_t)-1;
950 _qinit(&inp->rcvq_pkts, Q_DROPTAIL, limit);
954 _qinit(&inpm->lo_rcvq_pkts, Q_DROPTAIL, limit);
2581 ifnet_dequeue_multi(struct ifnet *ifp, u_int32_t limit, struct mbuf **head, argument
2584 if (ifp == NULL || head == NULL || limit < 1)
2590 return (ifclassq_dequeue(&ifp->if_snd, limit, head, tail, cnt, len));
2595 u_int32_t limit, struc
2594 ifnet_dequeue_service_class_multi(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t limit, struct mbuf **head, struct mbuf **tail, u_int32_t *cnt, u_int32_t *len) argument
[all...]
H A Dpf_ioctl.c472 pf_pool_limits[PF_LIMIT_STATES].limit, NULL, 0);
475 pf_pool_limits[PF_LIMIT_TABLE_ENTRIES].limit =
3921 pl->limit = pf_pool_limits[pl->index].limit;
3934 pl->limit, NULL, 0);
3935 old_limit = pf_pool_limits[pl->index].limit;
3936 pf_pool_limits[pl->index].limit = pl->limit;
3937 pl->limit = old_limit;
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace.c1011 dtrace_strncmp(char *s1, char *s2, size_t limit) argument
1016 if (s1 == s2 || limit == 0)
1036 } while (--limit && c1 != '\0' && !(*flags & CPU_DTRACE_FAULT));
2194 uint32_t hashval = 0, limit, isstr;
2282 limit = i + act->dta_rec.dtrd_size;
2283 ASSERT(limit <= size);
2286 for (; i < limit; i++) {
2320 limit = i + act->dta_rec.dtrd_size;
2321 ASSERT(limit <= size);
2324 for (; i < limit;
[all...]
/darwin-on-arm/xnu/osfmk/vm/
H A Dbsd_vm.c670 uint32_t *limit,
680 (void)vnode_pager_return_hard_throttle_limit(vnode_object->vnode_handle, limit, hard_throttle);
668 vnode_pager_check_hard_throttle( memory_object_t mem_obj, uint32_t *limit, uint32_t hard_throttle) argument

Completed in 287 milliseconds

12