Searched refs:wait (Results 126 - 150 of 2174) sorted by relevance

1234567891011>>

/linux-master/fs/bcachefs/
H A Dsix.c345 struct six_lock_waiter *wait,
354 if (lock->wait_list.next != &wait->list)
366 * wait->lock_acquired: pairs with the smp_store_release in
369 if (smp_load_acquire(&wait->lock_acquired)) {
395 struct six_lock_waiter *wait,
405 struct six_lock_waiter *wait,
420 wait->task = current;
421 wait->lock_want = type;
422 wait->lock_acquired = false;
432 wait
344 six_optimistic_spin(struct six_lock *lock, struct six_lock_waiter *wait, enum six_lock_type type) argument
394 six_optimistic_spin(struct six_lock *lock, struct six_lock_waiter *wait, enum six_lock_type type) argument
404 six_lock_slowpath(struct six_lock *lock, enum six_lock_type type, struct six_lock_waiter *wait, six_lock_should_sleep_fn should_sleep_fn, void *p, unsigned long ip) argument
537 six_lock_ip_waiter(struct six_lock *lock, enum six_lock_type type, struct six_lock_waiter *wait, six_lock_should_sleep_fn should_sleep_fn, void *p, unsigned long ip) argument
[all...]
H A Dmovinggc.c27 #include <linux/wait.h>
269 s64 wait = S64_MAX, fragmented_allowed, fragmented; local
282 wait = min(wait, max(0LL, fragmented_allowed - fragmented));
285 return wait;
301 prt_printf(out, "Currently calculated wait: ");
313 u64 last, wait; local
352 wait = bch2_copygc_wait_amount(c);
354 if (wait > clock->max_slop) {
356 c->copygc_wait = last + wait;
[all...]
H A Dmove.h38 wait_queue_head_t wait; member in struct:moving_context
51 _ret = __wait_event_timeout((_ctxt)->wait, \
68 __wait_event((_ctxt)->wait, \
/linux-master/drivers/virt/acrn/
H A Dirqfd.c24 * @wait: Entry of wait-queue
33 wait_queue_entry_t wait; member in struct:hsm_irqfd
55 /* remove from wait queue */
57 eventfd_ctx_remove_wait_queue(irqfd->eventfd, &irqfd->wait, &cnt);
76 static int hsm_irqfd_wakeup(wait_queue_entry_t *wait, unsigned int mode, argument
83 irqfd = container_of(wait, struct hsm_irqfd, wait);
102 add_wait_queue(wqh, &irqfd->wait);
145 init_waitqueue_func_entry(&irqfd->wait, hsm_irqfd_wakeu
[all...]
/linux-master/drivers/scsi/snic/
H A Dsnic_ctl.c200 if (snic->fwinfo.wait)
201 complete(snic->fwinfo.wait);
219 DECLARE_COMPLETION_ONSTACK(wait);
227 snic->fwinfo.wait = &wait;
242 wait_for_completion_timeout(&wait, msecs_to_jiffies(2000));
249 /* Unset fwinfo.wait, on success or on last retry */
251 snic->fwinfo.wait = NULL;
/linux-master/drivers/isdn/mISDN/
H A Dtimerdev.c31 wait_queue_head_t wait; member in struct:mISDNtimerdev
58 init_waitqueue_head(&dev->wait);
112 wait_event_interruptible(dev->wait, (dev->work ||
136 mISDN_poll(struct file *filep, poll_table *wait) argument
142 printk(KERN_DEBUG "%s(%p, %p)\n", __func__, filep, wait);
144 poll_wait(filep, &dev->wait, wait);
164 wake_up_interruptible(&timer->dev->wait);
176 wake_up_interruptible(&dev->wait);
/linux-master/drivers/char/
H A Dnwbutton.c160 * /dev/nwbutton. It puts the device to sleep on the wait queue until
171 DEFINE_WAIT(wait);
172 prepare_to_wait(&button_wait_queue, &wait, TASK_INTERRUPTIBLE);
174 finish_wait(&button_wait_queue, &wait);
/linux-master/fs/jffs2/
H A Dbackground.c63 int wait = 0; local
68 wait = 1;
71 if (wait)
120 /* Put_super will send a SIGKILL and then wait on the sem.
/linux-master/drivers/net/wireless/ath/ath9k/
H A Drng.c40 /* wait for data ready */
69 static int ath9k_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
83 if (!wait || !max || likely(bytes_read) || fail_stats > 110)
90 if (wait && !bytes_read && max)
/linux-master/drivers/infiniband/hw/hfi1/
H A Dverbs_txreq.c35 struct iowait *wait; local
38 wait = list_first_entry(&dev->txwait, struct iowait,
40 qp = iowait_to_qp(wait);
/linux-master/security/integrity/ima/
H A Dima_crypto.c318 static inline int ahash_wait(int err, struct crypto_wait *wait) argument
321 err = crypto_wait_req(err, wait);
338 struct crypto_wait wait; local
347 crypto_init_wait(&wait);
350 crypto_req_done, &wait);
352 rc = ahash_wait(crypto_ahash_init(req), &wait);
385 * read/request, wait for the completion of the
388 rc = ahash_wait(ahash_rc, &wait);
403 ahash_wait(ahash_rc, &wait);
409 * read/request, wait fo
669 struct crypto_wait wait; local
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_syncobj.c3 * Parts ported from amdgpu (fence wait code).
107 * Host-side wait on syncobjs
111 * host-side wait on all of the syncobj fences simultaneously.
112 * If &DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL is set, the wait ioctl will wait on
119 * the host-side wait will first wait for the syncobj to receive a non-NULL
120 * fence and then wait on that fence.
124 * to do a host wait in one thread (or process) which waits on GPU work
135 * handles as well as an array of u64 points and does a host-side wait o
265 drm_syncobj_fence_add_wait(struct drm_syncobj *syncobj, struct syncobj_wait_entry *wait) argument
290 drm_syncobj_remove_wait(struct drm_syncobj *syncobj, struct syncobj_wait_entry *wait) argument
440 struct syncobj_wait_entry wait; local
1005 struct syncobj_wait_entry *wait = local
1011 syncobj_wait_syncobj_func(struct drm_syncobj *syncobj, struct syncobj_wait_entry *wait) argument
1227 drm_syncobj_array_wait(struct drm_device *dev, struct drm_file *file_private, struct drm_syncobj_wait *wait, struct drm_syncobj_timeline_wait *timeline_wait, struct drm_syncobj **syncobjs, bool timeline, ktime_t *deadline) argument
[all...]
/linux-master/arch/alpha/include/asm/
H A Dsmp.h54 #define smp_call_function_on_cpu(func,info,wait,cpu) ({ 0; })
/linux-master/drivers/staging/media/omap4iss/
H A Diss_ipipeif.h55 * @wait: Wait queue used to stop the module
70 wait_queue_head_t wait; member in struct:iss_ipipeif_device
H A Diss_resizer.h39 * @wait: Wait queue used to stop the module
53 wait_queue_head_t wait; member in struct:iss_resizer_device
/linux-master/drivers/xen/
H A Dpvcalls-front.h25 poll_table *wait);
/linux-master/tools/perf/trace/beauty/
H A Dwaitid_options.c3 #include <sys/wait.h>
/linux-master/tools/testing/selftests/proc/
H A Dthread-self.c23 #include <sys/wait.h>
/linux-master/drivers/net/ethernet/apm/xgene-v2/
H A Dmdio.c16 u8 wait = 10; local
26 } while ((done & MII_MGMT_BUSY) && wait--);
40 u8 wait = 10; local
50 } while ((done & MII_MGMT_BUSY) && wait--);
/linux-master/drivers/misc/ibmasm/
H A Dibmasm.h15 #include <linux/wait.h>
81 wait_queue_head_t wait; member in struct:command
123 wait_queue_head_t wait; member in struct:event_reader
130 wait_queue_head_t wait; member in struct:reverse_heartbeat
/linux-master/sound/core/seq/oss/
H A Dseq_oss_readq.h32 unsigned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wait);
/linux-master/include/linux/
H A Dhiddev.h28 wait_queue_head_t wait; member in struct:hiddev
H A Dhidraw.h15 wait_queue_head_t wait; member in struct:hidraw
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dfork_cleanup_test.c11 #include <sys/wait.h>
/linux-master/sound/core/seq/
H A Dseq_fifo.h51 int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait);

Completed in 350 milliseconds

1234567891011>>