Lines Matching refs:file
3 * descriptor table internals; you almost certainly want file.h instead.
29 struct file __rcu **fd; /* current fd array */
47 * Open file table structure
67 struct file __rcu * fd_array[NR_OPEN_DEFAULT];
81 * The caller must ensure that fd table isn't shared or hold rcu or file lock
83 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd)
87 struct file *needs_masking;
96 return (struct file *)(mask & (unsigned long)needs_masking);
99 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd)
106 struct file *lookup_fdget_rcu(unsigned int fd);
107 struct file *task_lookup_fdget_rcu(struct task_struct *task, unsigned int fd);
108 struct file *task_lookup_next_fdget_rcu(struct task_struct *task, unsigned int *fd);
117 int (*)(const void *, struct file *, unsigned),
122 extern struct file *file_close_fd(unsigned int fd);