Lines Matching refs:fdtable

47 static void __free_fdtable(struct fdtable *fdt)  in __free_fdtable()
56 __free_fdtable(container_of(rcu, struct fdtable, rcu)); in free_fdtable_rcu()
63 static void copy_fdtable(struct fdtable *nfdt, struct fdtable *ofdt) in copy_fdtable()
82 static struct fdtable * alloc_fdtable(unsigned int nr) in alloc_fdtable()
84 struct fdtable *fdt; in alloc_fdtable()
108 fdt = kmalloc(sizeof(struct fdtable), GFP_KERNEL); in alloc_fdtable()
146 struct fdtable *new_fdt, *cur_fdt; in expand_fdtable()
189 struct fdtable *fdt; in expand_files()
205 static inline void __set_close_on_exec(int fd, struct fdtable *fdt) in __set_close_on_exec()
210 static inline void __clear_close_on_exec(int fd, struct fdtable *fdt) in __clear_close_on_exec()
215 static inline void __set_open_fd(int fd, struct fdtable *fdt) in __set_open_fd()
220 static inline void __clear_open_fd(int fd, struct fdtable *fdt) in __clear_open_fd()
225 static int count_open_files(struct fdtable *fdt) in count_open_files()
249 struct fdtable *old_fdt, *new_fdt; in dup_fd()
349 static struct fdtable *close_files(struct files_struct * files) in close_files()
356 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files()
397 struct fdtable *fdt = close_files(files); in put_files_struct()
450 struct fdtable *fdt; in __alloc_fd()
516 struct fdtable *fdt = files_fdtable(files); in __put_unused_fd()
555 struct fdtable *fdt; in __fd_install()
576 struct fdtable *fdt; in __close_fd()
599 struct fdtable *fdt; in do_close_on_exec()
728 struct fdtable *fdt; in set_close_on_exec()
741 struct fdtable *fdt; in get_close_on_exec()
755 struct fdtable *fdt; in do_dup2()
897 struct fdtable *fdt; in iterate_fd()