Home
last modified time | relevance | path

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

1234

/Linux-v4.19/fs/
Deventfd.c62 if (waitqueue_active(&ctx->wqh)) in eventfd_signal()
189 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue()
233 if (waitqueue_active(&ctx->wqh)) in eventfd_read()
283 if (waitqueue_active(&ctx->wqh)) in eventfd_write()
Duserfaultfd.c159 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put()
161 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put()
163 VM_BUG_ON(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put()
165 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put()
932 if (!waitqueue_active(wqh)) in find_userfault_in()
982 if (waitqueue_active(&ctx->fault_pending_wqh)) in userfaultfd_poll()
984 else if (waitqueue_active(&ctx->event_wqh)) in userfaultfd_poll()
1212 if (waitqueue_active(&ctx->fault_pending_wqh)) in __wake_userfault()
1215 if (waitqueue_active(&ctx->fault_wqh)) in __wake_userfault()
1243 need_wakeup = waitqueue_active(&ctx->fault_pending_wqh) || in wake_userfault()
[all …]
Deventpoll.c747 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()
1183 if (waitqueue_active(&ep->wq)) { in ep_poll_callback()
1202 if (waitqueue_active(&ep->poll_wait)) in ep_poll_callback()
1503 if (waitqueue_active(&ep->wq)) in ep_insert()
1505 if (waitqueue_active(&ep->poll_wait)) in ep_insert()
1609 if (waitqueue_active(&ep->wq)) in ep_modify()
1611 if (waitqueue_active(&ep->poll_wait)) in ep_modify()
Dsignalfd.c44 if (likely(!waitqueue_active(wqh))) in signalfd_cleanup()
/Linux-v4.19/include/linux/
Dsignalfd.h21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
Dwait.h124 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() function
147 return waitqueue_active(wq_head); in wq_has_sleeper()
/Linux-v4.19/sound/core/seq/
Dseq_fifo.c81 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_delete()
148 if (waitqueue_active(&f->input_sleep)) in snd_seq_fifo_event_in()
Dseq_memory.c209 if (waitqueue_active(&pool->output_sleep)) { in snd_seq_cell_free()
445 if (waitqueue_active(&pool->output_sleep)) in snd_seq_pool_done()
/Linux-v4.19/lib/
Dsbitmap.c447 if (waitqueue_active(&ws->wait)) { in sbq_wake_ptr()
540 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all()
574 waitqueue_active(&ws->wait) ? "active" : "inactive"); in sbitmap_queue_show()
/Linux-v4.19/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()
/Linux-v4.19/drivers/char/
Dapplicom.c663 if (waitqueue_active(&FlagSleepRec)) { in ac_interrupt()
669 if (waitqueue_active(&apbs[i].FlagSleepSend)) { /* process sleep during read ? */ in ac_interrupt()
826 if (waitqueue_active(&FlagSleepRec)) in ac_ioctl()
829 if (apbs[i].RamIO && waitqueue_active(&apbs[i].FlagSleepSend)) in ac_ioctl()
/Linux-v4.19/drivers/misc/mei/
Dclient.c741 if (waitqueue_active(&cl->rx_wait)) { in mei_cl_wake_all()
746 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_wake_all()
751 if (waitqueue_active(&cl->ev_wait)) { in mei_cl_wake_all()
756 if (waitqueue_active(&cl->wait)) { in mei_cl_wake_all()
1796 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_complete()
1817 if (waitqueue_active(&cl->wait)) in mei_cl_complete()
/Linux-v4.19/drivers/tty/serial/jsm/
Djsm_tty.c676 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-v4.19/sound/core/seq/oss/
Dseq_oss_readq.c260 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), in snd_seq_oss_readq_info_read()
/Linux-v4.19/kernel/sched/
Dwait_bit.c124 if (waitqueue_active(wq_head)) in __wake_up_bit()
/Linux-v4.19/mm/
Dhighmem.c363 need_wakeup = waitqueue_active(pkmap_map_wait); in kunmap_high()
Dvmscan.c3112 if (!wmark_ok && waitqueue_active(&pgdat->kswapd_wait)) { in allow_direct_reclaim()
3424 if (waitqueue_active(&pgdat->pfmemalloc_wait)) in prepare_kswapd_sleep()
3585 if (waitqueue_active(&pgdat->pfmemalloc_wait) && in balance_pgdat()
3831 if (!waitqueue_active(&pgdat->kswapd_wait)) in wakeup_kswapd()
/Linux-v4.19/drivers/hsi/clients/
Dcmt_speech.c325 if (unlikely(waitqueue_active(&hi->datawait))) in cs_hsi_data_destructor()
605 if (unlikely(waitqueue_active(&hi->datawait))) in cs_hsi_read_on_data_complete()
696 if (unlikely(waitqueue_active(&hi->datawait))) in cs_hsi_write_on_data_complete()
/Linux-v4.19/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-v4.19/drivers/mtd/nand/raw/
Dtmio_nand.c177 if (unlikely(!waitqueue_active(&nand_chip->controller->wq))) in tmio_irq()
/Linux-v4.19/fs/orangefs/
Dorangefs-bufmap.c114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free()
/Linux-v4.19/drivers/md/
Ddm-log-writes.c151 if (waitqueue_active(&lc->wait)) in put_pending_block()
160 if (waitqueue_active(&lc->wait)) in put_io_block()
/Linux-v4.19/drivers/tty/
Dtty_io.c1683 if (waitqueue_active(&tty->read_wait)) { in tty_release()
1687 if (waitqueue_active(&tty->write_wait)) { in tty_release()
1693 if (waitqueue_active(&o_tty->read_wait)) { in tty_release()
1697 if (waitqueue_active(&o_tty->write_wait)) { in tty_release()
/Linux-v4.19/drivers/video/fbdev/
Darcfb.c233 if (waitqueue_active(&arcfb_waitq)) { in arcfb_interrupt()

1234