Lines Matching defs:wait_queue_head_t

53 typedef struct __wait_queue_head wait_queue_head_t;
74 wait_queue_head_t name = __WAIT_QUEUE_HEAD_INITIALIZER(name)
79 extern void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *);
92 wait_queue_head_t name = __WAIT_QUEUE_HEAD_INIT_ONSTACK(name)
112 static inline int waitqueue_active(wait_queue_head_t *q)
117 extern void add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait);
118 extern void add_wait_queue_exclusive(wait_queue_head_t *q, wait_queue_t *wait);
119 extern void remove_wait_queue(wait_queue_head_t *q, wait_queue_t *wait);
121 static inline void __add_wait_queue(wait_queue_head_t *head, wait_queue_t *new)
129 static inline void __add_wait_queue_exclusive(wait_queue_head_t *q,
136 static inline void __add_wait_queue_tail(wait_queue_head_t *head,
142 static inline void __add_wait_queue_tail_exclusive(wait_queue_head_t *q,
149 static inline void __remove_wait_queue(wait_queue_head_t *head,
155 void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key);
156 void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key);
157 void __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr,
159 void __wake_up_locked(wait_queue_head_t *q, unsigned int mode, int nr);
160 void __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr);
161 void __wake_up_bit(wait_queue_head_t *, void *, int);
162 int __wait_on_bit(wait_queue_head_t *, struct wait_bit_queue *, int (*)(void *), unsigned);
163 int __wait_on_bit_lock(wait_queue_head_t *, struct wait_bit_queue *, int (*)(void *), unsigned);
167 wait_queue_head_t *bit_waitqueue(void *, int);
574 extern void sleep_on(wait_queue_head_t *q);
575 extern long sleep_on_timeout(wait_queue_head_t *q,
577 extern void interruptible_sleep_on(wait_queue_head_t *q);
578 extern long interruptible_sleep_on_timeout(wait_queue_head_t *q,
584 void prepare_to_wait(wait_queue_head_t *q, wait_queue_t *wait, int state);
585 void prepare_to_wait_exclusive(wait_queue_head_t *q, wait_queue_t *wait, int state);
586 void finish_wait(wait_queue_head_t *q, wait_queue_t *wait);
587 void abort_exclusive_wait(wait_queue_head_t *q, wait_queue_t *wait,