Home
last modified time | relevance | path

Searched refs:wait (Results 176 – 200 of 1647) sorted by relevance

12345678910>>...66

/linux/drivers/char/hw_random/
H A Djh7110-trng.c141 static int starfive_trng_cmd(struct starfive_trng *trng, u32 cmd, bool wait) in starfive_trng_cmd() argument
146 if (!wait) in starfive_trng_cmd()
245 static int starfive_trng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in starfive_trng_read() argument
257 if (wait) { in starfive_trng_read()
263 ret = starfive_trng_cmd(trng, STARFIVE_CTRL_GENE_RANDNUM, wait); in starfive_trng_read()
H A Dnpcm-rng.c54 static int npcm_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in npcm_rng_read() argument
63 if (wait) { in npcm_rng_read()
85 return retval || !wait ? retval : -EIO; in npcm_rng_read()
H A Dba431-rng.c115 static int ba431_trng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in ba431_trng_read() argument
130 if (!wait) in ba431_trng_read()
152 return (n || !wait) ? n : -EIO; in ba431_trng_read()
/linux/arch/arm/boot/dts/ti/omap/
H A Domap34xx-omap36xx-clocks.dtsi92 compatible = "ti,omap3-no-wait-interface-clock";
172 compatible = "ti,wait-gate-clock";
180 compatible = "ti,wait-gate-clock";
225 compatible = "ti,wait-gate-clock";
249 compatible = "ti,wait-gate-clock";
/linux/fs/jfs/
H A Dinode.c73 int jfs_commit_inode(struct inode *inode, int wait) in jfs_commit_inode() argument
108 rc = txCommit(tid, 1, &inode, wait ? COMMIT_SYNC : 0); in jfs_commit_inode()
117 int wait = wbc->sync_mode == WB_SYNC_ALL; in jfs_write_inode() local
128 jfs_flush_journal(JFS_SBI(inode->i_sb)->log, wait); in jfs_write_inode()
132 if (jfs_commit_inode(inode, wait)) { in jfs_write_inode()
/linux/drivers/block/rnbd/
H A Drnbd-clt.c290 enum wait_type wait) in rnbd_get_permit() argument
294 permit = rtrs_clt_get_permit(sess->rtrs, con_type, wait); in rnbd_get_permit()
320 enum wait_type wait) in rnbd_get_iu() argument
329 permit = rnbd_get_permit(sess, con_type, wait); in rnbd_get_iu()
345 init_waitqueue_head(&iu->comp.wait); in rnbd_get_iu()
397 wake_up(&iu->comp.wait); in wake_up_iu_comp()
412 int *errno, int wait) in send_usr_msg() argument
424 if (!err && wait) { in send_usr_msg()
425 wait_event(iu->comp.wait, iu->comp.errno != INT_MAX); in send_usr_msg()
445 enum wait_type wait) in send_msg_close() argument
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtask_event_pinned_vs_ebb_test.c66 goto wait; in task_event_pinned_vs_ebb()
71 wait: in task_event_pinned_vs_ebb()
H A Dcpu_event_pinned_vs_ebb_test.c70 goto wait; in cpu_event_pinned_vs_ebb()
75 wait: in cpu_event_pinned_vs_ebb()
/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c171 DECLARE_WAITQUEUE(wait, current); in wait_for_ready()
173 add_wait_queue(&chip->wq, &wait); in wait_for_ready()
176 remove_wait_queue(&chip->wq, &wait); in wait_for_ready()
201 DECLARE_WAITQUEUE(wait, current); in get_chip()
272 add_wait_queue(&chip->wq, &wait); in get_chip()
275 remove_wait_queue(&chip->wq, &wait); in get_chip()
298 DECLARE_WAITQUEUE(wait, current); in chip_ready()
339 add_wait_queue(&chip->wq, &wait); in chip_ready()
342 remove_wait_queue(&chip->wq, &wait); in chip_ready()
/linux/drivers/mtd/maps/
H A Dvmu-flash.c115 int partition, error = 0, x, wait; in maple_vmu_read_block() local
172 wait = wait_event_interruptible_timeout(mdev->maple_wait, in maple_vmu_read_block()
187 if (wait == 0 || wait == -ERESTARTSYS) { in maple_vmu_read_block()
194 if (wait == -ERESTARTSYS) { in maple_vmu_read_block()
232 int partition, error, locking, x, phaselen, wait; in maple_vmu_write_block() local
267 wait = wait_event_interruptible_timeout(mdev->maple_wait, in maple_vmu_write_block()
276 } else if (wait == 0 || wait == -ERESTARTSYS) { in maple_vmu_write_block()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.h200 wait_queue_head_t wait; member
224 wait_queue_head_t wait; member
276 wait_queue_head_t wait; member
/linux/drivers/acpi/
H A Dsbshc.c24 wait_queue_head_t wait; member
100 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout))) in wait_transaction_complete()
219 wake_up(&hc->wait); in smbus_alarm()
267 init_waitqueue_head(&hc->wait); in acpi_smbus_hc_add()
/linux/include/linux/
H A Dsbitmap.h97 wait_queue_head_t wait; member
605 struct wait_queue_entry wait; member
611 .wait = { \
614 .entry = LIST_HEAD_INIT((name).wait.entry), \
/linux/sound/core/
H A Dhwdep.c73 wait_queue_entry_t wait; in snd_hwdep_open() local
93 init_waitqueue_entry(&wait, current); in snd_hwdep_open()
94 add_wait_queue(&hw->open_wait, &wait); in snd_hwdep_open()
128 remove_wait_queue(&hw->open_wait, &wait); in snd_hwdep_open()
165 static __poll_t snd_hwdep_poll(struct file * file, poll_table * wait) in snd_hwdep_poll() argument
169 return hw->ops.poll(hw, file, wait); in snd_hwdep_poll()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
H A Dcom.fuc124 // wait_donez - wait on FUC_DONE bit to become clear
126 // In : $r10 bit to wait on
138 // wait_doneo - wait on FUC_DONE bit to become set
140 // In : $r10 bit to wait on
209 // wait for space in mmctx queue
225 // wait for queue to empty
241 // wait for STOP_TRIGGER to clear
/linux/sound/soc/qcom/qdsp6/
H A Dq6adm.c51 wait_queue_head_t wait; member
163 wake_up(&copp->wait); in q6adm_callback()
193 wake_up(&copp->wait); in q6adm_callback()
199 wake_up(&copp->wait); in q6adm_callback()
232 init_waitqueue_head(&c->wait); in q6adm_alloc_copp()
256 ret = wait_event_timeout(copp->wait, in q6adm_apr_send_copp_pkt()
261 ret = wait_event_timeout(copp->wait, in q6adm_apr_send_copp_pkt()
/linux/lib/
H A Dtest_objpool.c37 struct completion wait; member
140 init_completion(&data->wait); in ot_init_data()
237 complete(&test->data.wait); in ot_thread_worker()
384 /* wait a while to make sure all threads waiting at start line */ in ot_start_sync()
389 complete(&test->data.wait); in ot_start_sync()
404 /* wait all workers threads finish and quit */ in ot_start_sync()
405 wait_for_completion(&test->data.wait); in ot_start_sync()
575 /* wait a while to make sure all threads waiting at start line */ in ot_start_async()
580 complete(&test->data.wait); in ot_start_async()
596 /* wait al in ot_start_async()
[all...]
/linux/tools/testing/selftests/mm/
H A Dcow.c21 #include <sys/wait.h>
235 wait(&ret); in do_test_cow_in_parent()
244 wait(&ret); in do_test_cow_in_parent()
343 wait(&ret); in do_test_vmsplice_in_parent()
357 wait(&ret); in do_test_vmsplice_in_parent()
359 ksft_test_result_fail("wait() failed\n"); in do_test_vmsplice_in_parent()
542 wait(&ret);
627 * Tell the child to quit now and wait until it quit. in do_test_ro_pin()
632 wait(&ret); in do_test_ro_pin()
634 ksft_print_msg("[INFO] wait() faile in do_test_ro_pin()
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dselftest.c138 unsigned long timeout, wait; in efx_test_interrupts() local
154 wait = 1; in efx_test_interrupts()
159 schedule_timeout_uninterruptible(wait); in efx_test_interrupts()
163 wait *= 2; in efx_test_interrupts()
183 unsigned long timeout, wait; in efx_test_eventq_irq() local
195 wait = 1; in efx_test_eventq_irq()
201 schedule_timeout_uninterruptible(wait); in efx_test_eventq_irq()
219 wait *= 2; in efx_test_eventq_irq()
/linux/drivers/net/ethernet/sfc/siena/
H A Dselftest.c139 unsigned long timeout, wait; in efx_test_interrupts() local
155 wait = 1; in efx_test_interrupts()
160 schedule_timeout_uninterruptible(wait); in efx_test_interrupts()
164 wait *= 2; in efx_test_interrupts()
184 unsigned long timeout, wait; in efx_test_eventq_irq() local
196 wait = 1; in efx_test_eventq_irq()
202 schedule_timeout_uninterruptible(wait); in efx_test_eventq_irq()
220 wait *= 2; in efx_test_eventq_irq()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c138 unsigned long timeout, wait; in ef4_test_interrupts() local
154 wait = 1; in ef4_test_interrupts()
159 schedule_timeout_uninterruptible(wait); in ef4_test_interrupts()
163 wait *= 2; in ef4_test_interrupts()
183 unsigned long timeout, wait; in ef4_test_eventq_irq() local
195 wait = 1; in ef4_test_eventq_irq()
201 schedule_timeout_uninterruptible(wait); in ef4_test_eventq_irq()
219 wait *= 2; in ef4_test_eventq_irq()
/linux/fs/btrfs/
H A Dzstd.c83 wait_queue_head_t wait; member
185 init_waitqueue_head(&wsm.wait); in zstd_init_workspace_manager()
290 DEFINE_WAIT(wait); in zstd_get_workspace()
292 prepare_to_wait(&wsm.wait, &wait, TASK_UNINTERRUPTIBLE); in zstd_get_workspace()
294 finish_wait(&wsm.wait, &wait); in zstd_get_workspace()
340 cond_wake_up(&wsm.wait); in zstd_put_workspace()
/linux/sound/core/seq/oss/
H A Dseq_oss_rw.c185 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) in snd_seq_oss_poll() argument
191 if (snd_seq_oss_readq_poll(dp->readq, file, wait)) in snd_seq_oss_poll()
197 if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait)) in snd_seq_oss_poll()
/linux/drivers/misc/ibmasm/
H A Dibmasm.h81 wait_queue_head_t wait; member
123 wait_queue_head_t wait; member
130 wait_queue_head_t wait; member
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mcu.c92 bool wait = false; in mt76x02_mcu_function_select() local
95 wait = true; in mt76x02_mcu_function_select()
98 sizeof(msg), wait); in mt76x02_mcu_function_select()

12345678910>>...66