Lines Matching refs:files
66 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument
67 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
69 #define files_fdtable(files) \ argument
70 rcu_dereference_check_fdtable((files), (files)->fdt)
75 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
77 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fcheck_files()
84 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument
87 lockdep_is_held(&files->file_lock), in fcheck_files()
89 return __fcheck_files(files, fd); in fcheck_files()
95 #define fcheck(fd) fcheck_files(current->files, fd)
109 extern int __alloc_fd(struct files_struct *files,
111 extern void __fd_install(struct files_struct *files,
113 extern int __close_fd(struct files_struct *files,