Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dfdtable.h48 struct files_struct { struct
82 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument
93 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked()
100 static inline struct file *files_lookup_fd_rcu(struct files_struct *files, unsigned int fd) in files_lookup_fd_rcu()
117 void put_files_struct(struct files_struct *fs);
122 struct files_struct *dup_fd(struct files_struct *, struct fd_range *) __latent_entropy;
123 void do_close_on_exec(struct files_struct *);
124 int iterate_fd(struct files_struct *, unsigned,
H A Dfilelock.h178 struct files_struct;
180 struct file *filp, struct files_struct *files);
327 struct files_struct;
329 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.h1096 struct files_struct *files;
/openbmc/linux/fs/
H A Dfile.c298 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd()
300 struct files_struct *newf; in dup_fd()
439 struct files_struct * files = tsk->files; in exit_files()
449 struct files_struct init_files = {
482 struct files_struct *files = current->files; in alloc_fd()
559 struct files_struct *files = current->files; in put_unused_fd()
585 struct files_struct *files = current->files; in fd_install()
637 struct files_struct *files = current->files; in close_fd()
779 struct files_struct *files = current->files; in close_fd_get_file()
923 struct files_struct *files; in task_lookup_fd_rcu()
[all …]
H A Dlocks.c2391 struct files_struct *files = current->files; in fcntl_setlk()
2513 struct files_struct *files = current->files; in fcntl_setlk64()
2827 struct file *filp, struct files_struct *files) in __show_fd_locks()
2846 struct file *filp, struct files_struct *files) in show_fd_locks()
/openbmc/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
/openbmc/linux/security/apparmor/include/
H A Dfile.h135 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
/openbmc/linux/io_uring/
H A Dopenclose.c221 struct files_struct *files = current->files; in io_close()
/openbmc/linux/kernel/
H A Dfork.c1770 struct files_struct *oldf, *newf; in copy_files()
3288 sizeof(struct files_struct), 0, in proc_caches_init()
3361 static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp) in unshare_fd()
3363 struct files_struct *fd = current->files; in unshare_fd()
3387 struct files_struct *new_fd = NULL; in ksys_unshare()
3517 struct files_struct *old, *copy = NULL; in unshare_files()
/openbmc/linux/fs/proc/
H A Dfd.c25 struct files_struct *files = NULL; in seq_show()
/openbmc/linux/Documentation/RCU/
H A Dlockdep.rst85 3. on an unshared files_struct.
/openbmc/linux/security/apparmor/
H A Dfile.c679 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
/openbmc/linux/security/selinux/
H A Dhooks.c2406 struct files_struct *files) in flush_unauthorized_files()