Searched refs:fd_nfiles (Results 1 – 6 of 6) sorted by relevance
133 #define fd_nfiles fd_files->fdt_nfiles macro295 if (__predict_false((u_int)fd >= fdp->fd_nfiles)) in fget_locked()308 if (__predict_false((u_int)fd >= fdp->fd_nfiles)) in fdeget_locked()
227 off = NDSLOT(fdp->fd_nfiles - 1); in fdlastfile_single()246 KASSERT(fd >= 0 && fd < fdp->fd_nfiles, in fdisused()941 if (new >= fdp->fd_nfiles) { in kern_dup()1787 nfd1 = fdp->fd_nfiles * 2; in fdgrowtable_exp()1809 onfiles = fdp->fd_nfiles; in fdgrowtable()2157 if (*lastfile < newfdp->fd_nfiles) in fdinit()2557 if (fdp->fd_nfiles > NDFILE) in fdescfree_fds()2657 MPASS(fdp->fd_nfiles >= 3); in fdsetugidsafety()2740 MPASS(fdp->fd_nfiles >= 3); in fdcheckstd()4101 off = NDSLOT(fdp->fd_nfiles - 1); in sysctl_kern_proc_nfds()[all …]
367 KASSERT(fd >= 0 && fd < fdp->fd_nfiles, in cap_ioctl_check()570 KASSERT(fd >= 0 && fd < fdp->fd_nfiles, in cap_fcntl_check()
1235 if (datalen >= ARG_MAX || fdslen >= ofdp->fd_nfiles) in exec_copyin_data_fds()
1089 lf = fdp->fd_nfiles; in kern_select()
2487 for (i = 0; i < fdp->fd_nfiles; ++i) { in mq_proc_exit()