Searched refs:NDSLOT (Results 1 – 2 of 2) sorted by relevance
59 #define NDSLOT(x) ((x) / NDENTRIES) macro
150 #define NDSLOT(x) ((x) / NDENTRIES) macro214 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()4350 off = NDSLOT(fdp->fd_nfiles - 1); in sysctl_kern_proc_nfds()4351 for (minoff = NDSLOT(0); off >= minoff; --off) in sysctl_kern_proc_nfds()