Lines Matching refs:files
74 #define rcu_dereference_check_fdtable(files, fdtfd) \
75 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
77 #define files_fdtable(files) \
78 rcu_dereference_check_fdtable((files), (files)->fdt)
83 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd)
85 struct fdtable *fdt = rcu_dereference_raw(files->fdt);
99 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd)
101 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock),
103 return files_lookup_fd_raw(files, fd);