Lines Matching defs:fdt
34 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable()
107 struct fdtable *fdt; in alloc_fdtable() local
218 struct fdtable *fdt; in expand_files() local
249 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt) in __set_close_on_exec()
254 static inline void __clear_close_on_exec(unsigned int fd, struct fdtable *fdt) in __clear_close_on_exec()
260 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt) in __set_open_fd()
268 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
274 static unsigned int count_open_files(struct fdtable *fdt) in count_open_files()
301 static unsigned int sane_fdtable_size(struct fdtable *fdt, unsigned int max_fds) in sane_fdtable_size()
419 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files() local
447 struct fdtable *fdt = close_files(files); in put_files_struct() local
482 static unsigned int find_next_fd(struct fdtable *fdt, unsigned int start) in find_next_fd()
504 struct fdtable *fdt; in alloc_fd() local
570 struct fdtable *fdt = files_fdtable(files); in __put_unused_fd() local
605 struct fdtable *fdt; in fd_install() local
639 struct fdtable *fdt = files_fdtable(files); in pick_file() local
677 static inline unsigned last_fd(struct fdtable *fdt) in last_fd()
685 struct fdtable *fdt; in __range_cloexec() local
823 struct fdtable *fdt; in do_close_on_exec() local
861 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fget_files_rcu() local
1083 struct fdtable *fdt; in set_close_on_exec() local
1096 struct fdtable *fdt; in get_close_on_exec() local
1110 struct fdtable *fdt; in do_dup2() local
1319 struct fdtable *fdt; in iterate_fd() local