Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dfdtable.h46 struct files_struct { struct
80 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
89 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files()
104 struct files_struct *get_files_struct(struct task_struct *);
105 void put_files_struct(struct files_struct *fs);
106 void reset_files_struct(struct files_struct *);
107 int unshare_files(struct files_struct **);
108 struct files_struct *dup_fd(struct files_struct *, int *);
109 void do_close_on_exec(struct files_struct *);
110 int iterate_fd(struct files_struct *, unsigned,
[all …]
Dinit_task.h25 extern struct files_struct init_files;
Dfs.h1066 struct files_struct;
1068 struct file *filp, struct files_struct *files);
1200 struct files_struct;
1202 struct file *filp, struct files_struct *files) {} in show_fd_locks()
Dsched.h1565 struct files_struct *files;
/linux-4.4.14/fs/
Dfile.c165 static int expand_fdtable(struct files_struct *files, int nr) in expand_fdtable()
210 static int expand_files(struct files_struct *files, int nr) in expand_files()
289 struct files_struct *dup_fd(struct files_struct *oldf, int *errorp) in dup_fd()
291 struct files_struct *newf; in dup_fd()
385 static struct fdtable *close_files(struct files_struct * files) in close_files()
417 struct files_struct *get_files_struct(struct task_struct *task) in get_files_struct()
419 struct files_struct *files; in get_files_struct()
430 void put_files_struct(struct files_struct *files) in put_files_struct()
442 void reset_files_struct(struct files_struct *files) in reset_files_struct()
445 struct files_struct *old; in reset_files_struct()
[all …]
Dcoredump.c519 struct files_struct *displaced; in do_coredump()
Dlocks.c2631 struct file *filp, struct files_struct *files) in __show_fd_locks()
2650 struct file *filp, struct files_struct *files) in show_fd_locks()
Dexec.c1492 struct files_struct *displaced; in do_execveat_common()
/linux-4.4.14/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.4.14/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.4.14/drivers/misc/mic/scif/
Dscif_epd.h115 struct files_struct *files;
/linux-4.4.14/kernel/
Dfork.c1016 struct files_struct *oldf, *newf; in copy_files()
1857 sizeof(struct files_struct), 0, in proc_caches_init()
1933 static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp) in unshare_fd()
1935 struct files_struct *fd = current->files; in unshare_fd()
1959 struct files_struct *fd, *new_fd = NULL; in SYSCALL_DEFINE1()
2076 int unshare_files(struct files_struct **displaced) in unshare_files()
2079 struct files_struct *copy = NULL; in unshare_files()
/linux-4.4.14/Documentation/RCU/
Dlockdep.txt78 3. on an unshared files_struct.
/linux-4.4.14/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.4.14/security/selinux/
Dhooks.c2346 struct files_struct *files) in flush_unauthorized_files()