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

1234

/linux-master/include/linux/
H A Dsignalfd.h21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh)))
H A Dwait.h96 * waitqueue_active -- locklessly test for waiters on the queue
112 * if (waitqueue_active(wq_head)) if (@cond)
119 * waitqueue_active() load to get hoisted over the @cond store such that we'll
125 static inline int waitqueue_active(struct wait_queue_head *wq_head) function
136 * Please refer to the comment for waitqueue_active.
149 * Please refer to the comment for waitqueue_active.
161 return waitqueue_active(wq_head);
269 if (waitqueue_active(wq_head))
/linux-master/fs/xfs/
H A Dxfs_drain.c67 return waitqueue_active(wq_head);
H A Dxfs_log_cil.c526 * The use of lockless waitqueue_active() requires that the caller has
535 if (waitqueue_active(&log->l_cilp->xc_push_wait))
1162 * necessary for safely using the lockless waitqueue_active() check in
1165 if (waitqueue_active(&cil->xc_push_wait))
1404 !waitqueue_active(&cil->xc_push_wait))) {
/linux-master/fs/
H A Deventfd.c75 if (waitqueue_active(&ctx->wqh))
144 * if (waitqueue_active)
156 * **waitqueue_active is false**
206 if (*cnt != 0 && waitqueue_active(&ctx->wqh))
237 if (waitqueue_active(&ctx->wqh))
273 if (waitqueue_active(&ctx->wqh))
H A Duserfaultfd.c183 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh));
185 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh));
187 VM_BUG_ON(waitqueue_active(&ctx->event_wqh));
189 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh));
940 if (!waitqueue_active(wqh))
980 * the spin_unlock would allow the waitqueue_active to
984 * add_wait_queue() with the waitqueue_active read
989 if (waitqueue_active(&ctx->fault_pending_wqh))
991 else if (waitqueue_active(&ctx->event_wqh))
1216 if (waitqueue_active(
[all...]
H A Deventpoll.c763 if (waitqueue_active(&ep->wq))
874 if (waitqueue_active(&ep->poll_wait))
1322 if (waitqueue_active(&ep->wq)) {
1341 if (waitqueue_active(&ep->poll_wait))
1690 if (waitqueue_active(&ep->wq))
1692 if (waitqueue_active(&ep->poll_wait))
1766 if (waitqueue_active(&ep->wq))
1768 if (waitqueue_active(&ep->poll_wait))
2006 * Barrierless variant, waitqueue_active() is called under
/linux-master/net/rds/
H A Dib_ring.c123 waitqueue_active(&rds_ib_ring_empty_wait))
H A Dcong.c259 if (waitqueue_active(&map->m_waitq))
261 if (waitqueue_active(&rds_poll_waitq))
H A Dib_frmr.c48 if (waitqueue_active(&rds_ib_ring_empty_wait))
/linux-master/fs/btrfs/
H A Dmisc.h25 * waitqueue_active why.
35 * waitqueue_active is implied by some of the preceding code. Eg. one
39 if (waitqueue_active(wq))
/linux-master/sound/core/seq/
H A Dseq_fifo.c66 if (waitqueue_active(&f->input_sleep))
130 if (waitqueue_active(&f->input_sleep))
H A Dseq_memory.c256 if (waitqueue_active(&pool->output_sleep)) {
491 if (waitqueue_active(&pool->output_sleep))
/linux-master/sound/core/seq/oss/
H A Dseq_oss_readq.c247 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"),
/linux-master/fs/smb/server/mgmt/
H A Dtree_connect.c103 * tree disconnect. waitqueue_active is safe because it
107 waitqueue_active(&tcon->refcount_q))
/linux-master/drivers/tty/serial/jsm/
H A Djsm_tty.c683 if (waitqueue_active(&(ch->ch_flags_wait)))
700 if (waitqueue_active(&(ch->ch_flags_wait)))
727 if (waitqueue_active(&(ch->ch_flags_wait)))
/linux-master/lib/
H A Dsbitmap.c565 if (waitqueue_active(&ws->wait)) {
656 * proper ordering of clear_bit_unlock()/waitqueue_active() in the waker
658 * waiter. See the comment on waitqueue_active().
679 if (waitqueue_active(&ws->wait))
712 waitqueue_active(&ws->wait) ? "active" : "inactive");
/linux-master/kernel/sched/
H A Dwait_bit.c125 if (waitqueue_active(wq_head))
140 * In order for this to function properly, as it uses waitqueue_active()
H A Dwait.c213 WARN_ON_ONCE(waitqueue_active(wq_head));
/linux-master/drivers/char/
H A Dapplicom.c668 if (waitqueue_active(&FlagSleepRec)) {
674 if (waitqueue_active(&apbs[i].FlagSleepSend)) { /* process sleep during read ? */
828 if (waitqueue_active(&FlagSleepRec))
831 if (apbs[i].RamIO && waitqueue_active(&apbs[i].FlagSleepSend))
/linux-master/drivers/misc/mei/
H A Dclient.c774 if (waitqueue_active(&cl->rx_wait)) {
779 if (waitqueue_active(&cl->tx_wait)) {
784 if (waitqueue_active(&cl->ev_wait)) {
789 if (waitqueue_active(&cl->wait)) {
2141 if (waitqueue_active(&cl->tx_wait)) {
2164 if (waitqueue_active(&cl->wait))
/linux-master/drivers/hsi/clients/
H A Dcmt_speech.c312 if (unlikely(waitqueue_active(&hi->datawait)))
592 if (unlikely(waitqueue_active(&hi->datawait)))
683 if (unlikely(waitqueue_active(&hi->datawait)))
855 * so that callbacks can check for waitqueue_active()
/linux-master/fs/orangefs/
H A Dorangefs-bufmap.c114 else if (left <= 0 && waitqueue_active(&m->q))
/linux-master/fs/smb/server/
H A Dserver.c276 * disconnection. waitqueue_active is safe because it
279 if (!atomic_dec_return(&conn->r_count) && waitqueue_active(&conn->r_count_q))
/linux-master/drivers/md/
H A Ddm-log-writes.c154 if (waitqueue_active(&lc->wait))
163 if (waitqueue_active(&lc->wait))

Completed in 442 milliseconds

1234