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

/linux-4.1.27/include/linux/
H A Dsignalfd.h20 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) signalfd_notify()
H A Dwait.h105 static inline int waitqueue_active(wait_queue_head_t *q) waitqueue_active() function
/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss_readq.c94 if (waitqueue_active(&q->midi_sleep)) snd_seq_oss_readq_clear()
141 if (waitqueue_active(&q->midi_sleep)) snd_seq_oss_readq_put_event()
233 (waitqueue_active(&q->midi_sleep) ? "sleeping":"running"), snd_seq_oss_readq_info_read()
H A Dseq_oss_writeq.c141 if (waitqueue_active(&q->sync_sleep)) { snd_seq_oss_writeq_wakeup()
/linux-4.1.27/fs/btrfs/
H A Dlocking.c83 waitqueue_active(&eb->write_lock_wq)) btrfs_clear_lock_blocking_rw()
90 waitqueue_active(&eb->read_lock_wq)) btrfs_clear_lock_blocking_rw()
233 waitqueue_active(&eb->read_lock_wq)) btrfs_tree_read_unlock_blocking()
283 if (waitqueue_active(&eb->write_lock_wq)) btrfs_tree_unlock()
H A Ddev-replace.c454 if (waitqueue_active(&fs_info->replace_wait)) btrfs_rm_dev_replace_unblocked()
920 if (waitqueue_active(&fs_info->replace_wait)) btrfs_bio_counter_sub()
H A Dordered-data.c355 if (waitqueue_active(&entry->wait)) btrfs_dec_test_first_ordered_pending()
419 if (waitqueue_active(&entry->wait)) btrfs_dec_test_ordered_pending()
H A Dtransaction.c97 ASSERT(!waitqueue_active(&state->wq)); clear_btree_io_tree()
820 if (waitqueue_active(&cur_trans->writer_wait)) __btrfs_end_transaction()
H A Dcompression.c842 if (waitqueue_active(workspace_wait)) free_workspace()
H A Dtree-log.c242 if (waitqueue_active(&root->log_writer_wait)) btrfs_end_log_trans()
2726 if (waitqueue_active(&log_root_tree->log_writer_wait)) btrfs_sync_log()
2855 if (waitqueue_active(&log_root_tree->log_commit_wait[index2])) btrfs_sync_log()
2866 if (waitqueue_active(&root->log_commit_wait[index1])) btrfs_sync_log()
H A Ddelayed-inode.c468 waitqueue_active(&delayed_root->wait)) finish_one_item()
H A Draid56.c805 } else if (waitqueue_active(&h->wait)) { unlock_stripe()
H A Ddisk-io.c806 waitqueue_active(&fs_info->async_submit_wait)) run_one_async_done()
H A Dvolumes.c346 waitqueue_active(&fs_info->async_submit_wait)) run_scheduled_bios()
H A Dextent-tree.c10161 if (waitqueue_active(&root->subv_writers->wait)) btrfs_end_write_no_snapshoting()
H A Dinode.c1101 waitqueue_active(&root->fs_info->async_submit_wait)) async_cow_submit()
/linux-4.1.27/sound/core/seq/
H A Dseq_fifo.c76 if (waitqueue_active(&f->input_sleep)) snd_seq_fifo_delete()
142 if (waitqueue_active(&f->input_sleep)) snd_seq_fifo_event_in()
H A Dseq_memory.c210 if (waitqueue_active(&pool->output_sleep)) { snd_seq_cell_free()
432 if (waitqueue_active(&pool->output_sleep)) snd_seq_pool_done()
/linux-4.1.27/fs/
H A Deventfd.c62 if (waitqueue_active(&ctx->wqh)) eventfd_signal()
164 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) eventfd_ctx_remove_wait_queue()
217 if (waitqueue_active(&ctx->wqh)) eventfd_ctx_read()
281 if (waitqueue_active(&ctx->wqh)) eventfd_write()
H A Dsignalfd.c43 if (likely(!waitqueue_active(wqh))) signalfd_cleanup()
H A Deventpoll.c665 if (waitqueue_active(&ep->wq)) ep_scan_ready_list()
667 if (waitqueue_active(&ep->poll_wait)) ep_scan_ready_list()
740 if (waitqueue_active(&ep->poll_wait)) ep_free()
1069 if (waitqueue_active(&ep->wq)) ep_poll_callback()
1071 if (waitqueue_active(&ep->poll_wait)) ep_poll_callback()
1343 if (waitqueue_active(&ep->wq)) ep_insert()
1345 if (waitqueue_active(&ep->poll_wait)) ep_insert()
1451 if (waitqueue_active(&ep->wq)) ep_modify()
1453 if (waitqueue_active(&ep->poll_wait)) ep_modify()
H A Dsplice.c166 if (waitqueue_active(&pipe->wait)) wakeup_pipe_readers()
246 if (waitqueue_active(&pipe->wait)) splice_to_pipe()
729 if (waitqueue_active(&pipe->wait)) wakeup_pipe_writers()
H A Dsuper.c1155 if (waitqueue_active(&sb->s_writers.wait)) __sb_end_write()
H A Daio.c1143 if (waitqueue_active(&ctx->wait)) aio_complete()
H A Dlocks.c284 BUG_ON(waitqueue_active(&fl->fl_wait)); locks_free_lock()
/linux-4.1.27/block/
H A Dblk-mq-tag.c83 if (waitqueue_active(&bs->wait)) blk_mq_tag_wakeup_all()
91 if (waitqueue_active(&bt->bs[0].wait)) blk_mq_tag_wakeup_all()
362 if (waitqueue_active(&bs->wait)) { bt_wake_ptr()
H A Dblk-core.c857 if (waitqueue_active(&rl->wait[sync])) __freed_request()
/linux-4.1.27/drivers/char/
H A Dapplicom.c663 if (waitqueue_active(&FlagSleepRec)) { ac_interrupt()
669 if (waitqueue_active(&apbs[i].FlagSleepSend)) { /* process sleep during read ? */ ac_interrupt()
826 if (waitqueue_active(&FlagSleepRec)) ac_ioctl()
829 if (apbs[i].RamIO && waitqueue_active(&apbs[i].FlagSleepSend)) ac_ioctl()
/linux-4.1.27/net/rds/
H A Dib_ring.c123 waitqueue_active(&rds_ib_ring_empty_wait)) rds_ib_ring_free()
H A Diw_ring.c123 waitqueue_active(&rds_iw_ring_empty_wait)) rds_iw_ring_free()
H A Dcong.c251 if (waitqueue_active(&map->m_waitq)) rds_cong_map_updated()
253 if (waitqueue_active(&rds_poll_waitq)) rds_cong_map_updated()
H A Dib_rdma.c681 if (waitqueue_active(&pool->flush_wait)) rds_ib_flush_mr_pool()
H A Dib_send.c263 waitqueue_active(&rds_ib_ring_empty_wait)) rds_ib_sub_signaled()
H A Dsend.c117 if (waitqueue_active(&conn->c_waitq)) release_in_xmit()
/linux-4.1.27/virt/kvm/
H A Dasync_pf.c97 if (waitqueue_active(&vcpu->wq)) async_pf_execute()
H A Dkvm_main.c1832 if (waitqueue_active(wqp)) { kvm_vcpu_kick()
1934 if (waitqueue_active(&vcpu->wq) && !kvm_arch_vcpu_runnable(vcpu)) kvm_for_each_vcpu()
/linux-4.1.27/drivers/tty/serial/jsm/
H A Djsm_tty.c697 if (waitqueue_active(&(ch->ch_flags_wait))) jsm_carrier()
714 if (waitqueue_active(&(ch->ch_flags_wait))) jsm_carrier()
741 if (waitqueue_active(&(ch->ch_flags_wait))) jsm_carrier()
/linux-4.1.27/kernel/sched/
H A Dwait.c285 else if (waitqueue_active(q)) abort_exclusive_wait()
458 if (waitqueue_active(wq)) __wake_up_bit()
473 * In order for this to function properly, as it uses waitqueue_active()
/linux-4.1.27/net/sunrpc/
H A Dsvcsock.c417 if (wq && waitqueue_active(wq)) svc_udp_data_ready()
435 if (wq && waitqueue_active(wq)) { svc_write_space()
790 if (wq && waitqueue_active(wq)) svc_tcp_listen_data_ready()
811 if (wq && waitqueue_active(wq)) svc_tcp_state_change()
826 if (wq && waitqueue_active(wq)) svc_tcp_data_ready()
1597 if (wq && waitqueue_active(wq)) svc_sock_detach()
H A Dsched.c299 if (waitqueue_active(wq)) rpc_complete_task()
/linux-4.1.27/drivers/misc/mei/
H A Dclient.c1296 if (waitqueue_active(&cl->tx_wait)) mei_cl_complete()
1301 if (waitqueue_active(&cl->rx_wait)) mei_cl_complete()
1338 if (waitqueue_active(&cl->rx_wait)) { mei_cl_all_wakeup()
1342 if (waitqueue_active(&cl->tx_wait)) { mei_cl_all_wakeup()
H A Dhbm.c833 if (waitqueue_active(&dev->wait_pg)) mei_hbm_dispatch()
840 if (waitqueue_active(&dev->wait_pg)) mei_hbm_dispatch()
H A Dbus.c299 if (list_empty(&cl->rd_completed) && !waitqueue_active(&cl->rx_wait)) { __mei_cl_recv()
H A Dhw-me.c750 if (waitqueue_active(&dev->wait_pg)) mei_me_pg_intr()
H A Dmain.c195 if (list_empty(&cl->rd_completed) && !waitqueue_active(&cl->rx_wait)) { mei_read()
H A Dhw-txe.c1094 if (waitqueue_active(&hw->wait_aliveness_resp)) mei_txe_irq_thread_handler()
/linux-4.1.27/drivers/hsi/clients/
H A Dcmt_speech.c325 if (unlikely(waitqueue_active(&hi->datawait))) cs_hsi_data_destructor()
600 if (unlikely(waitqueue_active(&hi->datawait))) cs_hsi_read_on_data_complete()
691 if (unlikely(waitqueue_active(&hi->datawait))) cs_hsi_write_on_data_complete()
863 * so that callbacks can check for waitqueue_active() cs_hsi_data_sync()
/linux-4.1.27/drivers/md/
H A Ddm-log-writes.c135 if (waitqueue_active(&lc->wait)) put_pending_block()
144 if (waitqueue_active(&lc->wait)) put_io_block()
H A Draid1.c1383 !waitqueue_active(&bitmap->behind_wait)) make_request()
H A Dmd.c8999 while (waitqueue_active(&md_event_waiters)) { md_exit()
/linux-4.1.27/drivers/media/usb/cpia2/
H A Dcpia2_usb.c366 if (waitqueue_active(&cam->wq_stream)) cpia2_usb_complete()
893 if (waitqueue_active(&cam->wq_stream)) cpia2_usb_disconnect()
/linux-4.1.27/drivers/tty/
H A Dn_tty.c1179 if (waitqueue_active(&tty->read_wait)) n_tty_receive_break()
1238 if (waitqueue_active(&tty->read_wait)) n_tty_receive_parity_error()
2215 else if (!waitqueue_active(&tty->read_wait) || n_tty_read()
2322 if (!waitqueue_active(&tty->read_wait)) n_tty_read()
2535 if (!waitqueue_active(&tty->read_wait)) { n_tty_fasync()
H A Dtty_io.c1826 if (waitqueue_active(&tty->read_wait)) { tty_release()
1830 if (waitqueue_active(&tty->write_wait)) { tty_release()
1836 if (waitqueue_active(&o_tty->read_wait)) { tty_release()
1840 if (waitqueue_active(&o_tty->write_wait)) { tty_release()
H A Dsynclink_gt.c2861 if (!waitqueue_active(&info->event_wait_q)) { wait_mgsl_event()
H A Dsynclinkmp.c3140 if (!waitqueue_active(&info->event_wait_q)) { wait_mgsl_event()
H A Dsynclink.c2773 if (!waitqueue_active(&info->event_wait_q)) { mgsl_wait_event()
/linux-4.1.27/drivers/mtd/nand/
H A Dtmio_nand.c175 if (unlikely(!waitqueue_active(&nand_chip->controller->wq))) tmio_irq()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dlib-eq.c232 if (waitqueue_active(&the_lnet.ln_eq_waitq)) lnet_eq_enqueue_event()
/linux-4.1.27/arch/x86/kernel/
H A Dkvm.c181 else if (waitqueue_active(&n->wq)) apf_task_wake_one()
/linux-4.1.27/drivers/block/
H A Dnull_blk.c154 if (waitqueue_active(&nq->wait)) put_tag()
/linux-4.1.27/mm/
H A Dbacking-dev.c486 if (waitqueue_active(wqh)) clear_bdi_congested()
H A Dhighmem.c366 need_wakeup = waitqueue_active(pkmap_map_wait); kunmap_high()
H A Dvmscan.c2659 if (!wmark_ok && waitqueue_active(&pgdat->kswapd_wait)) { pfmemalloc_watermark_ok()
2993 if (waitqueue_active(&pgdat->pfmemalloc_wait)) prepare_kswapd_sleep()
3233 if (waitqueue_active(&pgdat->pfmemalloc_wait) && balance_pgdat()
3460 if (!waitqueue_active(&pgdat->kswapd_wait)) wakeup_kswapd()
/linux-4.1.27/arch/mips/kvm/
H A Dmips.c446 if (waitqueue_active(&dvcpu->wq)) kvm_vcpu_ioctl_interrupt()
1173 if (waitqueue_active(&vcpu->wq)) kvm_mips_comparecount_func()
/linux-4.1.27/sound/oss/
H A Dsequencer.c340 if (!nonblock && qlen >= SEQ_MAX_QUEUE && !waitqueue_active(&seq_sleeper)) { seq_queue()
1288 if (waitqueue_active(&seq_sleeper)) { seq_reset()
/linux-4.1.27/arch/s390/kvm/
H A Dinterrupt.c878 if (waitqueue_active(&vcpu->wq)) { kvm_s390_vcpu_wakeup()
990 BUG_ON(waitqueue_active(li->wq)); kvm_s390_inject_program_int()
1009 BUG_ON(waitqueue_active(li->wq)); kvm_s390_inject_prog_irq()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dlloop.c283 if (waitqueue_active(&lo->lo_bh_wait)) loop_add_bio()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dsec_bulk.c455 LASSERT(waitqueue_active(&page_pools.epp_waitq)); enc_pools_wakeup()
/linux-4.1.27/drivers/video/fbdev/
H A Darcfb.c233 if (waitqueue_active(&arcfb_waitq)) { arcfb_interrupt()
/linux-4.1.27/kernel/
H A Dcpu.c128 if (refcount <= 0 && waitqueue_active(&cpu_hotplug.wq)) put_online_cpus()
H A Drelay.c743 if (waitqueue_active(&buf->read_wait)) relay_switch_subbuf()
H A Dworkqueue.c2857 * waitqueue_active() is visible here or !work_is_canceling() is __cancel_work_timer()
2861 if (waitqueue_active(&cancel_waitq)) __cancel_work_timer()
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_tty.c702 if (waitqueue_active(&(ch->ch_flags_wait))) dgnc_carrier()
716 if (waitqueue_active(&(ch->ch_flags_wait))) dgnc_carrier()
744 if (waitqueue_active(&(ch->ch_flags_wait))) dgnc_carrier()
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_fs.c1406 BUG_ON(waitqueue_active(&ffs->ev.waitq) || ffs_data_put()
1407 waitqueue_active(&ffs->ep0req_completion.wait)); ffs_data_put()
1601 waitqueue_active(&epfile->wait)); ffs_epfiles_destroy()
/linux-4.1.27/fs/jfs/
H A Djfs_txnmgr.c3012 waitqueue_active(&TxAnchor.freewait) ? "active" : "empty"; jfs_txanchor_proc_show()
3014 waitqueue_active(&TxAnchor.freelockwait) ? "active" : "empty"; jfs_txanchor_proc_show()
3016 waitqueue_active(&TxAnchor.lowlockwait) ? "active" : "empty"; jfs_txanchor_proc_show()
/linux-4.1.27/drivers/media/usb/usbvision/
H A Dusbvision-core.c1183 if (waitqueue_active(&usbvision->wait_frame)) { usbvision_parse_data()
1423 if (waitqueue_active(&usbvision->ctrl_urb_wq)) usbvision_ctrl_urb_complete()
/linux-4.1.27/drivers/tty/serial/
H A Dimx.c502 if (waitqueue_active(&sport->dma_wait)) { dma_tx_callback()
883 if (waitqueue_active(&sport->dma_wait)) imx_rx_dma_done()
/linux-4.1.27/drivers/usb/gadget/legacy/
H A Dinode.c161 BUG_ON (waitqueue_active (&data->wait)); put_dev()
218 BUG_ON (waitqueue_active (&data->wait)); put_ep()
/linux-4.1.27/fs/fuse/
H A Ddev.c393 if (!fc->blocked && waitqueue_active(&fc->blocked_waitq))
1439 if (waitqueue_active(&pipe->wait)) fuse_dev_splice_read()
H A Dfile.c2715 if (waitqueue_active(&ff->poll_wait)) { fuse_file_poll()
/linux-4.1.27/drivers/net/
H A Dmacvtap.c456 if (wqueue && waitqueue_active(wqueue)) macvtap_sock_write_space()
H A Dtun.c1443 if (wqueue && waitqueue_active(wqueue)) tun_sock_write_space()
/linux-4.1.27/drivers/s390/char/
H A Dcon3215.c443 if (waitqueue_active(&raw->empty_wait) && raw3215_irq()
/linux-4.1.27/drivers/parport/
H A Dshare.c984 if (waitqueue_active(&pd->wait_q)) parport_release()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcore.c562 if (waitqueue_active(&ifp->pend_8021x_wait)) brcmf_txfinalize()
H A Dmsgbuf.c485 if (waitqueue_active(&msgbuf->ioctl_resp_wait)) brcmf_msgbuf_ioctl_resp_wake()
H A Dusb.c187 if (waitqueue_active(&devinfo->ioctl_resp_wait)) brcmf_usb_ioctl_resp_wake()
H A Dpcie.c597 if (waitqueue_active(&devinfo->mbdata_resp_wait)) { brcmf_pcie_handle_mb_data()
H A Dsdio.c1783 if (waitqueue_active(&bus->dcmd_resp_wait)) brcmf_sdio_dcmd_resp_wake()
2108 if (waitqueue_active(&bus->ctrl_wait)) brcmf_sdio_wait_event_wakeup()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gpu_error.c882 ering->waiting = waitqueue_active(&ring->irq_queue); i915_record_ring_state()
H A Di915_irq.c2882 if (waitqueue_active(&ring->irq_queue)) { for_each_ring()
H A Dintel_display.c3799 WARN_ON(waitqueue_active(&dev_priv->pending_flip_queue)); intel_crtc_wait_for_pending_flips()
/linux-4.1.27/drivers/base/power/
H A Dwakeup.c537 if (!inpr && waitqueue_active(&wakeup_count_wait_queue)) wakeup_source_deactivate()
/linux-4.1.27/drivers/staging/dgap/
H A Ddgap.c1792 if (waitqueue_active(&(ch->ch_flags_wait))) dgap_carrier()
1806 if (waitqueue_active(&(ch->ch_flags_wait))) dgap_carrier()
1835 if (waitqueue_active(&(ch->ch_flags_wait))) dgap_carrier()
3240 if (waitqueue_active(&tty->write_wait)) dgap_tty_flush_buffer()
5052 if (waitqueue_active(&tty->write_wait)) dgap_tty_ioctl()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
H A Do2iblnd_cb.c3293 if (waitqueue_active(&sched->ibs_waitq)) kiblnd_cq_completion()
3395 if (waitqueue_active(&sched->ibs_waitq)) kiblnd_scheduler()
/linux-4.1.27/include/net/
H A Dsock.h1895 * if (wq && waitqueue_active(&wq->wait))
1914 return wq && waitqueue_active(&wq->wait); wq_has_sleeper()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_hv.c121 if (waitqueue_active(wqp)) { kvmppc_fast_vcpu_kick_hv()
695 if (waitqueue_active(&vcpu->wq)) { kvmppc_pseries_do_hcall()
/linux-4.1.27/drivers/media/platform/
H A Dfsl-viu.c1185 if (waitqueue_active(&buf->vb.done)) { viu_capture_intr()
H A Dvia-camera.c336 if (!waitqueue_active(&buf->done)) {/* Nobody waiting */ viacam_next_buffer()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Domap1_camera.c578 if (waitqueue_active(&vb->done)) { videobuf_done()
/linux-4.1.27/drivers/media/usb/zr364xx/
H A Dzr364xx.c554 if (!waitqueue_active(&buf->vb.done)) { zr364xx_got_frame()
/linux-4.1.27/arch/x86/kvm/
H A Dlapic.c1118 if (waitqueue_active(q)) apic_timer_expired()
/linux-4.1.27/net/sctp/
H A Dsm_sideeffect.c838 if (waitqueue_active(&asoc->wait)) sctp_cmd_new_state()
H A Dsocket.c6825 if (waitqueue_active(&asoc->wait)) __sctp_write_space()
6831 if (wq && waitqueue_active(wq)) __sctp_write_space()
/linux-4.1.27/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c1213 if (waitqueue_active(&rdma->sc_send_wait)) svc_rdma_has_wspace()
/linux-4.1.27/drivers/net/usb/
H A Dusbnet.c1482 if (waitqueue_active(&dev->wait)) { usbnet_bh()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dlu_object.c303 if (waitqueue_active(&bkt->lsb_marche_funebre))
/linux-4.1.27/kernel/events/
H A Duprobes.c1336 if (waitqueue_active(&area->wq)) xol_free_insn_slot()
/linux-4.1.27/drivers/s390/block/
H A Ddasd.c2000 if (waitqueue_active(&shutdown_waitq)) dasd_device_tasklet()
2776 if (waitqueue_active(&shutdown_waitq)) dasd_block_tasklet()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_cache.c123 waitqueue_active(&__ext->oe_waitq) ? '+' : '-', \
/linux-4.1.27/net/core/
H A Dsock.c2399 if (waitqueue_active(&sk->sk_lock.wq)) release_sock()
/linux-4.1.27/kernel/printk/
H A Dprintk.c2661 if (waitqueue_active(&log_wait)) { wake_up_klogd()
/linux-4.1.27/net/tipc/
H A Dsocket.c1571 if (waitqueue_active(sk_sleep(sk))) filter_connect()
/linux-4.1.27/drivers/char/pcmcia/
H A Dsynclink_cs.c2059 if (!waitqueue_active(&info->event_wait_q)) wait_events()

Completed in 6814 milliseconds