/Linux-v5.4/fs/ |
D | eventfd.c | 67 if (waitqueue_active(&ctx->wqh)) in eventfd_signal() 196 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue() 240 if (waitqueue_active(&ctx->wqh)) in eventfd_read() 290 if (waitqueue_active(&ctx->wqh)) in eventfd_write()
|
D | userfaultfd.c | 168 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put() 170 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put() 172 VM_BUG_ON(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put() 174 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put() 955 if (!waitqueue_active(wqh)) in find_userfault_in() 1005 if (waitqueue_active(&ctx->fault_pending_wqh)) in userfaultfd_poll() 1007 else if (waitqueue_active(&ctx->event_wqh)) in userfaultfd_poll() 1235 if (waitqueue_active(&ctx->fault_pending_wqh)) in __wake_userfault() 1238 if (waitqueue_active(&ctx->fault_wqh)) in __wake_userfault() 1266 need_wakeup = waitqueue_active(&ctx->fault_pending_wqh) || in wake_userfault() [all …]
|
D | eventpoll.c | 747 if (waitqueue_active(&ep->wq)) in ep_scan_ready_list() 749 if (waitqueue_active(&ep->poll_wait)) in ep_scan_ready_list() 818 if (waitqueue_active(&ep->poll_wait)) in ep_free() 1261 if (waitqueue_active(&ep->wq)) { in ep_poll_callback() 1280 if (waitqueue_active(&ep->poll_wait)) in ep_poll_callback() 1580 if (waitqueue_active(&ep->wq)) in ep_insert() 1582 if (waitqueue_active(&ep->poll_wait)) in ep_insert() 1686 if (waitqueue_active(&ep->wq)) in ep_modify() 1688 if (waitqueue_active(&ep->poll_wait)) in ep_modify()
|
D | signalfd.c | 44 if (likely(!waitqueue_active(wqh))) in signalfd_cleanup()
|
/Linux-v5.4/include/linux/ |
D | signalfd.h | 21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
|
D | wait.h | 124 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() function 160 return waitqueue_active(wq_head); in wq_has_sleeper()
|
/Linux-v5.4/fs/btrfs/ |
D | misc.h | 30 if (waitqueue_active(wq)) in cond_wake_up_nomb()
|
/Linux-v5.4/sound/core/seq/ |
D | seq_fifo.c | 66 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_delete() 132 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_event_in()
|
D | seq_memory.c | 195 if (waitqueue_active(&pool->output_sleep)) { in snd_seq_cell_free() 429 if (waitqueue_active(&pool->output_sleep)) in snd_seq_pool_done()
|
/Linux-v5.4/net/rds/ |
D | cong.c | 259 if (waitqueue_active(&map->m_waitq)) in rds_cong_map_updated() 261 if (waitqueue_active(&rds_poll_waitq)) in rds_cong_map_updated()
|
D | ib_ring.c | 123 waitqueue_active(&rds_ib_ring_empty_wait)) in rds_ib_ring_free()
|
D | ib_frmr.c | 48 if (waitqueue_active(&rds_ib_ring_empty_wait)) in rds_transition_frwr_state()
|
/Linux-v5.4/drivers/char/ |
D | applicom.c | 669 if (waitqueue_active(&FlagSleepRec)) { in ac_interrupt() 675 if (waitqueue_active(&apbs[i].FlagSleepSend)) { /* process sleep during read ? */ in ac_interrupt() 829 if (waitqueue_active(&FlagSleepRec)) in ac_ioctl() 832 if (apbs[i].RamIO && waitqueue_active(&apbs[i].FlagSleepSend)) in ac_ioctl()
|
/Linux-v5.4/drivers/misc/mei/ |
D | client.c | 717 if (waitqueue_active(&cl->rx_wait)) { in mei_cl_wake_all() 722 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_wake_all() 727 if (waitqueue_active(&cl->ev_wait)) { in mei_cl_wake_all() 732 if (waitqueue_active(&cl->wait)) { in mei_cl_wake_all() 1812 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_complete() 1833 if (waitqueue_active(&cl->wait)) in mei_cl_complete()
|
/Linux-v5.4/lib/ |
D | sbitmap.c | 516 if (waitqueue_active(&ws->wait)) { in sbq_wake_ptr() 619 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all() 654 waitqueue_active(&ws->wait) ? "active" : "inactive"); in sbitmap_queue_show()
|
/Linux-v5.4/drivers/tty/serial/jsm/ |
D | jsm_tty.c | 676 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier() 693 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier() 720 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier()
|
/Linux-v5.4/sound/core/seq/oss/ |
D | seq_oss_readq.c | 247 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), in snd_seq_oss_readq_info_read()
|
/Linux-v5.4/block/ |
D | blk-iocost.c | 1179 if (!waitqueue_active(&iocg->waitq)) in iocg_kick_waitq() 1373 if (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn() 1379 if (waitqueue_active(&iocg->waitq) || in ioc_timer_fn() 1422 if (waitqueue_active(&iocg->waitq)) in ioc_timer_fn() 1453 if (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn() 1470 if (waitqueue_active(&iocg->waitq)) { in ioc_timer_fn() 1723 if (!waitqueue_active(&iocg->waitq) && in ioc_rqos_throttle()
|
/Linux-v5.4/kernel/sched/ |
D | wait_bit.c | 125 if (waitqueue_active(wq_head)) in __wake_up_bit()
|
/Linux-v5.4/mm/ |
D | highmem.c | 362 need_wakeup = waitqueue_active(pkmap_map_wait); in kunmap_high()
|
/Linux-v5.4/drivers/hsi/clients/ |
D | cmt_speech.c | 312 if (unlikely(waitqueue_active(&hi->datawait))) in cs_hsi_data_destructor() 592 if (unlikely(waitqueue_active(&hi->datawait))) in cs_hsi_read_on_data_complete() 683 if (unlikely(waitqueue_active(&hi->datawait))) in cs_hsi_write_on_data_complete()
|
/Linux-v5.4/tools/memory-model/Documentation/ |
D | recipes.txt | 500 of ordering wakeups. The following comment taken from waitqueue_active() 508 * if (waitqueue_active(wq_head)) if (@cond) 514 On CPU0, the store is to @cond and the load is in waitqueue_active().
|
/Linux-v5.4/fs/orangefs/ |
D | orangefs-bufmap.c | 114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free()
|
/Linux-v5.4/drivers/md/ |
D | dm-log-writes.c | 153 if (waitqueue_active(&lc->wait)) in put_pending_block() 162 if (waitqueue_active(&lc->wait)) in put_io_block()
|
/Linux-v5.4/drivers/tty/ |
D | tty_io.c | 1701 if (waitqueue_active(&tty->read_wait)) { in tty_release() 1705 if (waitqueue_active(&tty->write_wait)) { in tty_release() 1711 if (waitqueue_active(&o_tty->read_wait)) { in tty_release() 1715 if (waitqueue_active(&o_tty->write_wait)) { in tty_release()
|