Lines Matching defs:files
151 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable()
196 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files()
381 static struct fdtable *close_files(struct files_struct * files) in close_files()
415 struct files_struct *files; in get_files_struct() local
426 void put_files_struct(struct files_struct *files) in put_files_struct()
438 void reset_files_struct(struct files_struct *files) in reset_files_struct()
452 struct files_struct * files = tsk->files; in exit_files() local
493 int __alloc_fd(struct files_struct *files, in __alloc_fd()
567 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
577 struct files_struct *files = current->files; in put_unused_fd() local
605 void __fd_install(struct files_struct *files, unsigned int fd, in __fd_install()
640 static struct file *pick_file(struct files_struct *files, unsigned fd) in pick_file()
663 int __close_fd(struct files_struct *files, unsigned fd) in __close_fd()
760 struct files_struct *files = current->files; in __close_fd_get_file() local
784 void do_close_on_exec(struct files_struct *files) in do_close_on_exec()
820 static struct file *__fget_files(struct files_struct *files, unsigned int fd, in __fget_files()
900 struct files_struct *files = current->files; in __fget_light() local
953 struct files_struct *files = current->files; in set_close_on_exec() local
966 struct files_struct *files = current->files; in get_close_on_exec() local
976 static int do_dup2(struct files_struct *files, in do_dup2()
1023 struct files_struct *files = current->files; in replace_fd() local
1102 struct files_struct *files = current->files; in ksys_dup3() local
1140 struct files_struct *files = current->files; in SYSCALL_DEFINE2() local
1180 int iterate_fd(struct files_struct *files, unsigned n, in iterate_fd()