Searched refs:NDSLOT (Results 1 – 1 of 1) sorted by relevance
150 #define NDSLOT(x) ((x) / NDENTRIES) macro202 off = NDSLOT(low); in fd_first_free()227 off = NDSLOT(fdp->fd_nfiles - 1); in fdlastfile_single()228 for (minoff = NDSLOT(0); off >= minoff; --off) in fdlastfile_single()249 return ((fdp->fd_map[NDSLOT(fd)] & NDBIT(fd)) != 0); in fdisused()261 fdp->fd_map[NDSLOT(fd)] |= NDBIT(fd); in fdused_init()288 fdp->fd_map[NDSLOT(fd)] &= ~NDBIT(fd); in fdunused()4101 off = NDSLOT(fdp->fd_nfiles - 1); in sysctl_kern_proc_nfds()4102 for (minoff = NDSLOT(0); off >= minoff; --off) in sysctl_kern_proc_nfds()