Searched refs:files_struct (Results 1 – 14 of 14) sorted by relevance
/linux/include/linux/ |
A D | fdtable.h | 49 struct files_struct { struct 83 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument 94 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() 101 static inline struct file *files_lookup_fd_rcu(struct files_struct *files, unsigned int fd) in files_lookup_fd_rcu() 118 void put_files_struct(struct files_struct *fs); 120 struct files_struct *dup_fd(struct files_struct *, unsigned, int *) __latent_entropy; 121 void do_close_on_exec(struct files_struct *); 122 int iterate_fd(struct files_struct *, unsigned, 130 struct files_struct **new_fdp);
|
A D | init_task.h | 25 extern struct files_struct init_files;
|
A D | fs.h | 1205 struct files_struct; 1207 struct file *filp, struct files_struct *files); 1340 struct files_struct; 1342 struct file *filp, struct files_struct *files) {} in show_fd_locks()
|
A D | sched.h | 1068 struct files_struct *files;
|
/linux/fs/ |
A D | file.c | 287 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp) in dup_fd() 289 struct files_struct *newf; in dup_fd() 429 struct files_struct * files = tsk->files; in exit_files() 439 struct files_struct init_files = { 472 struct files_struct *files = current->files; in alloc_fd() 549 struct files_struct *files = current->files; in put_unused_fd() 575 struct files_struct *files = current->files; in fd_install() 635 struct files_struct *files = current->files; in close_fd() 771 struct files_struct *files = current->files; in __close_fd_get_file() 949 struct files_struct *files; in task_lookup_fd_rcu() [all …]
|
A D | locks.c | 2337 struct files_struct *files = current->files; in fcntl_setlk() 2460 struct files_struct *files = current->files; in fcntl_setlk64() 2752 struct file *filp, struct files_struct *files) in __show_fd_locks() 2771 struct file *filp, struct files_struct *files) in show_fd_locks()
|
A D | io_uring.c | 4671 struct files_struct *files = current->files; in io_close()
|
/linux/Documentation/filesystems/ |
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
|
/linux/security/apparmor/include/ |
A D | file.h | 202 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
|
/linux/kernel/ |
A D | fork.c | 1534 struct files_struct *oldf, *newf; in copy_files() 2918 sizeof(struct files_struct), 0, in proc_caches_init() 3002 struct files_struct **new_fdp) in unshare_fd() 3004 struct files_struct *fd = current->files; in unshare_fd() 3028 struct files_struct *new_fd = NULL; in ksys_unshare() 3158 struct files_struct *old, *copy = NULL; in unshare_files()
|
/linux/fs/proc/ |
A D | fd.c | 23 struct files_struct *files = NULL; in seq_show()
|
/linux/Documentation/RCU/ |
A D | lockdep.rst | 82 3. on an unshared files_struct.
|
/linux/security/apparmor/ |
A D | file.c | 687 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
|
/linux/security/selinux/ |
A D | hooks.c | 2458 struct files_struct *files) in flush_unauthorized_files()
|
Completed in 67 milliseconds