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

/xnu-2422.115.4/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, \
/xnu-2422.115.4/libkern/c++/
H A DOSSymbol.cpp621 unsigned int lim; local
623 for (lim = arrayCount; lim; lim >>= 1)
625 p = (typeof(p)) (((uintptr_t) array) + (baseIdx + (lim >> 1)) * memberSize);
628 return (baseIdx + (lim >> 1));
633 baseIdx += (lim >> 1) + 1;
634 lim--;
639 return (baseIdx + (lim >> 1));
/xnu-2422.115.4/bsd/dev/i386/
H A Dfbt_x86.c245 register size_t lim; local
249 for (lim = nmemb; lim != 0; lim >>= 1) {
250 p = base + (lim >> 1) * size;
256 lim--;
/xnu-2422.115.4/bsd/net/
H A Dradix.c184 caddr_t lim, lim2 = lim = n + *(u_char *)n; local
189 lim -= longer;
190 while (n < lim) {
557 u_char *mp = m_arg, *np = n_arg, *lim; local
562 for (lim = mp + *mp; mp < lim;)
/xnu-2422.115.4/bsd/net/classq/
H A Dclassq.c84 _qinit(class_queue_t *q, int type, int lim) argument
87 qlimit(q) = lim;
/xnu-2422.115.4/bsd/kern/
H A Dkern_resource.c934 struct rlimit lim; local
944 proc_limitget(p, uap->which, &lim);
945 return (copyout((caddr_t)&lim,
H A Dkern_descrip.c2956 int lim, last, numfiles, oldnfiles; local
2969 lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
2971 last = min(fdp->fd_nfiles, lim);
2989 if (fdp->fd_nfiles >= lim)
2995 /* Enforce lim */
2996 if (numfiles > lim)
2997 numfiles = lim;
3058 int i, lim; local
3060 lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
3061 if ((i = lim
[all...]
H A Dsys_generic.c930 static int seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount);
1695 * lim Limit to number of vector entries to
1712 seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount) argument
1747 if ((fromselcount != 0) && (++dropcount > lim))
/xnu-2422.115.4/bsd/netinet6/
H A Din6.c441 u_char *lim = lim0, *p; local
445 lim = (u_char *)mask + sizeof (*mask);
446 for (p = (u_char *)mask; p < lim; x++, p++) {
451 if (p < lim) {
462 if (p < lim) {
465 for (p = p + 1; p < lim; p++)
3216 u_char *lim = s + 16, r; local
3218 while (s < lim)
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace.c987 dtrace_strlen(const char *s, size_t lim) argument
991 for (len = 0; len != lim; len++) {
3889 int rval = 0, lim = nprocs;
3891 while(p && (lim-- > 0)) {

Completed in 101 milliseconds