Lines Matching defs:fdt
29 struct fdtable *fdt;
31 fdt = files_fdtable(files);
33 FD_SET(fd, fdt->close_on_exec);
35 FD_CLR(fd, fdt->close_on_exec);
42 struct fdtable *fdt;
45 fdt = files_fdtable(files);
46 res = FD_ISSET(fd, fdt->close_on_exec);
63 struct fdtable *fdt;
70 fdt = files_fdtable(files);
73 * orig_start..fdt->next_fd
80 if (start < fdt->max_fds)
81 newfd = find_next_zero_bit(fdt->open_fds->fds_bits,
82 fdt->max_fds, start);
116 struct fdtable *fdt;
123 fdt = files_fdtable(files);
124 FD_SET(fd, fdt->open_fds);
125 FD_CLR(fd, fdt->close_on_exec);
141 struct fdtable *fdt;
167 fdt = files_fdtable(files);
168 tofree = fdt->fd[newfd];
169 if (!tofree && FD_ISSET(newfd, fdt->open_fds))
172 rcu_assign_pointer(fdt->fd[newfd], file);
173 FD_SET(newfd, fdt->open_fds);
174 FD_CLR(newfd, fdt->close_on_exec);