Home
last modified time | relevance | path

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

/Linux-v4.19/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.h24 extern struct files_struct init_files;
Dfs.h1113 struct files_struct;
1115 struct file *filp, struct files_struct *files);
1248 struct files_struct;
1250 struct file *filp, struct files_struct *files) {} in show_fd_locks()
Dsched.h863 struct files_struct *files;
Dsyscalls.h1256 extern int __close_fd(struct files_struct *files, unsigned int fd);
/Linux-v4.19/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.c549 struct files_struct *displaced; in do_coredump()
Dlocks.c2718 struct file *filp, struct files_struct *files) in __show_fd_locks()
2737 struct file *filp, struct files_struct *files) in show_fd_locks()
Dexec.c1716 struct files_struct *displaced; in __do_execve_file()
/Linux-v4.19/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-v4.19/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-v4.19/drivers/misc/mic/scif/
Dscif_epd.h115 struct files_struct *files;
/Linux-v4.19/kernel/
Dfork.c1364 struct files_struct *oldf, *newf; in copy_files()
2334 sizeof(struct files_struct), 0, in proc_caches_init()
2416 static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp) in unshare_fd()
2418 struct files_struct *fd = current->files; in unshare_fd()
2442 struct files_struct *fd, *new_fd = NULL; in ksys_unshare()
2566 int unshare_files(struct files_struct **displaced) in unshare_files()
2569 struct files_struct *copy = NULL; in unshare_files()
Dkcmp.c110 struct files_struct *files; in kcmp_epoll_target()
/Linux-v4.19/security/apparmor/include/
Dfile.h203 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
/Linux-v4.19/Documentation/RCU/
Dlockdep.txt78 3. on an unshared files_struct.
/Linux-v4.19/security/apparmor/
Dfile.c683 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
/Linux-v4.19/kernel/bpf/
Dsyscall.c2263 struct files_struct *files; in bpf_task_fd_query()
/Linux-v4.19/drivers/android/
Dbinder.c530 struct files_struct *files;
5001 struct files_struct *files; in binder_deferred_func()
/Linux-v4.19/security/selinux/
Dhooks.c2590 struct files_struct *files) in flush_unauthorized_files()