Searched refs:wait (Results 501 - 525 of 2180) sorted by relevance

<<21222324252627282930>>

/linux-master/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
1114 wake_page_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *arg) argument
1212 folio_trylock_flag(struct folio *folio, int bit_nr, struct wait_queue_entry *wait) argument
1234 wait_queue_entry_t *wait = &wait_page.wait; local
1385 wait_queue_entry_t *wait = &wait_page.wait; local
1657 __folio_lock_async(struct folio *folio, struct wait_page_queue *wait) argument
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dtrace_tx.h619 struct iowait *wait),
620 TP_ARGS(pq, sde, wait),
624 __field(struct iowait *, wait)
631 __entry->wait = wait;
633 __entry->empty = list_empty(&__entry->wait->list);
635 TP_printk("[%s] pq %llx sde %llx wait %llx engine %d empty %d",
639 (unsigned long long)__entry->wait,
647 struct iowait *wait,
649 TP_ARGS(pq, wait, reaso
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_request.c178 .wait = i915_fence_wait,
791 * wait until the submit_request() is completed before
840 /* If we cannot wait, dip into our reserves */
1173 * (post-wrap) values than they were expecting (and so wait
1205 struct i915_sw_fence *wait = &to->submit; local
1240 wait = &to->semaphore;
1243 return i915_sw_fence_await_dma_fence(wait,
1303 * So we wait.
1305 * However, there is also a second condition for which we need to wait
1310 * immediate execution, and so we must wait unti
1956 struct request_wait *wait = container_of(cb, typeof(*wait), cb); local
1986 struct request_wait wait; local
[all...]
/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_xgmac.c44 u8 wait = 10; local
50 /* wait for write command to complete */
51 while (!(done = ioread32(cmd_done)) && wait--)
106 u8 wait = 10; local
111 /* wait for read command to complete */
112 while (!(done = ioread32(cmd_done)) && wait--)
155 u8 wait = 10; local
161 } while ((data != 0xffffffff) && wait--);
/linux-master/drivers/misc/
H A Dphantom.c52 wait_queue_head_t wait; member in struct:phantom_device
258 static __poll_t phantom_poll(struct file *file, poll_table *wait) argument
264 poll_wait(file, &dev->wait, wait);
317 wake_up_interruptible(&dev->wait);
390 init_waitqueue_head(&pht->wait);
/linux-master/drivers/infiniband/hw/irdma/
H A Dmain.h483 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,
/linux-master/drivers/scsi/aacraid/
H A Dcommsup.c411 * @wait: Wait if queue full
421 int aac_queue_get(struct aac_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned long *nonotify) argument
427 /* if no entries wait for some if caller wants to */
438 /* if no entries wait for some if caller wants to */
472 * @wait: Async/sync select
477 * Sends the requested FIB to the adapter and optionally will wait for a
478 * response FIB. If the caller does not wish to wait for a response than
479 * an event to wait on must be supplied. This event will be set when a
484 int priority, int wait, int reply, fib_callback callback,
500 * There are 5 cases with the wait an
483 aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, int priority, int wait, int reply, fib_callback callback, void *callback_data) argument
711 int wait; local
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_fence.c39 #include <linux/wait.h>
165 static int radeon_fence_check_signaled(wait_queue_entry_t *wait, argument
171 fence = container_of(wait, struct radeon_fence, fence_wake);
461 * radeon_fence_wait_seq_timeout - wait for a specific sequence numbers
464 * @target_seq: sequence number(s) we want to wait for
466 * @timeout: maximum time to wait, or MAX_SCHEDULE_TIMEOUT for infinite wait
474 * the wait timeout, or an error for all other cases.
521 * radeon_fence_wait_timeout - wait for a fence to signal with timeout
529 * @timeout: maximum time to wait, o
1046 struct radeon_wait_cb *wait = local
[all...]
/linux-master/drivers/media/pci/ngene/
H A Dngene-dvb.c77 static __poll_t ts_poll(struct file *file, poll_table *wait) argument
86 poll_wait(file, &rbuf->queue, wait);
87 poll_wait(file, &wbuf->queue, wait);
/linux-master/drivers/mfd/
H A Ducb1x00-ts.c86 * Switch to pressure mode, and read pressure. We don't need to wait
113 * gives a faster response time. Even so, we need to wait about 55us
140 * gives a faster response time. Even so, we need to wait about 55us
207 DECLARE_WAITQUEUE(wait, current);
212 add_wait_queue(&ts->irq_wait, &wait);
278 remove_wait_queue(&ts->irq_wait, &wait);
H A Dti_am335x_tscadc.c46 DEFINE_WAIT(wait);
52 prepare_to_wait(&tscadc->reg_se_wait, &wait,
59 finish_wait(&tscadc->reg_se_wait, &wait);
/linux-master/arch/mips/pci/
H A Dpci-ar724x.c332 int wait = 0; local
353 /* wait up to 100ms for PHY link up */
356 wait++;
357 } while (wait < 10 && !ar724x_pci_check_link(apc));
/linux-master/drivers/usb/gadget/function/
H A Duvc_queue.c17 #include <linux/wait.h>
216 poll_table *wait)
218 return vb2_poll(&queue->queue, file, wait);
269 * could result in an interruptible wait in uvc_dequeue_buffer. Do not
215 uvcg_queue_poll(struct uvc_video_queue *queue, struct file *file, poll_table *wait) argument
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_dectlk.c217 DEFINE_WAIT(wait);
239 prepare_to_wait(&flush, &wait, TASK_INTERRUPTIBLE);
244 finish_wait(&flush, &wait);
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-cldma.c244 * 3. if wait flag is set, waits for DBL interrupt to copy the next chunk till
246 * if wait flag is not set, doesn't wait for BDL interrupt. after ccopying
251 u32 total_size, bool wait)
278 if (wait) {
305 if (!wait)
250 skl_cldma_copy_to_buf(struct sst_dsp *ctx, const void *bin, u32 total_size, bool wait) argument
/linux-master/drivers/staging/media/av7110/
H A Dav7110_ca.c212 static __poll_t dvb_ca_poll (struct file *file, poll_table *wait) argument
222 poll_wait(file, &rbuf->queue, wait);
223 poll_wait(file, &wbuf->queue, wait);
/linux-master/drivers/gnss/
H A Dcore.c21 #include <linux/wait.h>
187 static __poll_t gnss_poll(struct file *file, poll_table *wait) argument
192 poll_wait(file, &gdev->read_queue, wait);
/linux-master/drivers/input/touchscreen/
H A Dtsc2007_core.c160 wait_event_timeout(ts->wait, ts->stopped, ts->poll_period);
179 wake_up(&ts->wait);
326 init_waitqueue_head(&ts->wait);
/linux-master/drivers/char/ipmi/
H A Dipmb_dev_int.c20 #include <linux/wait.h>
180 static __poll_t ipmb_poll(struct file *file, poll_table *wait) argument
186 poll_wait(file, &ipmb_dev->wait_queue, wait);
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dmcast.c77 init_waitqueue_head(&mcast->wait);
371 wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1);
376 wait_event(mcast->wait, !atomic_read(&mcast->refcount));
/linux-master/drivers/vhost/
H A Dvhost.h44 wait_queue_entry_t wait; member in struct:vhost_poll
171 wait_queue_head_t wait; member in struct:vhost_dev
239 poll_table *wait);
/linux-master/fs/sysv/
H A Dinode.c35 static int sysv_sync_fs(struct super_block *sb, int wait) argument
227 static int __sysv_write_inode(struct inode *inode, int wait) argument
265 if (wait) {
/linux-master/include/linux/
H A Dfilelock.h471 static inline int break_layout(struct inode *inode, bool wait) argument
476 wait ? O_WRONLY : O_WRONLY | O_NONBLOCK,
503 static inline int break_layout(struct inode *inode, bool wait) argument
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c25 #include <linux/wait.h>
65 struct poll_table_struct *wait)
70 poll_wait(filep, &client->wait_queue, wait);
64 kfd_smi_ev_poll(struct file *filep, struct poll_table_struct *wait) argument
/linux-master/tools/testing/selftests/user_events/
H A Dabi_test.c370 ASSERT_NE(-1, wait(&i));
377 ASSERT_NE(-1, wait(&i));
414 ASSERT_NE(-1, wait(&i));

Completed in 456 milliseconds

<<21222324252627282930>>