Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_wait_queue.c38 MALI_DEBUG_ASSERT(!waitqueue_active(&ret->wait_queue)); in _mali_osk_wait_queue_init()
62 if (!waitqueue_active(&queue->wait_queue)) return; in _mali_osk_wait_queue_wake_up()
/OK3568_Linux_fs/kernel/fs/
H A Deventfd.c68 if (waitqueue_active(&ctx->wqh)) in eventfd_signal_mask()
217 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue()
260 if (waitqueue_active(&ctx->wqh)) in eventfd_read()
308 if (waitqueue_active(&ctx->wqh)) in eventfd_write()
H A 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()
924 if (!waitqueue_active(wqh)) in find_userfault_in()
973 if (waitqueue_active(&ctx->fault_pending_wqh)) in userfaultfd_poll()
975 else if (waitqueue_active(&ctx->event_wqh)) in userfaultfd_poll()
1200 if (waitqueue_active(&ctx->fault_pending_wqh)) in __wake_userfault()
1203 if (waitqueue_active(&ctx->fault_wqh)) in __wake_userfault()
1231 need_wakeup = waitqueue_active(&ctx->fault_pending_wqh) || in wake_userfault()
[all …]
H A Deventpoll.c756 if (waitqueue_active(&ep->wq)) in ep_scan_ready_list()
822 if (waitqueue_active(&ep->poll_wait)) in ep_free()
1265 if (waitqueue_active(&ep->wq)) { in ep_poll_callback()
1284 if (waitqueue_active(&ep->poll_wait)) in ep_poll_callback()
1590 if (waitqueue_active(&ep->wq)) in ep_insert()
1592 if (waitqueue_active(&ep->poll_wait)) in ep_insert()
1695 if (waitqueue_active(&ep->wq)) in ep_modify()
1697 if (waitqueue_active(&ep->poll_wait)) in ep_modify()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsignalfd.h21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
H A Dwait.h126 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() function
162 return waitqueue_active(wq_head); in wq_has_sleeper()
261 if (waitqueue_active(wq_head)) in wake_up_pollfree()
/OK3568_Linux_fs/kernel/sound/core/seq/
H A 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()
H A Dseq_memory.c198 if (waitqueue_active(&pool->output_sleep)) { in snd_seq_cell_free()
432 if (waitqueue_active(&pool->output_sleep)) in snd_seq_pool_done()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dmisc.h31 if (waitqueue_active(wq)) in cond_wake_up_nomb()
/OK3568_Linux_fs/kernel/drivers/misc/mei/
H A Dclient.c768 if (waitqueue_active(&cl->rx_wait)) { in mei_cl_wake_all()
773 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_wake_all()
778 if (waitqueue_active(&cl->ev_wait)) { in mei_cl_wake_all()
783 if (waitqueue_active(&cl->wait)) { in mei_cl_wake_all()
2093 if (waitqueue_active(&cl->tx_wait)) { in mei_cl_complete()
2114 if (waitqueue_active(&cl->wait)) in mei_cl_complete()
/OK3568_Linux_fs/kernel/lib/
H A Dsbitmap.c502 if (waitqueue_active(&ws->wait)) { in sbq_wake_ptr()
605 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all()
640 waitqueue_active(&ws->wait) ? "active" : "inactive"); in sbitmap_queue_show()
/OK3568_Linux_fs/kernel/drivers/tty/serial/jsm/
H A Djsm_tty.c679 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier()
696 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier()
723 if (waitqueue_active(&(ch->ch_flags_wait))) in jsm_carrier()
/OK3568_Linux_fs/kernel/sound/core/seq/oss/
H A Dseq_oss_readq.c247 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), in snd_seq_oss_readq_info_read()
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dwait_bit.c125 if (waitqueue_active(wq_head)) in __wake_up_bit()
H A Dwait.c234 WARN_ON_ONCE(waitqueue_active(wq_head)); in __wake_up_pollfree()
/OK3568_Linux_fs/kernel/mm/
H A Dhighmem.c362 need_wakeup = waitqueue_active(pkmap_map_wait); in kunmap_high()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_log_cil.c678 if (waitqueue_active(&cil->xc_push_wait)) in xlog_cil_push_work()
948 waitqueue_active(&cil->xc_push_wait)) { in xlog_cil_push_background()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/block/
H A Dblk-iocost.c1468 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq()
1684 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation()
2120 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_timer_fn()
2142 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_timer_fn()
2237 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
2577 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
/OK3568_Linux_fs/kernel/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().
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-log-writes.c153 if (waitqueue_active(&lc->wait)) in put_pending_block()
162 if (waitqueue_active(&lc->wait)) in put_io_block()
/OK3568_Linux_fs/kernel/fs/orangefs/
H A Dorangefs-bufmap.c114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free()

12345