Searched refs:NDSLOT (Results 1 – 2 of 2) sorted by relevance
59 #define NDSLOT(x) ((x) / NDENTRIES) macro
150 #define NDSLOT(x) ((x) / NDENTRIES) macro 214 off = NDSLOT(low); in fd_first_free() 239 off = NDSLOT(fdp->fd_nfiles - 1); in fdlastfile_single() 240 for (minoff = NDSLOT(0); off >= minoff; --off) in fdlastfile_single() 261 return ((fdp->fd_map[NDSLOT(fd)] & NDBIT(fd)) != 0); in fdisused() 273 fdp->fd_map[NDSLOT(fd)] |= NDBIT(fd); in fdused_init() 300 fdp->fd_map[NDSLOT(fd)] &= ~NDBIT(fd); in fdunused() 4344 off = NDSLOT(fdp->fd_nfiles - 1); in filedesc_nfiles() 4345 for (minoff = NDSLOT(0); off >= minoff; --off) in filedesc_nfiles()