Home
last modified time | relevance | path

Searched refs:waitqueue_active (Results 1 – 25 of 89) sorted by relevance

1234

/linux/fs/
H A Deventfd.c75 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 Duserfaultfd.c184 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put()
186 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put()
188 VM_BUG_ON(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put()
190 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put()
948 if (!waitqueue_active(wqh)) in find_userfault_in()
997 if (waitqueue_active(&ctx->fault_pending_wqh)) in userfaultfd_poll()
999 else if (waitqueue_active(&ctx->event_wqh)) in userfaultfd_poll()
1224 if (waitqueue_active(&ctx->fault_pending_wqh)) in __wake_userfault()
1227 if (waitqueue_active(&ctx->fault_wqh)) in __wake_userfault()
1255 need_wakeup = waitqueue_active(&ctx->fault_pending_wqh) || in wake_userfault()
[all …]
H A Deventpoll.c763 if (waitqueue_active(&ep->wq)) in ep_done_scan()
874 if (waitqueue_active(&ep->poll_wait)) in ep_clear_and_put()
1358 if (waitqueue_active(&ep->wq)) { in ep_poll_callback()
1377 if (waitqueue_active(&ep->poll_wait)) in ep_poll_callback()
1726 if (waitqueue_active(&ep->wq)) in ep_insert()
1728 if (waitqueue_active(&ep->poll_wait)) in ep_insert()
1802 if (waitqueue_active(&ep->wq)) in ep_modify()
1804 if (waitqueue_active(&ep->poll_wait)) in ep_modify()
/linux/include/linux/
H A Dsignalfd.h21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
H A Dwait.h125 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()
269 if (waitqueue_active(wq_head)) in wake_up_pollfree()
/linux/sound/core/seq/
H A Dseq_fifo.c66 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 Dseq_memory.c256 if (waitqueue_active(&pool->output_sleep)) { in snd_seq_cell_free()
491 if (waitqueue_active(&pool->output_sleep)) in snd_seq_pool_done()
/linux/fs/xfs/
H A Dxfs_drain.c67 return waitqueue_active(wq_head); in has_waiters()
H A Dxfs_log_cil.c535 if (waitqueue_active(&log->l_cilp->xc_push_wait)) in xlog_cil_over_hard_limit()
1165 if (waitqueue_active(&cil->xc_push_wait)) in xlog_cil_push_work()
1404 !waitqueue_active(&cil->xc_push_wait))) { in xlog_cil_push_background()
/linux/net/rds/
H A Dcong.c259 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 Dib_ring.c123 waitqueue_active(&rds_ib_ring_empty_wait)) in rds_ib_ring_free()
/linux/drivers/char/
H A Dapplicom.c668 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/drivers/tty/serial/jsm/
H A Djsm_tty.c683 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/fs/btrfs/
H A Dmisc.h39 if (waitqueue_active(wq)) in cond_wake_up_nomb()
/linux/lib/
H A Dsbitmap.c565 if (waitqueue_active(&ws->wait)) { in __sbitmap_queue_wake_up()
679 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all()
712 waitqueue_active(&ws->wait) ? "active" : "inactive"); in sbitmap_queue_show()
/linux/fs/smb/server/mgmt/
H A Dtree_connect.c107 waitqueue_active(&tcon->refcount_q)) in ksmbd_tree_connect_put()
/linux/sound/core/seq/oss/
H A Dseq_oss_readq.c247 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), in snd_seq_oss_readq_info_read()
/linux/drivers/misc/mei/
H A Dclient.c774 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()
2141 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_complete()
2164 if (waitqueue_active(&cl->wait)) in mei_cl_complete()
/linux/kernel/sched/
H A Dwait_bit.c125 if (waitqueue_active(wq_head)) in __wake_up_bit()
H A Dwait.c213 WARN_ON_ONCE(waitqueue_active(wq_head)); in __wake_up_pollfree()
/linux/drivers/hsi/clients/
H A Dcmt_speech.c312 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/drivers/md/
H A Ddm-log-writes.c154 if (waitqueue_active(&lc->wait)) in put_pending_block()
163 if (waitqueue_active(&lc->wait)) in put_io_block()
/linux/block/
H A Dblk-iocost.c1545 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq()
1755 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation()
2172 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_check_iocgs()
2194 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_check_iocgs()
2309 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
2631 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
/linux/tools/memory-model/Documentation/
H A Drecipes.txt500 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/fs/orangefs/
H A Dorangefs-bufmap.c114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free()

1234