Home
last modified time | relevance | path

Searched refs:files_struct (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dfdtable.h49 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 …]
Dinit_task.h25 extern struct files_struct init_files;
Dfs.h1161 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()
Dsched.h1105 struct files_struct *files;
Dsyscalls.h1322 extern int __close_fd(struct files_struct *files, unsigned int fd);
/kernel/liteos_a/fs/include/fs/
Dfd_table.h53 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);
Dfs_operation.h66 void CloseOnExec(struct files_struct *files);
/kernel/linux/linux-5.10/fs/
Dfile.c169 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 …]
Dcoredump.c593 struct files_struct *displaced; in do_coredump()
Dlocks.c2948 struct file *filp, struct files_struct *files) in __show_fd_locks()
2967 struct file *filp, struct files_struct *files) in show_fd_locks()
Dexec.c1248 struct files_struct *displaced; in begin_new_exec()
/kernel/linux/linux-5.10/fs/proc/
Dfd.c22 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/
Dvfs_cloexec.c42 void CloseOnExec(struct files_struct *files) in CloseOnExec()
Dvfs_procfd.c80 struct files_struct *procFiles = OsCurrProcessGet()->files; in GetFdTable()
352 struct files_struct *procFiles = NULL; in GetProcessFTable()
/kernel/linux/linux-5.10/kernel/bpf/
Dtask_iter.c133 struct files_struct *files;
143 struct files_struct *curr_files; in task_file_seq_get_next()
Dsyscall.c3904 struct files_struct *files; in bpf_task_fd_query()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dfiles.rst29 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/
Dfile.h202 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
/kernel/linux/linux-5.10/kernel/
Dkcmp.c110 struct files_struct *files; in kcmp_epoll_target()
Dfork.c1480 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/
Dlos_process_pri.h117 struct files_struct *files; /**< Files held by the process */
/kernel/linux/linux-5.10/Documentation/RCU/
Dlockdep.rst82 3. on an unshared files_struct.
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c201 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/
Dfile.c685 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
/kernel/liteos_a/kernel/base/core/
Dlos_process.c1731 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()

12