Lines Matching refs:files
74 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument
75 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
77 #define files_fdtable(files) \ argument
78 rcu_dereference_check_fdtable((files), (files)->fdt)
83 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
85 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fcheck_files()
94 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument
97 !lockdep_is_held(&files->file_lock), in fcheck_files()
99 return __fcheck_files(files, fd); in fcheck_files()
105 #define fcheck(fd) fcheck_files(current->files, fd)
119 extern int __alloc_fd(struct files_struct *files,
121 extern void __fd_install(struct files_struct *files,
123 extern int __close_fd(struct files_struct *files,