Searched refs:wait (Results 1 - 25 of 2174) sorted by last modified time

1234567891011>>

/linux-master/fs/btrfs/
H A Dscrub.c215 * on the list_wait wait queue. We must ensure the main scrub task
818 int mirror, int blocksize, bool wait)
842 if (wait)
861 if (wait)
1167 * For zoned writeback, queue depth must be 1, thus we must wait for
2677 * Now the target block is marked RO, wait for nocow writes to
817 scrub_stripe_submit_repair_read(struct scrub_stripe *stripe, int mirror, int blocksize, bool wait) argument
H A Dinode.c1396 * If this is the first loop iteration, wait for at
2845 * to fix it up. The async helper will wait for ordered extents, set
3447 * This will wait on any delayed iputs that are currently running with KILLABLE
5095 * wait for disk_i_size to be stable and then update the
7114 * NOTE: This only checks the file extents, caller is responsible to wait for
7264 * found is for a buffered write, we can not wait for it
7285 * We could trigger writeback for this range (and wait
7293 * complete), which makes readahead wait for that
7891 * filemap_fdatawrite_range() is needed to wait for the compression to
7892 * complete and writeback to start. We also need to wait fo
10025 wait_queue_head_t wait; member in struct:btrfs_encoded_read_private
[all...]
/linux-master/drivers/hid/i2c-hid/
H A Di2c-hid-core.c31 #include <linux/wait.h>
106 wait_queue_head_t wait; /* For waiting the interrupt */ member in struct:i2c_hid
473 } else if (!wait_event_timeout(ihid->wait,
512 wake_up(&ihid->wait);
1192 init_waitqueue_head(&ihid->wait);
/linux-master/drivers/hid/
H A Dhid-nintendo.c585 wait_queue_head_t wait; member in struct:joycon_ctlr
825 * If we are in the proper reporting mode, wait for an input
835 ret = wait_event_timeout(ctlr->wait,
918 ret = wait_event_timeout(ctlr->wait, ctlr->received_resp,
1796 wake_up(&ctlr->wait);
1989 /* don't wait for the periodic send (reduces latency) */
2632 wake_up(&ctlr->wait);
2676 init_waitqueue_head(&ctlr->wait);
/linux-master/virt/kvm/
H A Dkvm_main.c235 * We need to wait for the VCPU to reenable interrupts and get out of
251 static inline bool kvm_kick_many_cpus(struct cpumask *cpus, bool wait) argument
256 smp_call_function_many(cpus, ack_kick, NULL, wait);
277 * after this point is also OK, as the requirement is only that KVM wait
490 rcuwait_init(&vcpu->wait);
898 * There can only be one waiter, since the wait happens under
2967 * @async: whether this function need to wait IO complete if the
3763 struct rcuwait *wait = kvm_arch_vcpu_get_wait(vcpu); local
3770 prepare_to_rcuwait(wait);
3784 finish_rcuwait(wait);
[all...]
/linux-master/kernel/sched/
H A Dsched.h3230 extern void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait);
/linux-master/include/linux/
H A Dblkdev.h16 #include <linux/wait.h>
1547 void sync_bdevs(bool wait);
1563 static inline void sync_bdevs(bool wait) argument
/linux-master/fs/smb/client/
H A Dsmb2transport.c14 #include <linux/wait.h>
H A Dsmb2pdu.c6065 const bool wait)
6072 if (!wait && lock_flags != SMB2_LOCKFLAG_UNLOCK)
6062 SMB2_lock(const unsigned int xid, struct cifs_tcon *tcon, const __u64 persist_fid, const __u64 volatile_fid, const __u32 pid, const __u64 length, const __u64 offset, const __u32 lock_flags, const bool wait) argument
H A Dsmb2ops.c2864 __u64 length, __u32 type, int lock, int unlock, bool wait)
2870 current->tgid, length, offset, type, wait);
4233 DECLARE_CRYPTO_WAIT(wait);
4294 crypto_req_done, &wait);
4297 : crypto_aead_decrypt(req), &wait);
2863 smb2_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, __u64 length, __u32 type, int lock, int unlock, bool wait) argument
H A Dconnect.c14 #include <linux/wait.h>
509 * smb2_reconnect() needs to know how long it should wait based upon the number of dfs
660 * We need to wait 3 echo intervals to make sure we handle such
1033 * Due to delays on oplock break requests, we need to wait at
1343 /* if server->tsk was NULL then wait for a signal before exiting */
4168 * exists, then check to see if it's pending construction. If it is then wait
/linux-master/fs/bcachefs/
H A Dthread_with_file.c95 init_waitqueue_head(&buf->wait);
105 wake_up(&thr->stdio.input.wait);
106 wake_up(&thr->stdio.output.wait);
119 ret = wait_event_interruptible(buf->wait, stdio_redirect_has_output(&thr->stdio));
198 wake_up(&buf->wait);
205 ret = wait_event_interruptible(buf->wait,
215 static __poll_t thread_with_stdio_poll(struct file *file, struct poll_table_struct *wait) argument
220 poll_wait(file, &thr->stdio.output.wait, wait);
221 poll_wait(file, &thr->stdio.input.wait, wai
234 thread_with_stdout_poll(struct file *file, struct poll_table_struct *wait) argument
[all...]
H A Djournal_io.c1674 closure_wake_up(&w->wait);
H A Dfs.c1584 * I_DONTCACHE, we wait for them to be freed:
1609 DEFINE_WAIT_BIT(wait, &inode->v.i_state, __I_NEW);
1611 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE);
1615 finish_wait(wq, &wait.wq_entry);
1664 static int bch2_sync_fs(struct super_block *sb, int wait) argument
1672 if (!wait) {
H A Dbtree_update_interior.c945 * This causes @as to wait on @b to be written, before it gets to
1098 * things waiting on that write to wait on this update, we can drop this
1162 wait_event(c->journal.wait, !test_bit(JOURNAL_SPACE_LOW, &c->journal.flags));
/linux-master/drivers/usb/gadget/function/
H A Df_fs.c678 static __poll_t ffs_ep0_poll(struct file *file, poll_table *wait) argument
684 poll_wait(file, &ffs->ev.waitq, wait);
981 epfile->ffs->wait, (ep = epfile->ep));
1034 * if we _do_ wait above, the epfile->ffs->gadget might be NULL
2145 swait_active(&ffs->ep0req_completion.wait) ||
2146 waitqueue_active(&ffs->wait));
2204 init_waitqueue_head(&ffs->wait);
2438 wake_up_interruptible(&ffs->wait);
/linux-master/drivers/usb/class/
H A Dcdc-wdm.c64 /* we cannot wait forever at flush() */
103 wait_queue_head_t wait; member in struct:wdm_device
163 wake_up_all(&desc->wait);
240 wake_up(&desc->wait);
415 r = wait_event_interruptible(desc->wait, !test_bit(WDM_IN_USE,
458 wake_up_all(&desc->wait); /* for wdm_wait_for_response() */
552 rv = wait_event_interruptible(desc->wait,
637 rv = wait_event_interruptible_timeout(desc->wait,
682 static __poll_t wdm_poll(struct file *file, struct poll_table_struct *wait) argument
702 poll_wait(file, &desc->wait, wai
[all...]
/linux-master/drivers/tty/serial/
H A Dserial_core.c1229 DECLARE_WAITQUEUE(wait, current);
1244 add_wait_queue(&port->delta_msr_wait, &wait);
1271 remove_wait_queue(&port->delta_msr_wait, &wait);
1866 * we wait.
H A Dmxs-auart.c22 #include <linux/wait.h>
138 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before
1343 /* Finally, wait for transmitter to become empty ... */
/linux-master/drivers/android/
H A Dbinder.c489 wake_up_interruptible_sync(&thread->wait);
589 wake_up_interruptible_sync(&thread->wait);
591 wake_up_interruptible(&thread->wait);
648 wake_up_interruptible_sync(&thread->wait);
650 wake_up_interruptible(&thread->wait);
1628 wake_up_interruptible(&target_thread->wait);
3620 wake_up_interruptible_sync(&target_thread->wait);
4304 DEFINE_WAIT(wait);
4310 prepare_to_wait(&thread->wait, &wait, TASK_INTERRUPTIBL
5035 binder_poll(struct file *filp, struct poll_table_struct *wait) argument
[all...]
/linux-master/block/
H A Dblk-iocost.c102 * Device business is determined using two criteria - rq wait and
106 * fill up and a bio which is ready to be issued has to wait for a request
114 * are executed, solely depending on rq wait may not result in satisfactory
566 struct wait_queue_entry wait; member in struct:iocg_wait
1464 struct iocg_wait *wait = container_of(wq_entry, struct iocg_wait, wait); local
1466 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse);
1473 iocg_commit_bio(ctx->iocg, wait->bio, wait->abs_cost, cost);
1474 wait
2605 struct iocg_wait wait; local
[all...]
H A Dbdev.c200 * Write out and wait upon all the dirty data associated with a block
529 /* if claiming is already in progress, wait for it to finish */
532 DEFINE_WAIT(wait);
534 prepare_to_wait(wq, &wait, TASK_UNINTERRUPTIBLE);
537 finish_wait(wq, &wait);
1189 void sync_bdevs(bool wait) argument
1222 } else if (wait) {
/linux-master/tools/testing/selftests/
H A Dkselftest_harness.h67 #include <sys/wait.h>
880 int timeout; /* seconds to wait for test timeout */
/linux-master/net/unix/
H A Daf_unix.c423 * up on the peer_wait wait queue of a socket upon reception of a
430 * implementation" that it should let go of a certain wait queue
435 * wait queue. This connection is established whenever a write (or
547 wake_up_interruptible_sync_poll(&wq->wait,
672 * like files and pipes do and wait for the last
1446 DEFINE_WAIT(wait);
1448 prepare_to_wait_exclusive(&u->peer_wait, &wait, TASK_INTERRUPTIBLE);
1459 finish_wait(&u->peer_wait, &wait);
2558 DEFINE_WAIT(wait);
2563 prepare_to_wait(sk_sleep(sk), &wait, stat local
2585 finish_wait(sk_sleep(sk), &wait); local
3147 unix_poll(struct file *file, struct socket *sock, poll_table *wait) argument
3190 unix_dgram_poll(struct file *file, struct socket *sock, poll_table *wait) argument
[all...]
/linux-master/net/core/
H A Ddev.c65 * Andrew Morton : Make unregister_netdevice wait
10438 * netdev_wait_allrefs_any - wait until all references are gone.
10439 * @list: list of net_devices to wait on
10453 int wait = 0; local
10491 if (!wait) {
10493 wait = WAIT_REFS_MIN_MSECS;
10495 msleep(wait);
10496 wait = min(wait << 1, WAIT_REFS_MAX_MSECS);
10535 * safely in order to wait fo
[all...]

Completed in 497 milliseconds

1234567891011>>