Lines Matching defs:fdt
34 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable()
49 #define fdt_words(fdt) ((fdt)->max_fds / BITS_PER_LONG) // words in ->open_fds argument
103 struct fdtable *fdt; in alloc_fdtable() local
214 struct fdtable *fdt; in expand_files() local
245 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt) in __set_close_on_exec()
250 static inline void __clear_close_on_exec(unsigned int fd, struct fdtable *fdt) in __clear_close_on_exec()
256 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt) in __set_open_fd()
264 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
279 static unsigned int sane_fdtable_size(struct fdtable *fdt, struct fd_range *punch_hole) in sane_fdtable_size()
400 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files() local
428 struct fdtable *fdt = close_files(files); in put_files_struct() local
463 static unsigned int find_next_fd(struct fdtable *fdt, unsigned int start) in find_next_fd()
485 struct fdtable *fdt; in alloc_fd() local
551 struct fdtable *fdt = files_fdtable(files); in __put_unused_fd() local
586 struct fdtable *fdt; in fd_install() local
620 struct fdtable *fdt = files_fdtable(files); in pick_file() local
658 static inline unsigned last_fd(struct fdtable *fdt) in last_fd()
666 struct fdtable *fdt; in __range_cloexec() local
792 struct fdtable *fdt; in do_close_on_exec() local
830 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fget_files_rcu() local
1052 struct fdtable *fdt; in set_close_on_exec() local
1065 struct fdtable *fdt; in get_close_on_exec() local
1079 struct fdtable *fdt; in do_dup2() local
1289 struct fdtable *fdt; in iterate_fd() local