Searched refs:files_struct (Results 1 - 13 of 13) sorted by relevance

/linux-master/include/linux/
H A Dfdtable.h49 struct files_struct { struct
83 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd)
99 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd)
112 void put_files_struct(struct files_struct *fs);
114 struct files_struct *dup_fd(struct files_struct *, unsigned, int *) __latent_entropy;
115 void do_close_on_exec(struct files_struct *);
116 int iterate_fd(struct files_struct *, unsigned,
124 struct files_struct **new_fdp);
H A Dinit_task.h25 extern struct files_struct init_files;
H A Dfilelock.h216 struct files_struct;
218 struct file *filp, struct files_struct *files);
395 struct files_struct;
397 struct file *filp, struct files_struct *files) {}
H A Dsched.h1103 struct files_struct *files;
/linux-master/fs/
H A Dfile.c7 * Manage the dynamic fd arrays in the process files_struct.
169 static int expand_fdtable(struct files_struct *files, unsigned int nr)
214 static int expand_files(struct files_struct *files, unsigned int nr)
314 * errorp will be valid only when the returned files_struct is NULL.
316 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp)
318 struct files_struct *newf;
412 static struct fdtable *close_files(struct files_struct * files)
444 void put_files_struct(struct files_struct *files)
458 struct files_struct * file
[all...]
H A Dinternal.h184 struct file *file_close_fd_locked(struct files_struct *files, unsigned fd);
H A Dlocks.c1014 * For FL_OFDLCK locks, the owner is the filp, not the files_struct.
2457 struct files_struct *files = current->files;
2580 struct files_struct *files = current->files;
2902 struct file *filp, struct files_struct *files)
2920 struct file *filp, struct files_struct *files)
/linux-master/security/apparmor/include/
H A Dfile.h98 void aa_inherit_files(const struct cred *cred, struct files_struct *files);
/linux-master/io_uring/
H A Dopenclose.c226 struct files_struct *files = current->files;
/linux-master/kernel/
H A Dfork.c422 /* SLAB cache for files_struct structures (tsk->files) */
1772 struct files_struct *oldf, *newf;
3176 sizeof(struct files_struct), 0,
3250 struct files_struct **new_fdp)
3252 struct files_struct *fd = current->files;
3276 struct files_struct *new_fd = NULL;
3406 struct files_struct *old, *copy = NULL;
/linux-master/fs/proc/
H A Dfd.c25 struct files_struct *files = NULL;
/linux-master/security/apparmor/
H A Dfile.c679 void aa_inherit_files(const struct cred *cred, struct files_struct *files)
/linux-master/security/selinux/
H A Dhooks.c2421 struct files_struct *files)

Completed in 268 milliseconds