/linux-master/kernel/locking/ |
H A D | percpu-rwsem.c | 4 #include <linux/wait.h> 144 bool wait; local 151 wait = !__percpu_rwsem_trylock(sem, reader); 152 if (wait) { 158 while (wait) { 248 * see their sem->read_count increment, and therefore will wait for
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_res.c | 112 int wait = 1000; local 115 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_ADD, &a0, &a1, wait); 125 int wait = 1000; local 128 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_DEL, &a0, &a1, wait); 142 int wait = 1000; local 155 return vnic_dev_cmd(enic->vdev, cmd, &a0, &a1, wait); 161 int wait = 1000; local 163 return vnic_dev_cmd(enic->vdev, CMD_RSS_KEY, &a0, &a1, wait); 169 int wait = 1000; local 171 return vnic_dev_cmd(enic->vdev, CMD_RSS_CPU, &a0, &a1, wait); [all...] |
/linux-master/fs/bcachefs/ |
H A D | six.c | 345 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 D | movinggc.c | 27 #include <linux/wait.h> 271 s64 wait = S64_MAX, fragmented_allowed, fragmented; local 284 wait = min(wait, max(0LL, fragmented_allowed - fragmented)); 287 return wait; 303 prt_printf(out, "Currently calculated wait: "); 315 u64 last, wait; local 354 wait = bch2_copygc_wait_amount(c); 356 if (wait > clock->max_slop) { 358 c->copygc_wait = last + wait; [all...] |
H A D | move.h | 38 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 D | irqfd.c | 24 * @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 D | snic_ctl.c | 200 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 D | timerdev.c | 31 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 D | nwbutton.c | 160 * /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/drivers/net/wireless/ath/ath9k/ |
H A D | rng.c | 40 /* 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 D | verbs_txreq.c | 35 struct iowait *wait; local 38 wait = list_first_entry(&dev->txwait, struct iowait, 40 qp = iowait_to_qp(wait);
|
/linux-master/fs/jffs2/ |
H A D | background.c | 63 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/security/integrity/ima/ |
H A D | ima_crypto.c | 313 static inline int ahash_wait(int err, struct crypto_wait *wait) argument 316 err = crypto_wait_req(err, wait); 333 struct crypto_wait wait; local 342 crypto_init_wait(&wait); 345 crypto_req_done, &wait); 347 rc = ahash_wait(crypto_ahash_init(req), &wait); 380 * read/request, wait for the completion of the 383 rc = ahash_wait(ahash_rc, &wait); 398 ahash_wait(ahash_rc, &wait); 404 * read/request, wait fo 664 struct crypto_wait wait; local [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_syncobj.c | 3 * 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 D | smp.h | 54 #define smp_call_function_on_cpu(func,info,wait,cpu) ({ 0; })
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_ipipeif.h | 55 * @wait: Wait queue used to stop the module 70 wait_queue_head_t wait; member in struct:iss_ipipeif_device
|
H A D | iss_resizer.h | 39 * @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 D | pvcalls-front.h | 25 poll_table *wait);
|
/linux-master/tools/perf/trace/beauty/ |
H A D | waitid_options.c | 3 #include <sys/wait.h>
|
/linux-master/tools/testing/selftests/proc/ |
H A D | thread-self.c | 23 #include <sys/wait.h>
|
/linux-master/drivers/net/ethernet/apm/xgene-v2/ |
H A D | mdio.c | 16 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 D | ibmasm.h | 15 #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 D | seq_oss_readq.h | 32 unsigned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wait);
|
/linux-master/include/linux/ |
H A D | hiddev.h | 28 wait_queue_head_t wait; member in struct:hiddev
|
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | fork_cleanup_test.c | 11 #include <sys/wait.h>
|