Searched refs:files_struct (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | fdtable.h | 48 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 D | filelock.h | 178 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 D | init_task.h | 25 extern struct files_struct init_files;
|
H A D | sched.h | 1096 struct files_struct *files;
|
/openbmc/linux/fs/ |
H A D | file.c | 298 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 D | locks.c | 2391 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 D | files.rst | 29 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 D | file.h | 135 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
|
/openbmc/linux/io_uring/ |
H A D | openclose.c | 221 struct files_struct *files = current->files; in io_close()
|
/openbmc/linux/kernel/ |
H A D | fork.c | 1770 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 D | fd.c | 25 struct files_struct *files = NULL; in seq_show()
|
/openbmc/linux/Documentation/RCU/ |
H A D | lockdep.rst | 85 3. on an unshared files_struct.
|
/openbmc/linux/security/apparmor/ |
H A D | file.c | 679 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 2406 struct files_struct *files) in flush_unauthorized_files()
|