Lines Matching defs:fdt
31 struct fdtable *fdt;
33 fdt = files_fdtable(files);
35 FD_SET(fd, fdt->close_on_exec);
37 FD_CLR(fd, fdt->close_on_exec);
44 struct fdtable *fdt;
47 fdt = files_fdtable(files);
48 res = FD_ISSET(fd, fdt->close_on_exec);
58 struct fdtable *fdt;
91 fdt = files_fdtable(files);
92 tofree = fdt->fd[newfd];
93 if (!tofree && FD_ISSET(newfd, fdt->open_fds))
96 rcu_assign_pointer(fdt->fd[newfd], file);
97 FD_SET(newfd, fdt->open_fds);
99 FD_SET(newfd, fdt->close_on_exec);
101 FD_CLR(newfd, fdt->close_on_exec);