Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dfdtable.h48 struct files_struct { struct
82 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
93 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files()
108 struct files_struct *get_files_struct(struct task_struct *);
109 void put_files_struct(struct files_struct *fs);
110 void reset_files_struct(struct files_struct *);
111 int unshare_files(struct files_struct **);
112 struct files_struct *dup_fd(struct files_struct *, int *) __latent_entropy;
113 void do_close_on_exec(struct files_struct *);
114 int iterate_fd(struct files_struct *, unsigned,
[all …]
Dinit_task.h25 extern struct files_struct init_files;
Dfs.h1176 struct files_struct;
1178 struct file *filp, struct files_struct *files);
1311 struct files_struct;
1313 struct file *filp, struct files_struct *files) {} in show_fd_locks()
Dsched.h908 struct files_struct *files;
Dsyscalls.h1365 extern int __close_fd(struct files_struct *files, unsigned int fd);
/Linux-v5.4/fs/
Dfile.c148 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable()
193 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files()
272 struct files_struct *dup_fd(struct files_struct *oldf, int *errorp) in dup_fd()
274 struct files_struct *newf; in dup_fd()
368 static struct fdtable *close_files(struct files_struct * files) in close_files()
400 struct files_struct *get_files_struct(struct task_struct *task) in get_files_struct()
402 struct files_struct *files; in get_files_struct()
413 void put_files_struct(struct files_struct *files) in put_files_struct()
425 void reset_files_struct(struct files_struct *files) in reset_files_struct()
428 struct files_struct *old; in reset_files_struct()
[all …]
Dcoredump.c577 struct files_struct *displaced; in do_coredump()
Dlocks.c2893 struct file *filp, struct files_struct *files) in __show_fd_locks()
2912 struct file *filp, struct files_struct *files) in show_fd_locks()
Dexec.c1723 struct files_struct *displaced; in __do_execve_file()
/Linux-v5.4/fs/proc/
Dfd.c22 struct files_struct *files = NULL; in seq_show()
86 struct files_struct *files = get_files_struct(task); in tid_fd_mode()
149 struct files_struct *files = NULL; in proc_fd_link()
232 struct files_struct *files; in proc_readfd_common()
/Linux-v5.4/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-v5.4/drivers/misc/mic/scif/
Dscif_epd.h106 struct files_struct *files;
/Linux-v5.4/security/apparmor/include/
Dfile.h202 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
/Linux-v5.4/kernel/
Dkcmp.c110 struct files_struct *files; in kcmp_epoll_target()
Dfork.c1452 struct files_struct *oldf, *newf; in copy_files()
2703 sizeof(struct files_struct), 0, in proc_caches_init()
2785 static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp) in unshare_fd()
2787 struct files_struct *fd = current->files; in unshare_fd()
2811 struct files_struct *fd, *new_fd = NULL; in ksys_unshare()
2935 int unshare_files(struct files_struct **displaced) in unshare_files()
2938 struct files_struct *copy = NULL; in unshare_files()
/Linux-v5.4/Documentation/RCU/
Dlockdep.txt78 3. on an unshared files_struct.
/Linux-v5.4/security/apparmor/
Dfile.c679 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
/Linux-v5.4/kernel/bpf/
Dsyscall.c2766 struct files_struct *files; in bpf_task_fd_query()
/Linux-v5.4/security/selinux/
Dhooks.c2452 struct files_struct *files) in flush_unauthorized_files()