Home
last modified time | relevance | path

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

1234

/Linux-v5.15/fs/
Deventfd.c80 if (waitqueue_active(&ctx->wqh)) in eventfd_signal()
213 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue()
256 if (waitqueue_active(&ctx->wqh)) in eventfd_read()
304 if (waitqueue_active(&ctx->wqh)) in eventfd_write()
Duserfaultfd.c170 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put()
172 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put()
174 VM_BUG_ON(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put()
176 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put()
919 if (!waitqueue_active(wqh)) in find_userfault_in()
968 if (waitqueue_active(&ctx->fault_pending_wqh)) in userfaultfd_poll()
970 else if (waitqueue_active(&ctx->event_wqh)) in userfaultfd_poll()
1195 if (waitqueue_active(&ctx->fault_pending_wqh)) in __wake_userfault()
1198 if (waitqueue_active(&ctx->fault_wqh)) in __wake_userfault()
1226 need_wakeup = waitqueue_active(&ctx->fault_pending_wqh) || in wake_userfault()
[all …]
Deventpoll.c662 if (waitqueue_active(&ep->wq)) in ep_done_scan()
737 if (waitqueue_active(&ep->poll_wait)) in ep_free()
1177 if (waitqueue_active(&ep->wq)) { in ep_poll_callback()
1196 if (waitqueue_active(&ep->poll_wait)) in ep_poll_callback()
1539 if (waitqueue_active(&ep->wq)) in ep_insert()
1541 if (waitqueue_active(&ep->poll_wait)) in ep_insert()
1615 if (waitqueue_active(&ep->wq)) in ep_modify()
1617 if (waitqueue_active(&ep->poll_wait)) in ep_modify()
Dsignalfd.c44 if (likely(!waitqueue_active(wqh))) in signalfd_cleanup()
/Linux-v5.15/include/linux/
Dsignalfd.h21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
Dwait.h127 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()
/Linux-v5.15/sound/core/seq/
Dseq_fifo.c66 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_delete()
132 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_event_in()
Dseq_memory.c197 if (waitqueue_active(&pool->output_sleep)) { in snd_seq_cell_free()
431 if (waitqueue_active(&pool->output_sleep)) in snd_seq_pool_done()
/Linux-v5.15/fs/btrfs/
Dmisc.h31 if (waitqueue_active(wq)) in cond_wake_up_nomb()
/Linux-v5.15/net/rds/
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()
Dib_ring.c123 waitqueue_active(&rds_ib_ring_empty_wait)) in rds_ib_ring_free()
Dib_frmr.c48 if (waitqueue_active(&rds_ib_ring_empty_wait)) in rds_transition_frwr_state()
/Linux-v5.15/drivers/char/
Dapplicom.c665 if (waitqueue_active(&FlagSleepRec)) { in ac_interrupt()
671 if (waitqueue_active(&apbs[i].FlagSleepSend)) { /* process sleep during read ? */ in ac_interrupt()
825 if (waitqueue_active(&FlagSleepRec)) in ac_ioctl()
828 if (apbs[i].RamIO && waitqueue_active(&apbs[i].FlagSleepSend)) in ac_ioctl()
/Linux-v5.15/lib/
Dsbitmap.c520 if (waitqueue_active(&ws->wait)) { in sbq_wake_ptr()
623 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all()
658 waitqueue_active(&ws->wait) ? "active" : "inactive"); in sbitmap_queue_show()
/Linux-v5.15/drivers/tty/serial/jsm/
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-v5.15/sound/core/seq/oss/
Dseq_oss_readq.c247 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), in snd_seq_oss_readq_info_read()
/Linux-v5.15/drivers/misc/mei/
Dclient.c769 if (waitqueue_active(&cl->rx_wait)) { in mei_cl_wake_all()
774 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_wake_all()
779 if (waitqueue_active(&cl->ev_wait)) { in mei_cl_wake_all()
784 if (waitqueue_active(&cl->wait)) { in mei_cl_wake_all()
2099 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_complete()
2122 if (waitqueue_active(&cl->wait)) in mei_cl_complete()
/Linux-v5.15/kernel/sched/
Dwait_bit.c125 if (waitqueue_active(wq_head)) in __wake_up_bit()
/Linux-v5.15/drivers/hsi/clients/
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-v5.15/fs/xfs/
Dxfs_log_cil.c892 if (waitqueue_active(&cil->xc_push_wait)) in xlog_cil_push_work()
1176 waitqueue_active(&cil->xc_push_wait)) { in xlog_cil_push_background()
/Linux-v5.15/block/
Dblk-iocost.c1514 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq()
1730 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation()
2147 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_check_iocgs()
2169 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_check_iocgs()
2282 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
2582 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
/Linux-v5.15/tools/memory-model/Documentation/
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-v5.15/fs/orangefs/
Dorangefs-bufmap.c114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free()
/Linux-v5.15/drivers/md/
Ddm-log-writes.c153 if (waitqueue_active(&lc->wait)) in put_pending_block()
162 if (waitqueue_active(&lc->wait)) in put_io_block()
/Linux-v5.15/mm/
Dhighmem.c353 need_wakeup = waitqueue_active(pkmap_map_wait); in kunmap_high()

1234