Lines Matching refs:q
72 extern void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *);
74 #define init_waitqueue_head(q) \ argument
78 __init_waitqueue_head((q), #q, &__key); \
90 static inline void init_waitqueue_entry(wait_queue_t *q, struct task_struct *p) in init_waitqueue_entry() argument
92 q->flags = 0; in init_waitqueue_entry()
93 q->private = p; in init_waitqueue_entry()
94 q->func = default_wake_function; in init_waitqueue_entry()
98 init_waitqueue_func_entry(wait_queue_t *q, wait_queue_func_t func) in init_waitqueue_func_entry() argument
100 q->flags = 0; in init_waitqueue_func_entry()
101 q->private = NULL; in init_waitqueue_func_entry()
102 q->func = func; in init_waitqueue_func_entry()
105 static inline int waitqueue_active(wait_queue_head_t *q) in waitqueue_active() argument
107 return !list_empty(&q->task_list); 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);
123 __add_wait_queue_exclusive(wait_queue_head_t *q, wait_queue_t *wait) in __add_wait_queue_exclusive() argument
126 __add_wait_queue(q, wait); in __add_wait_queue_exclusive()
136 __add_wait_queue_tail_exclusive(wait_queue_head_t *q, wait_queue_t *wait) in __add_wait_queue_tail_exclusive() argument
139 __add_wait_queue_tail(q, wait); in __add_wait_queue_tail_exclusive()
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);
831 void prepare_to_wait(wait_queue_head_t *q, wait_queue_t *wait, int state);
832 void prepare_to_wait_exclusive(wait_queue_head_t *q, wait_queue_t *wait, int state);
833 long prepare_to_wait_event(wait_queue_head_t *q, wait_queue_t *wait, int state);
834 void finish_wait(wait_queue_head_t *q, wait_queue_t *wait);
835 void abort_exclusive_wait(wait_queue_head_t *q, wait_queue_t *wait, unsigned int mode, void *key);