Lines Matching defs:files
142 static int expand_fdtable(struct files_struct *files, int nr) in expand_fdtable()
187 static int expand_files(struct files_struct *files, int nr) in expand_files()
349 static struct fdtable *close_files(struct files_struct * files) in close_files()
383 struct files_struct *files; in get_files_struct() local
394 void put_files_struct(struct files_struct *files) in put_files_struct()
406 void reset_files_struct(struct files_struct *files) in reset_files_struct()
420 struct files_struct * files = tsk->files; in exit_files() local
445 int __alloc_fd(struct files_struct *files, in __alloc_fd()
514 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
524 struct files_struct *files = current->files; in put_unused_fd() local
552 void __fd_install(struct files_struct *files, unsigned int fd, in __fd_install()
573 int __close_fd(struct files_struct *files, unsigned fd) in __close_fd()
596 void do_close_on_exec(struct files_struct *files) in do_close_on_exec()
634 struct files_struct *files = current->files; in __fget() local
679 struct files_struct *files = current->files; in __fget_light() local
727 struct files_struct *files = current->files; in set_close_on_exec() local
740 struct files_struct *files = current->files; in get_close_on_exec() local
750 static int do_dup2(struct files_struct *files, in do_dup2()
797 struct files_struct *files = current->files; in replace_fd() local
820 struct files_struct *files = current->files; in SYSCALL_DEFINE3() local
853 struct files_struct *files = current->files; in SYSCALL_DEFINE2() local
893 int iterate_fd(struct files_struct *files, unsigned n, in iterate_fd()