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

/freebsd-11-stable/sys/kern/
H A Dkern_descrip.c137 #define NDENTRIES (NDSLOTSIZE * __CHAR_BIT) macro
138 #define NDSLOT(x) ((x) / NDENTRIES)
139 #define NDBIT(x) ((NDSLOTTYPE)1 << ((x) % NDENTRIES))
140 #define NDSLOTS(x) (((x) + NDENTRIES - 1) / NDENTRIES)
191 if (low % NDENTRIES) {
192 mask = ~(~(NDSLOTTYPE)0 >> (NDENTRIES - (low % NDENTRIES)));
194 return (off * NDENTRIES + ffsl(mask) - 1);
199 return (off * NDENTRIES
[all...]

Completed in 111 milliseconds