Lines Matching defs:files
165 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable()
210 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files()
398 static struct fdtable *close_files(struct files_struct * files) in close_files()
430 void put_files_struct(struct files_struct *files) in put_files_struct()
444 struct files_struct * files = tsk->files; in exit_files() local
487 struct files_struct *files = current->files; in alloc_fd() local
554 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
564 struct files_struct *files = current->files; in put_unused_fd() local
590 struct files_struct *files = current->files; in fd_install() local
628 struct file *file_close_fd_locked(struct files_struct *files, unsigned fd) in file_close_fd_locked()
649 struct files_struct *files = current->files; in close_fd() local
689 static inline void __range_close(struct files_struct *files, unsigned int fd, in __range_close()
786 struct files_struct *files = current->files; in file_close_fd() local
796 void do_close_on_exec(struct files_struct *files) in do_close_on_exec()
923 static inline struct file *__fget_files_rcu(struct files_struct *files, in __fget_files_rcu()
999 static struct file *__fget_files(struct files_struct *files, unsigned int fd, in __fget_files()
1050 struct files_struct *files; in task_lookup_fdget_rcu() local
1065 struct files_struct *files; in task_lookup_next_fdget_rcu() local
1102 struct files_struct *files = current->files; in __fget_light() local
1178 struct files_struct *files = current->files; in set_close_on_exec() local
1198 static int do_dup2(struct files_struct *files, in do_dup2()
1246 struct files_struct *files = current->files; in replace_fd() local
1325 struct files_struct *files = current->files; in ksys_dup3() local
1363 struct files_struct *files = current->files; in SYSCALL_DEFINE2() local
1408 int iterate_fd(struct files_struct *files, unsigned n, in iterate_fd()