Searched refs:wq (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | workqueue.c | 49 struct workqueue_struct *wq; member 87 static inline int is_wq_single_threaded(struct workqueue_struct *wq) in is_wq_single_threaded() argument 89 return wq->singlethread; in is_wq_single_threaded() 92 static const struct cpumask *wq_cpu_map(struct workqueue_struct *wq) in wq_cpu_map() argument 94 return is_wq_single_threaded(wq) in wq_cpu_map() 99 struct cpu_workqueue_struct *wq_per_cpu(struct workqueue_struct *wq, int cpu) in wq_per_cpu() argument 101 if (unlikely(is_wq_single_threaded(wq))) in wq_per_cpu() 103 return per_cpu_ptr(wq->cpu_wq, cpu); in wq_per_cpu() 161 int queue_work(struct workqueue_struct *wq, struct work_struct *work) in queue_work() argument 165 ret = queue_work_on(get_cpu(), wq, work); in queue_work() [all …]
|
D | wait.c | 193 __wait_on_bit(wait_queue_head_t *wq, struct wait_bit_queue *q, in __wait_on_bit() argument 199 prepare_to_wait(wq, &q->wait, mode); in __wait_on_bit() 203 finish_wait(wq, &q->wait); in __wait_on_bit() 211 wait_queue_head_t *wq = bit_waitqueue(word, bit); in out_of_line_wait_on_bit() local 214 return __wait_on_bit(wq, &wait, action, mode); in out_of_line_wait_on_bit() 219 __wait_on_bit_lock(wait_queue_head_t *wq, struct wait_bit_queue *q, in __wait_on_bit_lock() argument 225 prepare_to_wait_exclusive(wq, &q->wait, mode); in __wait_on_bit_lock() 231 abort_exclusive_wait(wq, &q->wait, mode, &q->key); in __wait_on_bit_lock() 234 finish_wait(wq, &q->wait); in __wait_on_bit_lock() 242 wait_queue_head_t *wq = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_lock() local [all …]
|
D | async.c | 318 DECLARE_WAITQUEUE(wq, current); in async_thread() 319 add_wait_queue(&async_new, &wq); in async_thread() 352 remove_wait_queue(&async_new, &wq); in async_thread() 359 DECLARE_WAITQUEUE(wq, current); in async_manager_thread() 360 add_wait_queue(&async_new, &wq); in async_manager_thread() 383 remove_wait_queue(&async_new, &wq); in async_manager_thread()
|