Searched refs:lim (Results 1 - 9 of 9) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | bsearch.c | 71 * divide the work in half by moving either left or right. If lim 72 * is odd, moving left simply involves halving lim: e.g., when lim 73 * is 5 we look at item 2, so we change lim to 2 so that we will 74 * look at items 0 & 1. If lim is even, the same applies. If lim 75 * is odd, moving right again involes halving lim, this time moving 76 * the base up one item past p: e.g., when lim is 5 we change base 77 * to item 3 and make lim 2 so that we will look at items 3 and 4. 78 * If lim i 92 register size_t lim; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fdesc/ |
H A D | fdesc_vfsops.c | 186 int lim; 197 lim = p->p_rlimit[RLIMIT_NOFILE].rlim_cur; 199 last = min(fdp->fd_nfiles, lim); 210 if (fdp->fd_nfiles < lim) 211 freefd += (lim - fdp->fd_nfiles); 219 sbp->f_files = (uint64_t)((unsigned long)(lim + 1)); /* Allow for "." */ 243 int lim; local 254 lim = p->p_rlimit[RLIMIT_NOFILE].rlim_cur; 256 last = min(fdp->fd_nfiles, lim); 267 if (fdp->fd_nfiles < lim) [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | fbt_ppc.c | 192 register size_t lim; local 196 for (lim = nmemb; lim != 0; lim >>= 1) { 197 p = base + (lim >> 1) * size; 203 lim--;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | fbt_x86.c | 224 register size_t lim; local 228 for (lim = nmemb; lim != 0; lim >>= 1) { 229 p = base + (lim >> 1) * size; 235 lim--;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | radix.c | 189 caddr_t lim, lim2 = lim = n + *(u_char *)n; local 194 lim -= longer; 195 while (n < lim) { 562 u_char *mp = m_arg, *np = n_arg, *lim; local 567 for (lim = mp + *mp; mp < lim;)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6.c | 356 u_char *lim = lim0, *p; local 360 lim = (u_char *)mask + sizeof(*mask); 361 for (p = (u_char *)mask; p < lim; x++, p++) { 366 if (p < lim) { 377 if (p < lim) { 380 for (p = p + 1; p < lim; p++) 2176 u_char *lim = s + 16, r; local 2178 while (s < lim)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_descrip.c | 2230 int lim, last, numfiles, oldnfiles; local 2243 lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles); 2245 last = min(fdp->fd_nfiles, lim); 2263 if (fdp->fd_nfiles >= lim) 2269 /* Enforce lim */ 2270 if (numfiles > lim) 2271 numfiles = lim; 2332 int i, lim; local 2334 lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles); 2335 if ((i = lim [all...] |
H A D | kern_resource.c | 822 struct rlimit lim; local 832 proc_limitget(p, uap->which, &lim); 833 return (copyout((caddr_t)&lim,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace.c | 770 dtrace_strlen(const char *s, size_t lim) argument 774 for (len = 0; len != lim; len++) 3245 int rval = 0, lim = nprocs; 3247 while(p && (lim-- > 0)) {
|
Completed in 97 milliseconds