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

/freebsd-11.0-release/sys/kern/
H A Dkern_descrip.c141 #define NDSLOTS(x) (((x) + NDENTRIES - 1) / NDENTRIES) macro
166 NDSLOTTYPE fd_dmap[NDSLOTS(NDFILE)];
198 for (maxoff = NDSLOTS(size); off < maxoff; ++off)
1559 nnfiles = NDSLOTS(nfd) * NDENTRIES; /* round up */
1585 if (NDSLOTS(nnfiles) > NDSLOTS(onfiles)) {
1586 nmap = malloc(NDSLOTS(nnfiles) * NDSLOTSIZE, M_FILEDESC,
1589 memcpy(nmap, omap, NDSLOTS(onfiles) * sizeof(*omap));
1620 if (NDSLOTS(onfiles) > NDSLOTS(NDFIL
[all...]

Completed in 41 milliseconds