Lines Matching refs:wait_queue_entry
14 typedef struct wait_queue_entry wait_queue_entry_t;
16 typedef int (*wait_queue_func_t)(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void …
17 int default_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key);
30 struct wait_queue_entry { struct
55 struct wait_queue_entry name = __WAITQUEUE_INITIALIZER(name, tsk) argument
82 static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p) in init_waitqueue_entry()
90 init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func) in init_waitqueue_func_entry()
166 extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
167 extern void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_e…
168 extern void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_en…
169 extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
171 static inline void __add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_en… in __add_wait_queue()
174 struct wait_queue_entry *wq; in __add_wait_queue()
188 __add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in __add_wait_queue_exclusive()
194 …oid __add_wait_queue_entry_tail(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in __add_wait_queue_entry_tail()
200 __add_wait_queue_entry_tail_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_… in __add_wait_queue_entry_tail_exclusive()
207 __remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in __remove_wait_queue()
286 extern void init_wait_entry(struct wait_queue_entry *wq_entry, int flags);
303 struct wait_queue_entry __wq_entry; \
1193 void prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
1194 bool prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, …
1195 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int …
1196 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
1197 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout);
1198 int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key);
1199 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key);
1202 struct wait_queue_entry name = { \