Home
last modified time | relevance | path

Searched refs:wait (Results 101 – 125 of 1647) sorted by relevance

12345678910>>...66

/linux/net/vmw_vsock/
H A Dvmci_transport.h72 struct vmci_transport_waiting_info wait; member
126 struct vmci_transport_waiting_info *wait);
128 struct vmci_transport_waiting_info *wait);
H A Dvsock_bpf.c41 DEFINE_WAIT_FUNC(wait, woken_wake_function); in vsock_msg_wait_data()
49 add_wait_queue(sk_sleep(sk), &wait); in vsock_msg_wait_data()
53 wait_woken(&wait, TASK_INTERRUPTIBLE, timeo); in vsock_msg_wait_data()
57 remove_wait_queue(sk_sleep(sk), &wait); in vsock_msg_wait_data()
H A Daf_vsock.c1024 poll_table *wait) in vsock_poll() argument
1033 poll_wait(file, sk_sleep(sk), wait); in vsock_poll()
1410 DEFINE_WAIT(wait); in vsock_connect()
1497 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in vsock_connect()
1540 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in vsock_connect()
1552 finish_wait(sk_sleep(sk), &wait); in vsock_connect()
1566 DEFINE_WAIT(wait); in vsock_accept()
1587 prepare_to_wait(sk_sleep(listener), &wait, TASK_INTERRUPTIBLE); in vsock_accept()
1593 finish_wait(sk_sleep(listener), &wait); in vsock_accept()
1604 prepare_to_wait(sk_sleep(listener), &wait, TASK_INTERRUPTIBLE); in vsock_accept()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_mmio.c344 s64 wait = 10; in __xe_mmio_wait32() local
364 if (ktime_after(ktime_add_us(cur, wait), end)) in __xe_mmio_wait32()
365 wait = ktime_us_delta(end, cur); in __xe_mmio_wait32()
368 udelay(wait); in __xe_mmio_wait32()
370 usleep_range(wait, wait << 1); in __xe_mmio_wait32()
371 wait <<= 1; in __xe_mmio_wait32()
/linux/arch/mips/kernel/
H A Drtlx.c128 DEFINE_WAIT(wait); in rtlx_open()
133 &wait, TASK_INTERRUPTIBLE); in rtlx_open()
145 &wait); in rtlx_open()
339 static __poll_t file_poll(struct file *file, poll_table *wait) in file_poll() argument
344 poll_wait(file, &channel_wqs[minor].rt_queue, wait); in file_poll()
345 poll_wait(file, &channel_wqs[minor].lx_queue, wait); in file_poll()
/linux/Documentation/devicetree/bindings/clock/ti/
H A Dgate.txt17 "ti,wait-gate-clock" - gate clock which waits until clock is active before
28 "ti,composite-no-wait-gate-clock" - composite gate clock that does not wait
54 compatible = "ti,wait-gate-clock";
101 compatible = "ti,composite-no-wait-gate-clock";
/linux/sound/firewire/tascam/
H A Dtascam-hwdep.c102 DEFINE_WAIT(wait); in hwdep_read()
107 prepare_to_wait(&tscm->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
110 finish_wait(&tscm->hwdep_wait, &wait); in hwdep_read()
130 poll_table *wait) in hwdep_poll() argument
135 poll_wait(file, &tscm->hwdep_wait, wait); in hwdep_poll()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dsdio_mac.c78 wake_up(&dev->mt76.mcu.wait); in mt7921s_init_reset()
80 wait_event_timeout(dev->mt76.sdio.wait, in mt7921s_init_reset()
102 wake_up(&dev->mt76.mcu.wait); in mt7921s_mac_reset()
104 wait_event_timeout(dev->mt76.sdio.wait, in mt7921s_mac_reset()
/linux/mm/
H A Dfilemap.c541 * filemap_fdatawait_range - wait for writeback to complete
542 * @mapping: address space structure to wait for
547 * in the given range and wait for all of them. Check error status of
565 * filemap_fdatawait_range_keep_errors - wait for writeback to complete
566 * @mapping: address space structure to wait for
571 * given range and wait for all of them. Unlike filemap_fdatawait_range(),
587 * file_fdatawait_range - wait for writeback to complete
588 * @file: file pointing to address space structure to wait for
593 * refers to, in the given range and wait for all of them. Check error
612 * filemap_fdatawait_keep_errors - wait fo
1116 wake_page_function(wait_queue_entry_t * wait,unsigned mode,int sync,void * arg) wake_page_function() argument
1215 folio_trylock_flag(struct folio * folio,int bit_nr,struct wait_queue_entry * wait) folio_trylock_flag() argument
1236 wait_queue_entry_t *wait = &wait_page.wait; folio_wait_bit_common() local
1387 wait_queue_entry_t *wait = &wait_page.wait; migration_entry_wait_on_locked() local
1659 __folio_lock_async(struct folio * folio,struct wait_page_queue * wait) __folio_lock_async() argument
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.c327 struct iowait *wait = tx->wait; in complete_tx() local
340 if (iowait_sdma_dec(wait)) in complete_tx()
341 iowait_drain_wakeup(wait); in complete_tx()
1725 struct iowait *wait, *nw, *twait; in sdma_desc_avail() local
1742 wait, in sdma_desc_avail()
1748 if (!wait->wakeup) in sdma_desc_avail()
1752 iowait_init_priority(wait); in sdma_desc_avail()
1753 num_desc = iowait_get_all_desc(wait); in sdma_desc_avail()
1761 iowait_priority_update_top(wait, in sdma_desc_avail()
1766 list_del_init(&wait->list); in sdma_desc_avail()
[all …]
H A Dverbs_txreq.c35 struct iowait *wait; in hfi1_put_txreq() local
38 wait = list_first_entry(&dev->txwait, struct iowait, in hfi1_put_txreq()
40 qp = iowait_to_qp(wait); in hfi1_put_txreq()
/linux/arch/arm/boot/dts/ti/omap/
H A Domap24xx-clocks.dtsi194 compatible = "ti,composite-no-wait-gate-clock";
318 compatible = "ti,wait-gate-clock";
336 compatible = "ti,omap3-no-wait-interface-clock";
344 compatible = "ti,composite-no-wait-gate-clock";
444 compatible = "ti,composite-no-wait-gate-clock";
466 compatible = "ti,wait-gate-clock";
926 compatible = "ti,wait-gate-clock";
942 compatible = "ti,wait-gate-clock";
958 compatible = "ti,wait-gate-clock";
974 compatible = "ti,wait-gate-clock";
[all …]
/linux/io_uring/
H A Drw.c692 static int io_async_buf_func(struct wait_queue_entry *wait, unsigned mode, in io_async_buf_func() argument
696 struct io_kiocb *req = wait->private; in io_async_buf_func()
700 wpq = container_of(wait, struct wait_page_queue, wait); in io_async_buf_func()
706 list_del_init(&wait->entry); in io_async_buf_func()
726 struct wait_page_queue *wait = &io->wpq; in io_rw_should_retry() local
746 wait->wait.func = io_async_buf_func; in io_rw_should_retry()
747 wait->wait.private = req; in io_rw_should_retry()
748 wait->wait.flags = 0; in io_rw_should_retry()
749 INIT_LIST_HEAD(&wait->wait.entry); in io_rw_should_retry()
752 kiocb->ki_waitq = wait; in io_rw_should_retry()
/linux/sound/firewire/motu/
H A Dmotu-hwdep.c31 DEFINE_WAIT(wait); in hwdep_read()
37 prepare_to_wait(&motu->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
40 finish_wait(&motu->hwdep_wait, &wait); in hwdep_read()
100 poll_table *wait) in hwdep_poll() argument
105 poll_wait(file, &motu->hwdep_wait, wait); in hwdep_poll()
/linux/drivers/hid/usbhid/
H A Dhiddev.c159 wake_up_interruptible(&hiddev->wait); in hiddev_send_event()
321 DEFINE_WAIT(wait); in hiddev_read()
339 prepare_to_wait(&list->hiddev->wait, &wait, TASK_INTERRUPTIBLE); in hiddev_read()
359 finish_wait(&list->hiddev->wait, &wait); in hiddev_read()
364 finish_wait(&list->hiddev->wait, &wait); in hiddev_read()
412 static __poll_t hiddev_poll(struct file *file, poll_table *wait) in hiddev_poll() argument
416 poll_wait(file, &list->hiddev->wait, wait); in hiddev_poll()
896 init_waitqueue_head(&hiddev->wait); in hiddev_connect()
939 wake_up_interruptible(&hiddev->wait); in hiddev_disconnect()
/linux/drivers/char/
H A Dnwbutton.c171 DEFINE_WAIT(wait); in button_read()
172 prepare_to_wait(&button_wait_queue, &wait, TASK_INTERRUPTIBLE); in button_read()
174 finish_wait(&button_wait_queue, &wait); in button_read()
/linux/drivers/scsi/fnic/
H A Dvnic_rq.c137 unsigned int wait; in vnic_rq_disable() local
142 for (wait = 0; wait < 100; wait++) { in vnic_rq_disable()
/linux/drivers/char/hw_random/
H A Datmel-rng.c43 static bool atmel_trng_wait_ready(struct atmel_trng *trng, bool wait) in atmel_trng_wait_ready() argument
48 if (!ready && wait) in atmel_trng_wait_ready()
56 bool wait) in atmel_trng_read() argument
68 ret = atmel_trng_wait_ready(trng, wait); in atmel_trng_read()
/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c39 complete(&fuse->apbdma.wait); in apb_dma_complete()
72 reinit_completion(&fuse->apbdma.wait); in tegra20_fuse_read()
76 time_left = wait_for_completion_timeout(&fuse->apbdma.wait, in tegra20_fuse_read()
150 init_completion(&fuse->apbdma.wait); in tegra20_fuse_probe()
/linux/net/unix/
H A Dunix_bpf.c18 DEFINE_WAIT_FUNC(wait, woken_wake_function); in unix_msg_wait_data()
28 add_wait_queue(sk_sleep(sk), &wait); in unix_msg_wait_data()
32 wait_woken(&wait, TASK_INTERRUPTIBLE, timeo); in unix_msg_wait_data()
37 remove_wait_queue(sk_sleep(sk), &wait); in unix_msg_wait_data()
/linux/Documentation/block/
H A Dstat.rst32 read ticks milliseconds total wait time for read requests
36 write ticks milliseconds total wait time for write requests
39 time_in_queue milliseconds total wait time for all requests
43 discard ticks milliseconds total wait time for discard requests
45 flush ticks milliseconds total wait time for flush requests
81 example, if 60 read requests wait for an average of 30 ms, the read_ticks
/linux/drivers/interconnect/qcom/
H A Dbcm-voter.c128 u32 addr, bool commit, bool wait) in tcs_cmd_gen() argument
153 cmd->wait = wait; in tcs_cmd_gen()
162 bool commit, wait; in tcs_list_gen() local
176 wait = commit && (voter->tcs_wait & BIT(bucket)); in tcs_list_gen()
179 bcm->vote_y[bucket], bcm->addr, commit, wait); in tcs_list_gen()
/linux/sound/firewire/fireworks/
H A Dfireworks_hwdep.c126 DEFINE_WAIT(wait); in hwdep_read()
136 prepare_to_wait(&efw->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
139 finish_wait(&efw->hwdep_wait, &wait); in hwdep_read()
188 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
193 poll_wait(file, &efw->hwdep_wait, wait); in hwdep_poll()
/linux/sound/firewire/
H A Dfcp.c203 wait_queue_head_t wait; member
242 init_waitqueue_head(&t.wait); in fcp_avc_transaction()
258 wait_event_timeout(t.wait, t.state != STATE_PENDING, in fcp_avc_transaction()
309 wake_up(&t->wait); in fcp_bus_reset()
370 wake_up(&t->wait); in fcp_response()
/linux/sound/soc/intel/common/
H A Dsst-ipc.c80 struct sst_ipc_message *reply, int wait) in ipc_tx_message() argument
97 msg->wait = wait; in ipc_tx_message()
109 if (wait) in ipc_tx_message()
250 if (!msg->wait) in sst_ipc_tx_msg_reply_complete()

12345678910>>...66