/linux/fs/ |
H A D | eventfd.c | 75 if (waitqueue_active(&ctx->wqh)) in eventfd_signal_mask() 206 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue() 237 if (waitqueue_active(&ctx->wqh)) in eventfd_read() 273 if (waitqueue_active(&ctx->wqh)) in eventfd_write()
|
H A D | userfaultfd.c | 169 VM_WARN_ON_ONCE(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put() 171 VM_WARN_ON_ONCE(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put() 173 VM_WARN_ON_ONCE(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put() 175 VM_WARN_ON_ONCE(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put() 898 if (!waitqueue_active(wqh)) in find_userfault_in() 947 if (waitqueue_active(&ctx->fault_pending_wqh)) in userfaultfd_poll() 949 else if (waitqueue_active(&ctx->event_wqh)) in userfaultfd_poll() 1174 if (waitqueue_active(&ctx->fault_pending_wqh)) in __wake_userfault() 1177 if (waitqueue_active(&ctx->fault_wqh)) in __wake_userfault() 1205 need_wakeup = waitqueue_active(&ctx->fault_pending_wqh) || in wake_userfault() [all …]
|
H A D | eventpoll.c | 792 if (waitqueue_active(&ep->wq)) in ep_done_scan() 905 if (waitqueue_active(&ep->poll_wait)) in ep_clear_and_put() 1387 if (waitqueue_active(&ep->wq)) { in ep_poll_callback() 1409 if (waitqueue_active(&ep->poll_wait)) in ep_poll_callback() 1759 if (waitqueue_active(&ep->wq)) in ep_insert() 1761 if (waitqueue_active(&ep->poll_wait)) in ep_insert() 1835 if (waitqueue_active(&ep->wq)) in ep_modify() 1837 if (waitqueue_active(&ep->poll_wait)) in ep_modify()
|
/linux/include/linux/ |
H A D | signalfd.h | 21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
|
H A D | wait.h | 125 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() function 161 return waitqueue_active(wq_head); in wq_has_sleeper() 272 if (waitqueue_active(wq_head)) in wake_up_pollfree()
|
/linux/sound/core/seq/ |
H A D | seq_fifo.c | 66 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_delete() 130 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_event_in()
|
H A D | seq_memory.c | 256 if (waitqueue_active(&pool->output_sleep)) { in snd_seq_cell_free() 492 if (waitqueue_active(&pool->output_sleep)) in snd_seq_pool_done()
|
/linux/fs/xfs/ |
H A D | xfs_drain.c | 67 return waitqueue_active(wq_head); in has_waiters()
|
H A D | xfs_log_cil.c | 520 if (waitqueue_active(&log->l_cilp->xc_push_wait)) in xlog_cil_over_hard_limit() 1324 if (waitqueue_active(&cil->xc_push_wait)) in xlog_cil_push_work() 1563 !waitqueue_active(&cil->xc_push_wait))) { in xlog_cil_push_background()
|
/linux/net/rds/ |
H 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()
|
H A D | ib_ring.c | 123 waitqueue_active(&rds_ib_ring_empty_wait)) in rds_ib_ring_free()
|
H A D | ib_frmr.c | 48 if (waitqueue_active(&rds_ib_ring_empty_wait)) in rds_transition_frwr_state()
|
/linux/drivers/char/ |
H A D | applicom.c | 667 if (waitqueue_active(&FlagSleepRec)) { in ac_interrupt() 673 if (waitqueue_active(&apbs[i].FlagSleepSend)) { /* process sleep during read ? */ in ac_interrupt() 827 if (waitqueue_active(&FlagSleepRec)) in ac_ioctl() 830 if (apbs[i].RamIO && waitqueue_active(&apbs[i].FlagSleepSend)) in ac_ioctl()
|
/linux/fs/btrfs/ |
H A D | misc.h | 41 if (waitqueue_active(wq)) in cond_wake_up_nomb()
|
/linux/fs/smb/server/ |
H A D | connection.c | 137 if (waitqueue_active(&conn->req_running_q)) in ksmbd_conn_try_dequeue_request() 451 if (!atomic_dec_return(&conn->r_count) && waitqueue_active(&conn->r_count_q)) in ksmbd_conn_r_count_dec()
|
/linux/lib/ |
H A D | sbitmap.c | 603 if (waitqueue_active(&ws->wait)) { in __sbitmap_queue_wake_up() 717 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all() 750 waitqueue_active(&ws->wait) ? "active" : "inactive"); in sbitmap_queue_show()
|
/linux/drivers/tty/serial/jsm/ |
H A D | jsm_tty.c | 684 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier() 701 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier() 728 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier()
|
/linux/fs/smb/server/mgmt/ |
H A D | tree_connect.c | 109 waitqueue_active(&tcon->refcount_q)) in ksmbd_tree_connect_put()
|
/linux/sound/core/seq/oss/ |
H A D | seq_oss_readq.c | 247 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), in snd_seq_oss_readq_info_read()
|
/linux/block/ |
H A D | blk-rq-qos.c | 273 if (!waitqueue_active(&rqw->wait) && acquire_inflight_cb(rqw, private_data)) in rq_qos_wait()
|
H A D | blk-iocost.c | 1552 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq() 1762 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation() 2181 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_check_iocgs() 2203 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_check_iocgs() 2318 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn() 2640 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
|
/linux/drivers/hsi/clients/ |
H 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/fs/orangefs/ |
H A D | orangefs-bufmap.c | 114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free()
|
/linux/drivers/md/ |
H 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/tools/memory-model/Documentation/ |
H A D | recipes.txt | 504 of ordering wakeups. The following comment taken from waitqueue_active() 512 * if (waitqueue_active(wq_head)) if (@cond) 518 On CPU0, the store is to @cond and the load is in waitqueue_active().
|