Lines Matching full:file
16 struct file;
22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff);
25 /* Used to initialize the epoll bits inside the "struct file" */
26 static inline void eventpoll_init_file(struct file *file) in eventpoll_init_file() argument
28 INIT_LIST_HEAD(&file->f_ep_links); in eventpoll_init_file()
29 INIT_LIST_HEAD(&file->f_tfile_llink); in eventpoll_init_file()
33 /* Used to release the epoll bits inside the "struct file" */
34 void eventpoll_release_file(struct file *file);
42 static inline void eventpoll_release(struct file *file) in eventpoll_release() argument
50 * because the file in on the way to be removed and nobody ( but in eventpoll_release()
51 * eventpoll ) has still a reference to this file. in eventpoll_release()
53 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release()
57 * The file is being closed while it is still linked to an epoll in eventpoll_release()
61 eventpoll_release_file(file); in eventpoll_release()
75 static inline void eventpoll_init_file(struct file *file) {} in eventpoll_init_file() argument
76 static inline void eventpoll_release(struct file *file) {} in eventpoll_release() argument