Lines Matching defs:fdt

103 static void __free_fdtable(struct fdtable *fdt)  in __free_fdtable()
118 #define fdt_words(fdt) ((fdt)->max_fds / BITS_PER_LONG) // words in ->open_fds argument
164 struct fdtable *fdt; in alloc_fdtable() local
277 struct fdtable *fdt; in expand_files() local
307 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt, in __set_close_on_exec()
318 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt, bool set) in __set_open_fd()
327 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
335 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open()
349 static unsigned int sane_fdtable_size(struct fdtable *fdt, struct fd_range *punch_hole) in sane_fdtable_size()
466 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files() local
494 struct fdtable *fdt = close_files(files); in put_files_struct() local
529 static unsigned int find_next_fd(struct fdtable *fdt, unsigned int start) in find_next_fd()
560 struct fdtable *fdt; in alloc_fd() local
613 struct fdtable *fdt = files_fdtable(files); in __put_unused_fd() local
640 struct fdtable *fdt; in fd_install() local
679 struct fdtable *fdt = files_fdtable(files); in file_close_fd_locked() local
719 static inline unsigned last_fd(struct fdtable *fdt) in last_fd()
727 struct fdtable *fdt; in __range_cloexec() local
850 struct fdtable *fdt; in do_close_on_exec() local
979 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fget_files_rcu() local
1251 struct fdtable *fdt; in do_dup2() local
1468 struct fdtable *fdt; in iterate_fd() local