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

/freebsd-11-stable/sys/kern/
H A Dkern_descrip.c140 #define NDSLOTS(x) (((x) + NDENTRIES - 1) / NDENTRIES) macro
165 NDSLOTTYPE fd_dmap[NDSLOTS(NDFILE)];
197 for (maxoff = NDSLOTS(size); off < maxoff; ++off)
1574 nnfiles = NDSLOTS(nfd) * NDENTRIES; /* round up */
1600 if (NDSLOTS(nnfiles) > NDSLOTS(onfiles)) {
1601 nmap = malloc(NDSLOTS(nnfiles) * NDSLOTSIZE, M_FILEDESC,
1604 memcpy(nmap, omap, NDSLOTS(onfiles) * sizeof(*omap));
1635 if (NDSLOTS(onfiles) > NDSLOTS(NDFIL
[all...]

Completed in 49 milliseconds