/linux/fs/dlm/ |
H A D | user.c | 230 wake_up_interruptible(&proc->wait); in dlm_user_add_ast() 660 init_waitqueue_head(&proc->wait); in device_open() 789 DECLARE_WAITQUEUE(wait, current); in device_read() 821 add_wait_queue(&proc->wait, &wait); in device_read() 832 remove_wait_queue(&proc->wait, &wait); in device_read() 865 static __poll_t device_poll(struct file *file, poll_table *wait) in device_poll() argument 869 poll_wait(file, &proc->wait, wait); in device_poll()
|
/linux/block/ |
H A D | blk-rq-qos.c | 259 has_sleeper = wq_has_sleeper(&rqw->wait); in rq_qos_wait() 263 has_sleeper = !prepare_to_wait_exclusive(&rqw->wait, &data.wq, in rq_qos_wait() 270 finish_wait(&rqw->wait, &data.wq); in rq_qos_wait() 286 finish_wait(&rqw->wait, &data.wq); in rq_qos_wait()
|
/linux/net/llc/ |
H A D | af_llc.c | 583 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_disc() 586 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_disc() 589 READ_ONCE(sk->sk_state) == TCP_CLOSE, &wait)) in llc_ui_wait_for_disc() 599 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_disc() 605 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_conn() 607 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_conn() 610 READ_ONCE(sk->sk_state) != TCP_SYN_SENT, &wait)) in llc_ui_wait_for_conn() 615 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_conn() 621 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_busy_core() 625 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_busy_core() [all …]
|
/linux/crypto/ |
H A D | af_alg.c | 809 DEFINE_WAIT_FUNC(wait, woken_wake_function); in af_alg_wait_for_wmem() 818 add_wait_queue(sk_sleep(sk), &wait); in af_alg_wait_for_wmem() 823 if (sk_wait_event(sk, &timeout, af_alg_writable(sk), &wait)) { in af_alg_wait_for_wmem() 828 remove_wait_queue(sk_sleep(sk), &wait); in af_alg_wait_for_wmem() 848 wake_up_interruptible_sync_poll(&wq->wait, EPOLLIN | in af_alg_wmem_wakeup() 866 DEFINE_WAIT_FUNC(wait, woken_wake_function); in af_alg_wait_for_data() 877 add_wait_queue(sk_sleep(sk), &wait); in af_alg_wait_for_data() 885 &wait)) { in af_alg_wait_for_data() 890 remove_wait_queue(sk_sleep(sk), &wait); in af_alg_wait_for_data() 915 wake_up_interruptible_sync_poll(&wq->wait, EPOLLOUT | in af_alg_data_wakeup() [all …]
|
/linux/drivers/mailbox/ |
H A D | mailbox-test.c | 180 DECLARE_WAITQUEUE(wait, current); in mbox_test_message_read() 193 add_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read() 237 remove_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read() 244 mbox_test_message_poll(struct file *filp, struct poll_table_struct *wait) in mbox_test_message_poll() argument 248 poll_wait(filp, &tdev->waitq, wait); in mbox_test_message_poll()
|
/linux/net/bluetooth/cmtp/ |
H A D | core.c | 283 DEFINE_WAIT_FUNC(wait, woken_wake_function); in cmtp_session() 289 add_wait_queue(sk_sleep(sk), &wait); in cmtp_session() 310 wait_woken(&wait, TASK_INTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT); in cmtp_session() 312 remove_wait_queue(sk_sleep(sk), &wait); in cmtp_session() 368 init_waitqueue_head(&session->wait); in cmtp_add_connection()
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-uniphier-ep.c | 84 int (*wait)(struct uniphier_pcie_ep_priv *priv); member 322 if (priv->data->wait) { in uniphier_pcie_ep_enable() 323 ret = priv->data->wait(priv); in uniphier_pcie_ep_enable() 421 .wait = NULL, 439 .wait = uniphier_pcie_nx1_wait_ep,
|
/linux/drivers/hsi/clients/ |
H A D | cmt_speech.c | 48 wait_queue_head_t wait; member 155 wake_up_interruptible(&cs_char_data.wait); in cs_notify() 846 DEFINE_WAIT(wait); in cs_hsi_data_sync() 857 prepare_to_wait(&hi->datawait, &wait, TASK_INTERRUPTIBLE); in cs_hsi_data_sync() 862 finish_wait(&hi->datawait, &wait); in cs_hsi_data_sync() 1113 static __poll_t cs_char_poll(struct file *file, poll_table *wait) in cs_char_poll() argument 1118 poll_wait(file, &cs_char_data.wait, wait); in cs_char_poll() 1140 DEFINE_WAIT(wait); in cs_char_read() 1162 prepare_to_wait_exclusive(&csdata->wait, &wait, in cs_char_read() 1165 finish_wait(&csdata->wait, &wait); in cs_char_read() [all …]
|
/linux/tools/testing/selftests/powerpc/ |
H A D | harness.c | 52 wait: in run_test() 69 goto wait; in run_test()
|
/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A D | enet.c | 30 u32 data, wait = 10; in xge_port_reset() local 41 } while (data != MEM_RDY && wait--); in xge_port_reset()
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | main.h | 483 bool wait); 511 struct irdma_modify_qp_info *info, bool wait); 516 bool wait); 530 struct irdma_qp_flush_info *info, bool wait); 532 struct irdma_gen_ae_info *info, bool wait); 542 bool wait,
|
H A D | utils.c | 430 bool wait) in irdma_alloc_and_get_cqp_request() argument 446 if (wait) in irdma_alloc_and_get_cqp_request() 455 cqp_request->waiting = wait; in irdma_alloc_and_get_cqp_request() 1216 struct irdma_modify_qp_info *info, bool wait) in irdma_hw_modify_qp() argument 1224 cqp_request = irdma_alloc_and_get_cqp_request(&rf->cqp, wait); in irdma_hw_modify_qp() 1228 if (!wait) { in irdma_hw_modify_qp() 1256 if (!wait) { in irdma_hw_modify_qp() 1262 wait); in irdma_hw_modify_qp() 1753 struct irdma_vsi_pestat *pestat, bool wait) in irdma_cqp_gather_stats_cmd() argument 1762 cqp_request = irdma_alloc_and_get_cqp_request(iwcqp, wait); in irdma_cqp_gather_stats_cmd() [all …]
|
/linux/sound/core/seq/ |
H A D | seq_memory.c | 275 wait_queue_entry_t wait; in snd_seq_cell_alloc() local 282 init_waitqueue_entry(&wait, current); in snd_seq_cell_alloc() 292 add_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc() 300 remove_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc() 427 poll_table *wait) in snd_seq_pool_poll_wait() argument 429 poll_wait(file, &pool->output_sleep, wait); in snd_seq_pool_poll_wait()
|
/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0002.c | 876 DECLARE_WAITQUEUE(wait, current); in get_chip() 970 add_wait_queue(&chip->wq, &wait); in get_chip() 973 remove_wait_queue(&chip->wq, &wait); in get_chip() 1118 DECLARE_WAITQUEUE(wait, current); in xip_udelay() 1120 add_wait_queue(&chip->wq, &wait); in xip_udelay() 1123 remove_wait_queue(&chip->wq, &wait); in xip_udelay() 1312 DECLARE_WAITQUEUE(wait, current); in do_read_secsi_onechip() 1319 add_wait_queue(&chip->wq, &wait); in do_read_secsi_onechip() 1324 remove_wait_queue(&chip->wq, &wait); in do_read_secsi_onechip() 1677 DECLARE_WAITQUEUE(wait, current); in do_write_oneword_once() [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-snow-common.dtsi | 68 wait-retry-us = <3000>; 69 wait-free-us = <50000>; 131 ti,overcurrent-wait = <3>; 136 ti,overcurrent-wait = <3>; 141 ti,overcurrent-wait = <3>; 145 ti,overcurrent-wait = <3>; 150 ti,overcurrent-wait = <3>; 154 ti,overcurrent-wait = <3>; 159 ti,overcurrent-wait = <3>;
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | event.h | 56 bool wait; member 67 void nvkm_event_ntfy_add(struct nvkm_event *, int id, u32 bits, bool wait, nvkm_event_func,
|
/linux/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_fw.c | 68 unsigned int len, unsigned int wait) in mtk_vcodec_fw_ipi_send() argument 70 return fw->ops->ipi_send(fw, id, buf, len, wait); in mtk_vcodec_fw_ipi_send()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-elektor.c | 97 DEFINE_WAIT(wait); in pcf_isa_waitforpin() 105 prepare_to_wait(&pcf_wait, &wait, TASK_INTERRUPTIBLE); in pcf_isa_waitforpin() 113 finish_wait(&pcf_wait, &wait); in pcf_isa_waitforpin()
|
/linux/drivers/char/hw_random/ |
H A D | ks-sa-rng.c | 176 static int ks_sa_rng_data_present(struct hwrng *rng, int wait) in ks_sa_rng_data_present() argument 184 if (wait && now < ks_sa_rng->ready_ts) { in ks_sa_rng_data_present() 196 if (ready || !wait) in ks_sa_rng_data_present()
|
/linux/include/video/ |
H A D | sticore.h | 102 u32 wait : 1; /* should routine idle wait or not */ member 148 u32 wait : 1; /* should routine idle wait or not */ member 270 u32 wait : 1; /* should routine idle wait or not */ member 284 u32 wait : 1; /* should routine idle wait or not */ member
|
/linux/fs/crypto/ |
H A D | crypto.c | 116 DECLARE_CRYPTO_WAIT(wait); in fscrypt_crypt_data_unit() 134 crypto_req_done, &wait); in fscrypt_crypt_data_unit() 142 res = crypto_wait_req(crypto_skcipher_decrypt(req), &wait); in fscrypt_crypt_data_unit() 144 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in fscrypt_crypt_data_unit()
|
/linux/drivers/md/bcache/ |
H A D | journal.h | 98 struct closure_waitlist wait; member 110 struct closure_waitlist wait; member
|
H A D | journal.c | 579 closure_wake_up(&ca->set->journal.wait); in journal_discard_endio() 691 __closure_wake_up(&c->journal.wait); in journal_reclaim() 735 __closure_wake_up(&w->wait); in CLOSURE_CALLBACK() 856 bool wait = false; in journal_wait_for_write() local 874 if (wait) in journal_wait_for_write() 875 closure_wait(&c->journal.wait, &cl); in journal_wait_for_write() 878 if (wait) in journal_wait_for_write() 891 if (wait) in journal_wait_for_write() 902 wait = true; in journal_wait_for_write() 947 closure_wait(&w->wait, parent); in bch_journal()
|
/linux/mm/ |
H A D | memcontrol-v1.c | 110 wait_queue_entry_t wait; member 462 DEFINE_WAIT(wait); in memcg1_wait_acct_move() 463 prepare_to_wait(&mc.waitq, &wait, TASK_INTERRUPTIBLE); in memcg1_wait_acct_move() 467 finish_wait(&mc.waitq, &wait); in memcg1_wait_acct_move() 1838 remove_wait_queue(event->wqh, &event->wait); in memcg_event_remove() 1855 static int memcg_event_wake(wait_queue_entry_t *wait, unsigned mode, in memcg_event_wake() argument 1859 container_of(wait, struct mem_cgroup_event, wait); in memcg_event_wake() 1895 add_wait_queue(wqh, &event->wait); in memcg_event_ptable_queue_proc() 1946 init_waitqueue_func_entry(&event->wait, memcg_event_wake); in memcg_write_event_control() 2169 wait_queue_entry_t wait; member [all …]
|
/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_xgmac.c | 44 u8 wait = 10; in xgene_enet_wr_indirect() local 51 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_wr_indirect() 106 u8 wait = 10; in xgene_enet_rd_indirect() local 112 while (!(done = ioread32(cmd_done)) && wait--) in xgene_enet_rd_indirect() 155 u8 wait = 10; in xgene_enet_ecc_init() local 161 } while ((data != 0xffffffff) && wait--); in xgene_enet_ecc_init()
|