Lines Matching defs:files
232 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable()
268 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files()
454 static struct fdtable *close_files(struct files_struct * files) in close_files()
486 void put_files_struct(struct files_struct *files) in put_files_struct()
500 struct files_struct * files = tsk->files; in exit_files() local
552 struct files_struct *files = current->files; in alloc_fd() local
605 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
615 struct files_struct *files = current->files; in put_unused_fd() local
641 struct files_struct *files = current->files; in fd_install() local
679 struct file *file_close_fd_locked(struct files_struct *files, unsigned fd) in file_close_fd_locked()
700 struct files_struct *files = current->files; in close_fd() local
740 static inline void __range_close(struct files_struct *files, unsigned int fd, in __range_close()
839 struct files_struct *files = current->files; in file_close_fd() local
849 void do_close_on_exec(struct files_struct *files) in do_close_on_exec()
976 static inline struct file *__fget_files_rcu(struct files_struct *files, in __fget_files_rcu()
1052 static struct file *__fget_files(struct files_struct *files, unsigned int fd, in __fget_files()
1096 struct files_struct *files; in fget_task_next() local
1142 struct files_struct *files = current->files; in __fget_light() local
1218 struct files_struct *files = current->files; in set_close_on_exec() local
1233 static int do_dup2(struct files_struct *files, in do_dup2()
1269 struct files_struct *files = current->files; in replace_fd() local
1348 struct files_struct *files = current->files; in ksys_dup3() local
1386 struct files_struct *files = current->files; in SYSCALL_DEFINE2() local
1431 int iterate_fd(struct files_struct *files, unsigned n, in iterate_fd()