Searched refs:lim (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/libkern/c++/
H A DOSSymbol.cpp614 unsigned int lim; local
616 for (lim = arrayCount; lim; lim >>= 1)
618 p = (typeof(p)) (((uintptr_t) array) + (baseIdx + (lim >> 1)) * memberSize);
621 return (baseIdx + (lim >> 1));
626 baseIdx += (lim >> 1) + 1;
627 lim--;
632 return (baseIdx + (lim >> 1));
/darwin-on-arm/xnu/osfmk/i386/
H A Dseg.h147 #define MAKE_REAL_DESCRIPTOR(base,lim,gran,acc) { \
148 .limit_low = lim & 0xffff, \
149 .limit_high = (lim >> 16) & 0xf, \
/darwin-on-arm/xnu/bsd/net/
H A Dradix.c188 caddr_t lim, lim2 = lim = n + *(u_char *)n; local
193 lim -= longer;
194 while (n < lim) {
561 u_char *mp = m_arg, *np = n_arg, *lim; local
566 for (lim = mp + *mp; mp < lim;)
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq.c84 _qinit(class_queue_t *q, int type, int lim) argument
87 qlimit(q) = lim;
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dfbt_x86.c247 register size_t lim; local
251 for (lim = nmemb; lim != 0; lim >>= 1) {
252 p = base + (lim >> 1) * size;
258 lim--;
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6.c409 u_char *lim = lim0, *p; local
413 lim = (u_char *)mask + sizeof(*mask);
414 for (p = (u_char *)mask; p < lim; x++, p++) {
419 if (p < lim) {
430 if (p < lim) {
433 for (p = p + 1; p < lim; p++)
2864 u_char *lim = s + 16, r; local
2866 while (s < lim)
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_resource.c921 struct rlimit lim; local
931 proc_limitget(p, uap->which, &lim);
932 return (copyout((caddr_t)&lim,
H A Dkern_descrip.c2761 int lim, last, numfiles, oldnfiles; local
2774 lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
2776 last = min(fdp->fd_nfiles, lim);
2794 if (fdp->fd_nfiles >= lim)
2800 /* Enforce lim */
2801 if (numfiles > lim)
2802 numfiles = lim;
2863 int i, lim; local
2865 lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
2866 if ((i = lim
[all...]
H A Dsys_generic.c961 static int seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount);
1724 * lim Limit to number of vector entries to
1741 seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount) argument
1776 if ((fromselcount != 0) && (++dropcount > lim))
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace.c1046 dtrace_strlen(const char *s, size_t lim) argument
1050 for (len = 0; len != lim; len++) {
3871 int rval = 0, lim = nprocs;
3873 while(p && (lim-- > 0)) {

Completed in 114 milliseconds