Searched refs:numfiles (Results 1 – 2 of 2) sorted by relevance
1189 int last, numfiles, oldnfiles; in fdalloc() local1233 numfiles = NDEXTENT; in fdalloc()1235 numfiles = 2 * fdp->fd_nfiles; in fdalloc()1238 if ((rlim_t)numfiles > lim) { in fdalloc()1239 numfiles = (int)lim; in fdalloc()1246 kfree_type(struct fileproc *, numfiles, newofiles); in fdalloc()1247 kfree_data(newofileflags, numfiles); in fdalloc()1250 if (fdp->fd_nfiles >= numfiles) { in fdalloc()1251 kfree_type(struct fileproc *, numfiles, newofiles); in fdalloc()1252 kfree_data(newofileflags, numfiles); in fdalloc()[all …]
308 int numfiles = p->p_fd.fd_nfiles; in devfs_devfd_lookup() local334 if (fd < 0 || fd >= numfiles || in devfs_devfd_lookup()