Searched refs:files_struct (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.6/include/linux/ |
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);
|
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()
|
D | init_task.h | 25 extern struct files_struct init_files;
|
D | sched.h | 1094 struct files_struct *files;
|
/Linux-v6.6/fs/ |
D | file.c | 169 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() 214 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files() 316 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp) in dup_fd() 318 struct files_struct *newf; in dup_fd() 412 static struct fdtable *close_files(struct files_struct * files) in close_files() 444 void put_files_struct(struct files_struct *files) in put_files_struct() 458 struct files_struct * files = tsk->files; in exit_files() 468 struct files_struct init_files = { 501 struct files_struct *files = current->files; in alloc_fd() 568 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd() [all …]
|
D | locks.c | 2390 struct files_struct *files = current->files; in fcntl_setlk() 2513 struct files_struct *files = current->files; in fcntl_setlk64() 2829 struct file *filp, struct files_struct *files) in __show_fd_locks() 2848 struct file *filp, struct files_struct *files) in show_fd_locks()
|
/Linux-v6.6/Documentation/filesystems/ |
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-v6.6/security/apparmor/include/ |
D | file.h | 132 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
|
/Linux-v6.6/io_uring/ |
D | openclose.c | 221 struct files_struct *files = current->files; in io_close()
|
/Linux-v6.6/kernel/ |
D | fork.c | 1769 struct files_struct *oldf, *newf; in copy_files() 3288 sizeof(struct files_struct), 0, in proc_caches_init() 3362 struct files_struct **new_fdp) in unshare_fd() 3364 struct files_struct *fd = current->files; in unshare_fd() 3388 struct files_struct *new_fd = NULL; in ksys_unshare() 3518 struct files_struct *old, *copy = NULL; in unshare_files()
|
/Linux-v6.6/fs/proc/ |
D | fd.c | 25 struct files_struct *files = NULL; in seq_show()
|
/Linux-v6.6/Documentation/RCU/ |
D | lockdep.rst | 85 3. on an unshared files_struct.
|
/Linux-v6.6/security/apparmor/ |
D | file.c | 638 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
|
/Linux-v6.6/security/selinux/ |
D | hooks.c | 2408 struct files_struct *files) in flush_unauthorized_files()
|