/linux-6.3-rc2/fs/ |
A D | eventfd.c | 66 if (waitqueue_active(&ctx->wqh)) in eventfd_signal_mask() 218 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue() 262 if (waitqueue_active(&ctx->wqh)) in eventfd_read() 312 if (waitqueue_active(&ctx->wqh)) in eventfd_write()
|
A D | userfaultfd.c | 188 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put() 190 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put() 192 VM_BUG_ON(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put() 194 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put() 957 if (!waitqueue_active(wqh)) in find_userfault_in() 1006 if (waitqueue_active(&ctx->fault_pending_wqh)) in userfaultfd_poll() 1008 else if (waitqueue_active(&ctx->event_wqh)) in userfaultfd_poll() 1233 if (waitqueue_active(&ctx->fault_pending_wqh)) in __wake_userfault() 1236 if (waitqueue_active(&ctx->fault_wqh)) in __wake_userfault() 1264 need_wakeup = waitqueue_active(&ctx->fault_pending_wqh) || in wake_userfault() [all …]
|
A D | eventpoll.c | 671 if (waitqueue_active(&ep->wq)) in ep_done_scan() 746 if (waitqueue_active(&ep->poll_wait)) in ep_free() 1186 if (waitqueue_active(&ep->wq)) { in ep_poll_callback() 1205 if (waitqueue_active(&ep->poll_wait)) in ep_poll_callback() 1548 if (waitqueue_active(&ep->wq)) in ep_insert() 1550 if (waitqueue_active(&ep->poll_wait)) in ep_insert() 1624 if (waitqueue_active(&ep->wq)) in ep_modify() 1626 if (waitqueue_active(&ep->poll_wait)) in ep_modify()
|
/linux-6.3-rc2/include/linux/ |
A D | signalfd.h | 21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
|
A D | wait.h | 127 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() function 163 return waitqueue_active(wq_head); in wq_has_sleeper() 270 if (waitqueue_active(wq_head)) in wake_up_pollfree()
|
/linux-6.3-rc2/sound/core/seq/ |
A 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()
|
A D | seq_memory.c | 200 if (waitqueue_active(&pool->output_sleep)) { in snd_seq_cell_free() 434 if (waitqueue_active(&pool->output_sleep)) in snd_seq_pool_done()
|
/linux-6.3-rc2/net/rds/ |
A 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()
|
A D | ib_ring.c | 123 waitqueue_active(&rds_ib_ring_empty_wait)) in rds_ib_ring_free()
|
/linux-6.3-rc2/drivers/char/ |
A D | applicom.c | 668 if (waitqueue_active(&FlagSleepRec)) { in ac_interrupt() 674 if (waitqueue_active(&apbs[i].FlagSleepSend)) { /* process sleep during read ? */ in ac_interrupt() 828 if (waitqueue_active(&FlagSleepRec)) in ac_ioctl() 831 if (apbs[i].RamIO && waitqueue_active(&apbs[i].FlagSleepSend)) in ac_ioctl()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | misc.h | 39 if (waitqueue_active(wq)) in cond_wake_up_nomb()
|
/linux-6.3-rc2/drivers/tty/serial/jsm/ |
A D | jsm_tty.c | 683 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier() 700 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier() 727 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier()
|
/linux-6.3-rc2/lib/ |
A D | sbitmap.c | 574 if (waitqueue_active(&ws->wait) && in __sbitmap_queue_wake_up() 685 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all() 718 waitqueue_active(&ws->wait) ? "active" : "inactive"); in sbitmap_queue_show()
|
/linux-6.3-rc2/sound/core/seq/oss/ |
A D | seq_oss_readq.c | 247 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), in snd_seq_oss_readq_info_read()
|
/linux-6.3-rc2/drivers/misc/mei/ |
A D | client.c | 774 if (waitqueue_active(&cl->rx_wait)) { in mei_cl_wake_all() 779 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_wake_all() 784 if (waitqueue_active(&cl->ev_wait)) { in mei_cl_wake_all() 789 if (waitqueue_active(&cl->wait)) { in mei_cl_wake_all() 2139 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_complete() 2162 if (waitqueue_active(&cl->wait)) in mei_cl_complete()
|
/linux-6.3-rc2/kernel/sched/ |
A D | wait_bit.c | 125 if (waitqueue_active(wq_head)) in __wake_up_bit()
|
A D | wait.c | 248 WARN_ON_ONCE(waitqueue_active(wq_head)); in __wake_up_pollfree()
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_log_cil.c | 530 if (waitqueue_active(&log->l_cilp->xc_push_wait)) in xlog_cil_over_hard_limit() 1213 if (waitqueue_active(&cil->xc_push_wait)) in xlog_cil_push_work() 1448 !waitqueue_active(&cil->xc_push_wait))) { in xlog_cil_push_background()
|
/linux-6.3-rc2/io_uring/ |
A D | io_uring.h | 244 if (waitqueue_active(&ctx->cq_wait)) in __io_cqring_wake()
|
/linux-6.3-rc2/drivers/hsi/clients/ |
A 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-6.3-rc2/drivers/md/ |
A D | dm-log-writes.c | 154 if (waitqueue_active(&lc->wait)) in put_pending_block() 163 if (waitqueue_active(&lc->wait)) in put_io_block()
|
/linux-6.3-rc2/block/ |
A D | blk-iocost.c | 1534 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq() 1744 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation() 2161 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_check_iocgs() 2183 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_check_iocgs() 2298 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn() 2615 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
|
/linux-6.3-rc2/tools/memory-model/Documentation/ |
A 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-6.3-rc2/fs/ksmbd/ |
A D | server.c | 267 if (!atomic_dec_return(&conn->r_count) && waitqueue_active(&conn->r_count_q)) in handle_ksmbd_work()
|
/linux-6.3-rc2/fs/orangefs/ |
A D | orangefs-bufmap.c | 114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free()
|