Lines Matching defs:files
153 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable()
198 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files()
383 static struct fdtable *close_files(struct files_struct * files) in close_files()
415 void put_files_struct(struct files_struct *files) in put_files_struct()
429 struct files_struct * files = tsk->files; in exit_files() local
472 struct files_struct *files = current->files; in alloc_fd() local
539 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
549 struct files_struct *files = current->files; in put_unused_fd() local
575 struct files_struct *files = current->files; in fd_install() local
609 static struct file *pick_file(struct files_struct *files, unsigned fd) in pick_file()
635 struct files_struct *files = current->files; in close_fd() local
771 struct files_struct *files = current->files; in __close_fd_get_file() local
798 struct files_struct *files = current->files; in close_fd_get_file() local
808 void do_close_on_exec(struct files_struct *files) in do_close_on_exec()
844 static inline struct file *__fget_files_rcu(struct files_struct *files, in __fget_files_rcu()
899 static struct file *__fget_files(struct files_struct *files, unsigned int fd, in __fget_files()
949 struct files_struct *files; in task_lookup_fd_rcu() local
964 struct files_struct *files; in task_lookup_next_fd_rcu() local
1000 struct files_struct *files = current->files; in __fget_light() local
1053 struct files_struct *files = current->files; in set_close_on_exec() local
1066 struct files_struct *files = current->files; in get_close_on_exec() local
1076 static int do_dup2(struct files_struct *files, in do_dup2()
1123 struct files_struct *files = current->files; in replace_fd() local
1207 struct files_struct *files = current->files; in ksys_dup3() local
1245 struct files_struct *files = current->files; in SYSCALL_DEFINE2() local
1286 int iterate_fd(struct files_struct *files, unsigned n, in iterate_fd()