Lines Matching refs:fdt
31 struct fdtable *fdt; in set_close_on_exec() local
33 fdt = files_fdtable(files); in set_close_on_exec()
35 __set_close_on_exec(fd, fdt); in set_close_on_exec()
37 __clear_close_on_exec(fd, fdt); in set_close_on_exec()
44 struct fdtable *fdt; in get_close_on_exec() local
47 fdt = files_fdtable(files); in get_close_on_exec()
48 res = close_on_exec(fd, fdt); in get_close_on_exec()
58 struct fdtable *fdt; in SYSCALL_DEFINE3() local
91 fdt = files_fdtable(files); in SYSCALL_DEFINE3()
92 tofree = fdt->fd[newfd]; in SYSCALL_DEFINE3()
93 if (!tofree && fd_is_open(newfd, fdt)) in SYSCALL_DEFINE3()
96 rcu_assign_pointer(fdt->fd[newfd], file); in SYSCALL_DEFINE3()
97 __set_open_fd(newfd, fdt); in SYSCALL_DEFINE3()
99 __set_close_on_exec(newfd, fdt); in SYSCALL_DEFINE3()
101 __clear_close_on_exec(newfd, fdt); in SYSCALL_DEFINE3()