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

/freebsd-10-stable/sys/kern/
H A Dkern_descrip.c160 #define NDENTRIES (NDSLOTSIZE * __CHAR_BIT) macro
161 #define NDSLOT(x) ((x) / NDENTRIES)
162 #define NDBIT(x) ((NDSLOTTYPE)1 << ((x) % NDENTRIES))
163 #define NDSLOTS(x) (((x) + NDENTRIES - 1) / NDENTRIES)
211 if (low % NDENTRIES) {
212 mask = ~(~(NDSLOTTYPE)0 >> (NDENTRIES - (low % NDENTRIES)));
214 return (off * NDENTRIES + ffsl(mask) - 1);
219 return (off * NDENTRIES
[all...]

Completed in 102 milliseconds