Lines Matching defs:wait_queue_entry

13 typedef struct wait_queue_entry wait_queue_entry_t;
15 typedef int (*wait_queue_func_t)(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key);
16 int default_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key);
18 /* wait_queue_entry::flags */
28 struct wait_queue_entry {
53 struct wait_queue_entry name = __WAITQUEUE_INITIALIZER(name, tsk)
80 static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p)
88 init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func)
164 extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
165 extern void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
166 extern void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
167 extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
169 static inline void __add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry)
172 struct wait_queue_entry *wq;
186 __add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry)
192 static inline void __add_wait_queue_entry_tail(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry)
198 __add_wait_queue_entry_tail_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry)
205 __remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry)
285 extern void init_wait_entry(struct wait_queue_entry *wq_entry, int flags);
302 struct wait_queue_entry __wq_entry; \
1192 void prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
1193 bool prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
1194 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
1195 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
1196 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout);
1197 int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key);
1198 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key);
1201 struct wait_queue_entry name = { \