Searched refs:maxfd (Results 1 – 8 of 8) sorted by relevance
63 if (fd < fdt->maxfd) in _fdt_slot_expand()84 for (index = fdt->maxfd; index < nr; index++) in _fdt_slot_expand()89 fdt->maxfd = nr; in _fdt_slot_expand()118 idx = fdt->maxfd; in _fdt_slot_alloc()352 if (fd < fdt->maxfd) in fdt_fd_release()385 if (fd < 0 || fd >= (int)fdt->maxfd) in fdt_get_file()431 if ((fd < 0) || (fd >= fdt->maxfd)) in fdt_fd_associate_file()681 if ((oldfd < 0) || (oldfd >= fdt->maxfd)) in dfs_dup()729 if ((oldfd < 0) || (oldfd >= fdt->maxfd)) in dfs_dup_to()858 if ((oldfd < 0) || (oldfd >= fdt->maxfd)) in sys_dup2()[all …]
190 if (fd < fdt->maxfd) in fd_slot_expand()218 for (index = fdt->maxfd; index < nr; index++) in fd_slot_expand()225 fdt->maxfd = nr; in fd_slot_expand()244 for (idx = startfd; idx < (int)fdt->maxfd; idx++) in fd_slot_alloc()252 idx = fdt->maxfd; in fd_slot_alloc()347 if (fd < 0 || fd >= (int)fdt->maxfd) in fdt_fd_get()392 if ((fd < 0) || (fd >= fdt->maxfd)) in fdt_fd_release()459 if ((oldfd < 0) || (oldfd >= fdt->maxfd)) in sys_dup()569 if ((oldfd < 0) || (oldfd >= fdt->maxfd)) in sys_dup2()581 if (newfd >= fdt->maxfd) in sys_dup2()[all …]
74 uint32_t maxfd; member
108 uint32_t maxfd; member
223 for (int i = 0; i < table->maxfd; i++) in proc_pid_fd_lookup()291 for (int i = 0; i < table->maxfd; i++) in proc_pid_fd_getdents()
216 lwp_fdt->maxfd = 4; in lwp_execve_setup_stdio()
3532 dst_fdt->fds = rt_calloc(src_fdt->maxfd, sizeof(void *)); in lwp_copy_files()3538 dst_fdt->maxfd = src_fdt->maxfd; in lwp_copy_files()3542 for (i = 0; i < src_fdt->maxfd; i++) in lwp_copy_files()8357 krlim[0] = fdt->maxfd; in sys_getrlimit()
268 int fd = lwp->fdt.maxfd - 1; in __exit_files()
Completed in 28 milliseconds