Searched refs:files_struct (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/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 | init_task.h | 25 extern struct files_struct init_files;
|
D | fs.h | 1185 struct files_struct; 1187 struct file *filp, struct files_struct *files); 1327 struct files_struct; 1329 struct file *filp, struct files_struct *files) {} in show_fd_locks()
|
D | sched.h | 1094 struct files_struct *files;
|
/linux-6.1.9/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 | 2402 struct files_struct *files = current->files; in fcntl_setlk() 2525 struct files_struct *files = current->files; in fcntl_setlk64() 2840 struct file *filp, struct files_struct *files) in __show_fd_locks() 2859 struct file *filp, struct files_struct *files) in show_fd_locks()
|
/linux-6.1.9/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-6.1.9/security/apparmor/include/ |
D | file.h | 205 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
|
/linux-6.1.9/io_uring/ |
D | openclose.c | 214 struct files_struct *files = current->files; in io_close()
|
/linux-6.1.9/kernel/ |
D | fork.c | 1610 struct files_struct *oldf, *newf; in copy_files() 3036 sizeof(struct files_struct), 0, in proc_caches_init() 3120 struct files_struct **new_fdp) in unshare_fd() 3122 struct files_struct *fd = current->files; in unshare_fd() 3146 struct files_struct *new_fd = NULL; in ksys_unshare() 3276 struct files_struct *old, *copy = NULL; in unshare_files()
|
/linux-6.1.9/fs/proc/ |
D | fd.c | 23 struct files_struct *files = NULL; in seq_show()
|
/linux-6.1.9/Documentation/RCU/ |
D | lockdep.rst | 82 3. on an unshared files_struct.
|
/linux-6.1.9/security/apparmor/ |
D | file.c | 687 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
|
/linux-6.1.9/security/selinux/ |
D | hooks.c | 2400 struct files_struct *files) in flush_unauthorized_files()
|