Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dfdtable.h38 struct files_struct { struct
72 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument
88 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked()
95 static inline bool close_on_exec(unsigned int fd, const struct files_struct *files) in close_on_exec()
102 void put_files_struct(struct files_struct *fs);
107 struct files_struct *dup_fd(struct files_struct *, struct fd_range *) __latent_entropy;
108 void do_close_on_exec(struct files_struct *);
109 int iterate_fd(struct files_struct *, unsigned,
H A Dfilelock.h236 struct files_struct;
238 struct file *filp, struct files_struct *files);
432 struct files_struct;
434 struct file *filp, struct files_struct *files) {} in show_fd_locks()
H A Dinit_task.h25 extern struct files_struct init_files;
H A Dsched.h1185 struct files_struct *files;
/linux/fs/
H A Dfile.c252 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable()
288 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files()
383 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd()
385 struct files_struct *newf; in dup_fd()
474 static struct fdtable *close_files(struct files_struct * files) in close_files()
506 void put_files_struct(struct files_struct *files) in put_files_struct()
520 struct files_struct * files = tsk->files; in exit_files()
530 struct files_struct init_files = {
572 struct files_struct *files = current->files; in alloc_fd()
626 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
[all …]
H A Dinternal.h199 struct file *file_close_fd_locked(struct files_struct *files, unsigned fd);
H A Dlocks.c2539 struct files_struct *files = current->files; in fcntl_setlk()
2661 struct files_struct *files = current->files; in fcntl_setlk64()
2981 struct file *filp, struct files_struct *files) in __show_fd_locks()
2999 struct file *filp, struct files_struct *files) in show_fd_locks()
/linux/security/apparmor/include/
H A Dfile.h103 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
/linux/Documentation/filesystems/
H A Dfiles.rst29 files_struct contains a pointer to struct fdtable through
31 fdtable is embedded in files_struct itself. On a subsequent
/linux/kernel/
H A Dfork.c1617 struct files_struct *oldf, *newf; in copy_files()
3032 sizeof(struct files_struct), 0, in proc_caches_init()
3100 static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp) in unshare_fd()
3102 struct files_struct *fd = current->files; in unshare_fd()
3126 struct files_struct *new_fd = NULL; in ksys_unshare()
3256 struct files_struct *old, *copy = NULL; in unshare_files()
/linux/fs/proc/
H A Dfd.c25 struct files_struct *files = NULL; in seq_show()
/linux/io_uring/
H A Dopenclose.c238 struct files_struct *files = current->files; in io_close()
/linux/Documentation/RCU/
H A Dlockdep.rst85 3. on an unshared files_struct.
/linux/security/apparmor/
H A Dfile.c719 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
/linux/security/selinux/
H A Dhooks.c2444 struct files_struct *files) in flush_unauthorized_files()