Home
last modified time | relevance | path

Searched refs:files_struct (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/include/linux/
Dfdtable.h45 struct files_struct { struct
75 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
84 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files()
99 struct files_struct *get_files_struct(struct task_struct *);
100 void put_files_struct(struct files_struct *fs);
101 void reset_files_struct(struct files_struct *);
102 int unshare_files(struct files_struct **);
103 struct files_struct *dup_fd(struct files_struct *, int *);
104 void do_close_on_exec(struct files_struct *);
105 int iterate_fd(struct files_struct *, unsigned,
[all …]
Dinit_task.h25 extern struct files_struct init_files;
Dfs.h1051 struct files_struct;
1053 struct file *filp, struct files_struct *files);
1192 struct files_struct;
1194 struct file *filp, struct files_struct *files) {} in show_fd_locks()
Dsched.h1480 struct files_struct *files;
/linux-4.1.27/fs/
Dfile.c142 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()
244 struct files_struct *dup_fd(struct files_struct *oldf, int *errorp) in dup_fd()
246 struct files_struct *newf; in dup_fd()
349 static struct fdtable *close_files(struct files_struct * files) in close_files()
381 struct files_struct *get_files_struct(struct task_struct *task) in get_files_struct()
383 struct files_struct *files; in get_files_struct()
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()
409 struct files_struct *old; in reset_files_struct()
[all …]
Dcoredump.c515 struct files_struct *displaced; in do_coredump()
Dlocks.c2602 struct file *filp, struct files_struct *files) in __show_fd_locks()
2621 struct file *filp, struct files_struct *files) in show_fd_locks()
Dexec.c1486 struct files_struct *displaced; in do_execveat_common()
/linux-4.1.27/fs/proc/
Dfd.c21 struct files_struct *files = NULL; in seq_show()
85 struct files_struct *files; in tid_fd_revalidate()
150 struct files_struct *files = NULL; in proc_fd_link()
233 struct files_struct *files; in proc_readfd_common()
/linux-4.1.27/kernel/
Dfork.c1007 struct files_struct *oldf, *newf; in copy_files()
1826 sizeof(struct files_struct), 0, in proc_caches_init()
1902 static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp) in unshare_fd()
1904 struct files_struct *fd = current->files; in unshare_fd()
1928 struct files_struct *fd, *new_fd = NULL; in SYSCALL_DEFINE1()
2044 int unshare_files(struct files_struct **displaced) in unshare_files()
2047 struct files_struct *copy = NULL; in unshare_files()
/linux-4.1.27/Documentation/filesystems/
Dfiles.txt26 files_struct contains a pointer to struct fdtable through
28 fdtable is embedded in files_struct itself. On a subsequent
/linux-4.1.27/Documentation/RCU/
Dlockdep.txt88 3. on an unshared files_struct.
/linux-4.1.27/drivers/android/
Dbinder.c305 struct files_struct *files;
379 struct files_struct *files = proc->files; in task_get_unused_fd_flags()
3171 struct files_struct *files; in binder_deferred_func()
/linux-4.1.27/security/selinux/
Dhooks.c2334 struct files_struct *files) in flush_unauthorized_files()