Lines Matching refs:wait_queue_head_t

43 typedef struct __wait_queue_head wait_queue_head_t;  typedef
64 wait_queue_head_t name = __WAIT_QUEUE_HEAD_INITIALIZER(name)
72 extern void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *);
85 wait_queue_head_t name = __WAIT_QUEUE_HEAD_INIT_ONSTACK(name)
105 static inline int waitqueue_active(wait_queue_head_t *q) in waitqueue_active()
110 extern void add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait);
111 extern void add_wait_queue_exclusive(wait_queue_head_t *q, wait_queue_t *wait);
112 extern void remove_wait_queue(wait_queue_head_t *q, wait_queue_t *wait);
114 static inline void __add_wait_queue(wait_queue_head_t *head, wait_queue_t *new) in __add_wait_queue()
123 __add_wait_queue_exclusive(wait_queue_head_t *q, wait_queue_t *wait) in __add_wait_queue_exclusive()
129 static inline void __add_wait_queue_tail(wait_queue_head_t *head, in __add_wait_queue_tail()
136 __add_wait_queue_tail_exclusive(wait_queue_head_t *q, wait_queue_t *wait) in __add_wait_queue_tail_exclusive()
143 __remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old) in __remove_wait_queue()
149 void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key);
150 void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key);
151 void __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr, void *key);
152 void __wake_up_locked(wait_queue_head_t *q, unsigned int mode, int nr);
153 void __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr);
154 void __wake_up_bit(wait_queue_head_t *, void *, int);
155 int __wait_on_bit(wait_queue_head_t *, struct wait_bit_queue *, wait_bit_action_f *, unsigned);
156 int __wait_on_bit_lock(wait_queue_head_t *, struct wait_bit_queue *, wait_bit_action_f *, unsigned);
163 wait_queue_head_t *bit_waitqueue(void *, int);
924 void prepare_to_wait(wait_queue_head_t *q, wait_queue_t *wait, int state);
925 void prepare_to_wait_exclusive(wait_queue_head_t *q, wait_queue_t *wait, int state);
926 long prepare_to_wait_event(wait_queue_head_t *q, wait_queue_t *wait, int state);
927 void finish_wait(wait_queue_head_t *q, wait_queue_t *wait);
928 void abort_exclusive_wait(wait_queue_head_t *q, wait_queue_t *wait, unsigned int mode, void *key);