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 *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument
85 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw()
94 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() argument
96 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock), in files_lookup_fd_locked()
98 return files_lookup_fd_raw(files, fd); in files_lookup_fd_locked()
101 static inline struct file *files_lookup_fd_rcu(struct files_struct *files, unsigned int fd) in files_lookup_fd_rcu() argument
105 return files_lookup_fd_raw(files, fd); in files_lookup_fd_rcu()
110 return files_lookup_fd_rcu(current->files, fd); in lookup_fd_rcu()