Lines Matching full:files
73 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument
74 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
76 #define files_fdtable(files) \ argument
77 rcu_dereference_check_fdtable((files), (files)->fdt)
82 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
84 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fcheck_files()
93 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument
96 !lockdep_is_held(&files->file_lock), in fcheck_files()
98 return __fcheck_files(files, fd); in fcheck_files()
104 #define fcheck(fd) fcheck_files(current->files, fd)
118 extern int __alloc_fd(struct files_struct *files,
120 extern void __fd_install(struct files_struct *files,
122 extern int __close_fd(struct files_struct *files,