Lines Matching defs:lim
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;
254 lim = p->p_rlimit[RLIMIT_NOFILE].rlim_cur;
256 last = min(fdp->fd_nfiles, lim);
267 if (fdp->fd_nfiles < lim)
268 freefd += (lim - fdp->fd_nfiles);
270 VFSATTR_RETURN(fsap, f_objcount, lim+1);
271 VFSATTR_RETURN(fsap, f_maxobjcount, lim+1);
272 VFSATTR_RETURN(fsap, f_files, lim+1);