Lines Matching refs:fdt
860 struct fdtable *fdt;
866 fdt = files_fdtable(files);
867 fd = find_next_zero_bit(fdt->open_fds->fds_bits, fdt->max_fds,
891 FD_SET(fd, fdt->open_fds);
892 FD_CLR(fd, fdt->close_on_exec);
895 if (fdt->fd[fd] != NULL) {
897 fdt->fd[fd] = NULL;
910 struct fdtable *fdt = files_fdtable(files);
911 __FD_CLR(fd, fdt->open_fds);
942 struct fdtable *fdt;
944 fdt = files_fdtable(files);
945 BUG_ON(fdt->fd[fd] != NULL);
946 rcu_assign_pointer(fdt->fd[fd], file);
1048 struct fdtable *fdt;
1052 fdt = files_fdtable(files);
1053 if (fd >= fdt->max_fds)
1055 filp = fdt->fd[fd];
1058 rcu_assign_pointer(fdt->fd[fd], NULL);
1059 FD_CLR(fd, fdt->close_on_exec);