Searched refs:wq_head (Results 1 – 8 of 8) sorted by relevance
/linux/kernel/sched/ |
H A D | wait.c | 8 void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key… in __init_waitqueue_head() argument 10 spin_lock_init(&wq_head->lock); in __init_waitqueue_head() 11 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head() 12 INIT_LIST_HEAD(&wq_head->head); in __init_waitqueue_head() 17 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue() argument 22 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue() 23 __add_wait_queue(wq_head, wq_entry); in add_wait_queue() 24 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue() 28 void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_exclusive() argument 33 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive() [all …]
|
/linux/fs/ |
H A D | fs-writeback.c | 1539 struct wait_queue_head *wq_head; in inode_wait_for_writeback() local 1546 wq_head = inode_bit_waitqueue(&wqe, inode, __I_SYNC); in inode_wait_for_writeback() 1548 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_wait_for_writeback() 1556 finish_wait(wq_head, &wqe.wq_entry); in inode_wait_for_writeback() 1568 struct wait_queue_head *wq_head; in inode_sleep_on_writeback() local 1573 wq_head = inode_bit_waitqueue(&wqe, inode, __I_SYNC); in inode_sleep_on_writeback() 1574 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback() 1580 finish_wait(wq_head, &wqe.wq_entry); in inode_sleep_on_writeback()
|
H A D | inode.c | 587 struct wait_queue_head *wq_head; in inode_wait_for_lru_isolating() local 593 wq_head = inode_bit_waitqueue(&wqe, inode, __I_LRU_ISOLATING); in inode_wait_for_lru_isolating() 595 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in inode_wait_for_lru_isolating() 606 finish_wait(wq_head, &wqe.wq_entry); in inode_wait_for_lru_isolating() 2485 struct wait_queue_head *wq_head; in __wait_on_freeing_inode() local 2496 wq_head = inode_bit_waitqueue(&wqe, inode, __I_NEW); in __wait_on_freeing_inode() 2497 prepare_to_wait_event(wq_head, &wqe.wq_entry, TASK_UNINTERRUPTIBLE); in __wait_on_freeing_inode() 2503 finish_wait(wq_head, &wqe.wq_entry); in __wait_on_freeing_inode()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_rx.c | 243 u16 wq_head; in mlx5e_rx_reporter_build_diagnose_output_rq_common() local 251 wq_head = mlx5e_rqwq_get_head(rq); in mlx5e_rx_reporter_build_diagnose_output_rq_common() 258 devlink_fmsg_u32_pair_put(fmsg, "cc", wq_head); in mlx5e_rx_reporter_build_diagnose_output_rq_common()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_context_types.h | 296 u32 *wq_head; member
|
/linux/tools/memory-model/Documentation/ |
H A D | recipes.txt | 506 * @cond = true; prepare_to_wait(&wq_head, &wait, state); 508 * if (waitqueue_active(wq_head)) if (@cond) 509 * wake_up(wq_head); break; 512 * finish_wait(&wq_head, &wait); 515 On CPU1, prepare_to_wait() contains both a store to wq_head and a call
|
/linux/fs/bcachefs/ |
H A D | fs.c | 1886 struct wait_queue_head *wq_head; in bch2_evict_subvolume_inodes() local 1888 wq_head = inode_bit_waitqueue(&wqe, &inode->v, __I_NEW); in bch2_evict_subvolume_inodes() 1889 prepare_to_wait_event(wq_head, &wqe.wq_entry, in bch2_evict_subvolume_inodes() 1894 finish_wait(wq_head, &wqe.wq_entry); in bch2_evict_subvolume_inodes()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_submission.c | 506 ce->parallel.guc.wqi_head = READ_ONCE(*ce->parallel.guc.wq_head); in get_wq_pointer() 2823 ce->parallel.guc.wq_head = &pdesc->head; in prepare_context_registration_info_v69() 2897 ce->parallel.guc.wq_head = &wq_desc->head; in prepare_context_registration_info_v70() 5550 READ_ONCE(*ce->parallel.guc.wq_head)); in intel_guc_submission_print_context_info()
|