Searched refs:numfiles (Results 1 – 1 of 1) sorted by relevance
1181 int last, numfiles, oldnfiles; in fdalloc() local1225 numfiles = NDEXTENT; in fdalloc()1227 numfiles = 2 * fdp->fd_nfiles; in fdalloc()1230 if ((rlim_t)numfiles > lim) { in fdalloc()1231 numfiles = (int)lim; in fdalloc()1234 newofiles = kalloc_type(struct fileproc *, numfiles, Z_WAITOK | Z_ZERO); in fdalloc()1235 newofileflags = kalloc_data(numfiles, Z_WAITOK | Z_ZERO); in fdalloc()1238 kfree_type(struct fileproc *, numfiles, newofiles); in fdalloc()1239 kfree_data(newofileflags, numfiles); in fdalloc()1242 if (fdp->fd_nfiles >= numfiles) { in fdalloc()[all …]