/kernel/linux/linux-5.10/include/linux/ |
D | fdtable.h | 49 struct files_struct { struct 83 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument 94 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() 109 struct files_struct *get_files_struct(struct task_struct *); 110 void put_files_struct(struct files_struct *fs); 111 void reset_files_struct(struct files_struct *); 112 int unshare_files(struct files_struct **); 113 struct files_struct *dup_fd(struct files_struct *, unsigned, int *) __latent_entropy; 114 void do_close_on_exec(struct files_struct *); 115 int iterate_fd(struct files_struct *, unsigned, [all …]
|
D | init_task.h | 25 extern struct files_struct init_files;
|
D | fs.h | 1161 struct files_struct; 1163 struct file *filp, struct files_struct *files); 1301 struct files_struct; 1303 struct file *filp, struct files_struct *files) {} in show_fd_locks()
|
D | sched.h | 1105 struct files_struct *files;
|
D | syscalls.h | 1322 extern int __close_fd(struct files_struct *files, unsigned int fd);
|
/kernel/liteos_a/fs/include/fs/ |
D | fd_table.h | 53 struct files_struct { struct 73 struct files_struct *dup_fd(struct files_struct *oldf); argument 75 struct files_struct *alloc_files(void); 77 void delete_files(struct files_struct *files); 79 struct files_struct *create_files_snapshot(const struct files_struct *oldf); 81 void delete_files_snapshot(struct files_struct *files);
|
D | fs_operation.h | 66 void CloseOnExec(struct files_struct *files);
|
/kernel/linux/linux-5.10/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 struct files_struct *get_files_struct(struct task_struct *task) in get_files_struct() 446 struct files_struct *files; in get_files_struct() 457 void put_files_struct(struct files_struct *files) in put_files_struct() 469 void reset_files_struct(struct files_struct *files) in reset_files_struct() 472 struct files_struct *old; in reset_files_struct() [all …]
|
D | coredump.c | 593 struct files_struct *displaced; in do_coredump()
|
D | locks.c | 2948 struct file *filp, struct files_struct *files) in __show_fd_locks() 2967 struct file *filp, struct files_struct *files) in show_fd_locks()
|
D | exec.c | 1248 struct files_struct *displaced; in begin_new_exec()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | fd.c | 22 struct files_struct *files = NULL; in seq_show() 86 struct files_struct *files = get_files_struct(task); in tid_fd_mode() 149 struct files_struct *files = NULL; in proc_fd_link() 232 struct files_struct *files; in proc_readfd_common()
|
/kernel/liteos_a/fs/vfs/operation/ |
D | vfs_cloexec.c | 42 void CloseOnExec(struct files_struct *files) in CloseOnExec()
|
D | vfs_procfd.c | 80 struct files_struct *procFiles = OsCurrProcessGet()->files; in GetFdTable() 352 struct files_struct *procFiles = NULL; in GetProcessFTable()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | task_iter.c | 133 struct files_struct *files; 143 struct files_struct *curr_files; in task_file_seq_get_next()
|
D | syscall.c | 3904 struct files_struct *files; in bpf_task_fd_query()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/security/apparmor/include/ |
D | file.h | 202 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
|
/kernel/linux/linux-5.10/kernel/ |
D | kcmp.c | 110 struct files_struct *files; in kcmp_epoll_target()
|
D | fork.c | 1480 struct files_struct *oldf, *newf; in copy_files() 2876 sizeof(struct files_struct), 0, in proc_caches_init() 2947 struct files_struct **new_fdp) in unshare_fd() 2949 struct files_struct *fd = current->files; in unshare_fd() 2973 struct files_struct *fd, *new_fd = NULL; in ksys_unshare() 3097 int unshare_files(struct files_struct **displaced) in unshare_files() 3100 struct files_struct *copy = NULL; in unshare_files()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_process_pri.h | 117 struct files_struct *files; /**< Files held by the process */
|
/kernel/linux/linux-5.10/Documentation/RCU/ |
D | lockdep.rst | 82 3. on an unshared files_struct.
|
/kernel/liteos_a/kernel/extended/dynload/src/ |
D | los_load_elf.c | 201 const struct files_struct *oldFiles = OsCurrProcessGet()->files; in OsLoadInit() 1038 delete_files_snapshot((struct files_struct *)loadInfo->oldFiles); in OsDeInitFiles()
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | file.c | 685 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 1731 CloseOnExec((struct files_struct *)oldFiles); in OsExecRecycleAndInit() 1732 delete_files_snapshot((struct files_struct *)oldFiles); in OsExecRecycleAndInit() 2343 struct files_struct *files = pcb->files; in LOS_GetFdTable()
|