Lines Matching full:file
29 /* Set the One Shot behaviour for the target file descriptor */
32 /* Set the Edge Triggered behaviour for the target file descriptor */
55 struct file;
60 /* Used to initialize the epoll bits inside the "struct file" */
61 static inline void eventpoll_init_file(struct file *file) in eventpoll_init_file() argument
63 INIT_LIST_HEAD(&file->f_ep_links); in eventpoll_init_file()
64 INIT_LIST_HEAD(&file->f_tfile_llink); in eventpoll_init_file()
68 /* Used to release the epoll bits inside the "struct file" */
69 void eventpoll_release_file(struct file *file);
77 static inline void eventpoll_release(struct file *file) in eventpoll_release() argument
85 * because the file in on the way to be removed and nobody ( but in eventpoll_release()
86 * eventpoll ) has still a reference to this file. in eventpoll_release()
88 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release()
92 * The file is being closed while it is still linked to an epoll in eventpoll_release()
96 eventpoll_release_file(file); in eventpoll_release()
101 static inline void eventpoll_init_file(struct file *file) {} in eventpoll_init_file() argument
102 static inline void eventpoll_release(struct file *file) {} in eventpoll_release() argument