Lines Matching refs:files_struct

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()
298 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd()
300 struct files_struct *newf; in dup_fd()
393 static struct fdtable *close_files(struct files_struct * files) in close_files()
425 void put_files_struct(struct files_struct *files) in put_files_struct()
439 struct files_struct * files = tsk->files; in exit_files()
449 struct files_struct init_files = {
482 struct files_struct *files = current->files; in alloc_fd()
549 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
559 struct files_struct *files = current->files; in put_unused_fd()
585 struct files_struct *files = current->files; in fd_install()
618 static struct file *pick_file(struct files_struct *files, unsigned fd) in pick_file()
637 struct files_struct *files = current->files; in close_fd()
663 static inline void __range_cloexec(struct files_struct *cur_fds, in __range_cloexec()
677 static inline void __range_close(struct files_struct *files, unsigned int fd, in __range_close()
716 struct files_struct *cur_fds = me->files, *fds = NULL; in __close_range()
779 struct files_struct *files = current->files; in close_fd_get_file()
789 void do_close_on_exec(struct files_struct *files) in do_close_on_exec()
825 static inline struct file *__fget_files_rcu(struct files_struct *files, in __fget_files_rcu()
879 static struct file *__fget_files(struct files_struct *files, unsigned int fd, in __fget_files()
923 struct files_struct *files; in task_lookup_fd_rcu()
938 struct files_struct *files; in task_lookup_next_fd_rcu()
975 struct files_struct *files = current->files; in __fget_light()
1051 struct files_struct *files = current->files; in set_close_on_exec()
1064 struct files_struct *files = current->files; in get_close_on_exec()
1074 static int do_dup2(struct files_struct *files, in do_dup2()
1122 struct files_struct *files = current->files; in replace_fd()
1206 struct files_struct *files = current->files; in ksys_dup3()
1244 struct files_struct *files = current->files; in SYSCALL_DEFINE2()
1285 int iterate_fd(struct files_struct *files, unsigned n, in iterate_fd()