Searched refs:wait (Results 251 - 275 of 2174) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/char/hw_random/
H A Dpasemi-rng.c33 static int pasemi_rng_data_present(struct hwrng *rng, int wait) argument
41 if (data || !wait)
H A Dpic32-rng.c50 bool wait)
65 } while (wait && --timeout);
49 pic32_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
H A Dgeode-rng.c69 static int geode_rng_data_present(struct hwrng *rng, int wait) argument
77 if (data || !wait)
/linux-master/include/linux/
H A Dtty_ldisc.h8 #include <linux/wait.h>
147 * struct poll_table_struct *wait)``
159 * but should wait until any pending driver I/O is completed. No further
251 struct poll_table_struct *wait);
H A Dmempool.h8 #include <linux/wait.h>
25 wait_queue_head_t wait; member in struct:mempool_s
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dmmsch_v4_0.h125 #define MMSCH_V4_0_INSERT_DIRECT_POLL(reg, mask, wait) { \
130 direct_poll.wait_value = wait; \
H A Damdgpu_cs.c1452 * amdgpu_cs_wait_ioctl - wait for a command submission to finish
1463 union drm_amdgpu_wait_cs *wait = data; local
1464 unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout);
1470 ctx = amdgpu_ctx_get(filp->driver_priv, wait->in.ctx_id);
1474 r = amdgpu_ctx_get_entity(ctx, wait->in.ip_type, wait->in.ip_instance,
1475 wait->in.ring, &entity);
1481 fence = amdgpu_ctx_get_fence(ctx, entity, wait->in.handle);
1496 memset(wait, 0, sizeof(*wait));
1603 amdgpu_cs_wait_all_fences(struct amdgpu_device *adev, struct drm_file *filp, union drm_amdgpu_wait_fences *wait, struct drm_amdgpu_fence *fences) argument
1648 amdgpu_cs_wait_any_fence(struct amdgpu_device *adev, struct drm_file *filp, union drm_amdgpu_wait_fences *wait, struct drm_amdgpu_fence *fences) argument
1716 union drm_amdgpu_wait_fences *wait = data; local
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Duser_sdma.h10 #include <linux/wait.h>
95 wait_queue_head_t wait; member in struct:hfi1_user_sdma_pkt_q
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchan.h70 int nvkm_chan_preempt(struct nvkm_chan *, bool wait);
71 int nvkm_chan_preempt_locked(struct nvkm_chan *, bool wait);
/linux-master/drivers/nvme/common/
H A Dauth.c400 struct crypto_wait wait; local
408 crypto_init_wait(&wait);
413 crypto_req_done, &wait);
415 ret = crypto_wait_req(crypto_kpp_generate_public_key(req), &wait);
426 struct crypto_wait wait; local
434 crypto_init_wait(&wait);
440 crypto_req_done, &wait);
442 ret = crypto_wait_req(crypto_kpp_compute_shared_secret(req), &wait);
/linux-master/crypto/
H A Dalgif_hash.c24 struct crypto_wait wait; member in struct:hash_ctx
98 &ctx->wait);
142 &ctx->wait);
155 err = crypto_wait_req(err, &ctx->wait);
204 &ctx->wait);
212 &ctx->wait);
426 crypto_init_wait(&ctx->wait);
432 crypto_req_done, &ctx->wait);
/linux-master/fs/btrfs/
H A Ddelayed-inode.h15 #include <linux/wait.h>
44 wait_queue_head_t wait; member in struct:btrfs_delayed_root
/linux-master/arch/x86/kernel/
H A Dsmp.c149 static void native_stop_other_cpus(int wait) argument
197 * Don't wait longer than a second for IPI completion. The
198 * wait request is not checked here because that would
211 * and send the IPI. In any case try to wait for the other
223 * Don't wait longer than 10 ms if the caller didn't
224 * request it. If wait is true, the machine hangs here if
228 while (!cpumask_empty(&cpus_stop_mask) && (wait || timeout--))
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_replay.c146 bool amdgpu_dm_replay_enable(struct dc_stream_state *stream, bool wait) argument
160 link->dc->link_srv->edp_set_replay_allow_active(link, &replay_active, wait, false, NULL);
/linux-master/sound/core/seq/oss/
H A Dseq_oss_device.h12 #include <linux/wait.h>
115 __poll_t snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait);
/linux-master/mm/
H A Dmempool.c204 init_waitqueue_head(&pool->wait);
394 wait_queue_entry_t wait; local
442 /* Let's wait for someone else to return an element to @pool */
443 init_wait(&wait);
444 prepare_to_wait(&pool->wait, &wait, TASK_UNINTERRUPTIBLE);
454 finish_wait(&pool->wait, &wait);
549 wake_up(&pool->wait);
/linux-master/net/bluetooth/cmtp/
H A Dcapi.c37 #include <linux/wait.h>
210 wake_up_interruptible(&session->wait);
222 wake_up_interruptible(&session->wait);
236 wake_up_interruptible(&session->wait);
381 DECLARE_WAITQUEUE(wait, current);
415 add_wait_queue(&session->wait, &wait);
440 remove_wait_queue(&session->wait, &wait);
466 wait_event_interruptible_timeout(session->wait,
[all...]
/linux-master/drivers/hid/
H A Dhidraw.c45 DECLARE_WAITQUEUE(wait, current);
51 add_wait_queue(&list->hidraw->wait, &wait);
76 remove_wait_queue(&list->hidraw->wait, &wait);
251 static __poll_t hidraw_poll(struct file *file, poll_table *wait) argument
256 poll_wait(file, &list->hidraw->wait, wait);
332 wake_up_interruptible(&hidraw->wait);
543 wake_up_interruptible(&dev->wait);
[all...]
/linux-master/net/bluetooth/
H A Daf_bluetooth.c355 DECLARE_WAITQUEUE(wait, current);
357 add_wait_queue(sk_sleep(sk), &wait); local
378 remove_wait_queue(sk_sleep(sk), &wait); local
504 poll_table *wait)
509 poll_wait(file, sk_sleep(sk), wait);
588 DECLARE_WAITQUEUE(wait, current);
593 add_wait_queue(sk_sleep(sk), &wait); local
616 remove_wait_queue(sk_sleep(sk), &wait); local
624 DECLARE_WAITQUEUE(wait, current);
632 add_wait_queue(sk_sleep(sk), &wait); local
503 bt_sock_poll(struct file *file, struct socket *sock, poll_table *wait) argument
655 remove_wait_queue(sk_sleep(sk), &wait); local
[all...]
/linux-master/fs/dlm/
H A Dplock.c59 iter->info.wait) {
111 op->info.wait = 0;
143 op->info.wait = !!(fl->c.flc_flags & FL_SLEEP);
173 if (op->info.wait) {
203 /* internal error doing cancel we need to wait */
204 goto wait;
207 log_debug(ls, "%s: wait interrupted %x %llx pid %d",
214 wait:
545 if (info.wait) {
549 if (!iter->info.wait
586 dev_poll(struct file *file, poll_table *wait) argument
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-fileops.c198 DEFINE_WAIT(wait);
260 /* wait for more data to arrive */
262 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE);
266 finish_wait(&s->waitq, &wait);
547 DEFINE_WAIT(wait);
622 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE);
626 finish_wait(&s->waitq, &wait);
683 prepare_to_wait(&itv->dma_waitq, &wait, TASK_INTERRUPTIBLE);
688 finish_wait(&itv->dma_waitq, &wait);
700 /* more user data is available, wait unti
721 ivtv_v4l2_dec_poll(struct file *filp, poll_table *wait) argument
755 ivtv_v4l2_enc_poll(struct file *filp, poll_table *wait) argument
[all...]
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c253 DECLARE_WAITQUEUE(wait, current);
344 /* Latency issues. Drop the lock, wait a while and retry */
351 /* Stick ourselves on a wait queue to be woken when
354 add_wait_queue(&chip->wq, &wait);
357 remove_wait_queue(&chip->wq, &wait);
427 DECLARE_WAITQUEUE(wait, current);
478 /* Latency issues. Drop the lock, wait a while and retry */
484 /* Stick ourselves on a wait queue to be woken when
487 add_wait_queue(&chip->wq, &wait);
490 remove_wait_queue(&chip->wq, &wait);
[all...]
/linux-master/io_uring/
H A Dio-wq.c119 struct wait_queue_entry wait; member in struct:io_wq
462 spin_lock_irq(&wq->hash->wait.lock);
463 if (list_empty(&wq->wait.entry)) {
464 __add_wait_queue(&wq->hash->wait, &wq->wait);
467 list_del_init(&wq->wait.entry);
471 spin_unlock_irq(&wq->hash->wait.lock);
524 if (wq_has_sleeper(&wq->hash->wait))
525 wake_up(&wq->hash->wait);
611 spin_lock_irq(&wq->hash->wait
1122 io_wq_hash_wake(struct wait_queue_entry *wait, unsigned mode, int sync, void *key) argument
[all...]
/linux-master/drivers/mmc/host/
H A Dusdhi6rol0.c183 enum usdhi6_wait_for wait; member in struct:usdhi6_host
285 if (host->wait == USDHI6_WAIT_FOR_CMD)
288 err, rsp54, host->wait, opc);
292 err, rsp54, host->wait, opc);
299 err, host->wait, host->mrq ? host->mrq->cmd->opcode : -1);
492 host->wait = USDHI6_WAIT_FOR_DATA_END;
907 "Page %p or %p not unmapped: wait %u, CMD%d(%c) @ +0x%zx %ux%u in SG%u!\n",
908 host->pg.page, host->head_pg.page, host->wait, mrq->cmd->opcode,
926 host->wait = USDHI6_WAIT_FOR_REQUEST;
1077 host->wait
[all...]
/linux-master/drivers/md/
H A Ddm-verity-target.c107 struct crypto_wait *wait)
114 return crypto_wait_req(crypto_ahash_update(req), wait);
125 r = crypto_wait_req(crypto_ahash_update(req), wait);
139 struct crypto_wait *wait, bool may_sleep)
146 crypto_req_done, (void *)wait);
147 crypto_init_wait(wait);
149 r = crypto_wait_req(crypto_ahash_init(req), wait);
158 r = verity_hash_update(v, req, v->salt, v->salt_size, wait);
164 u8 *digest, struct crypto_wait *wait)
169 r = verity_hash_update(v, req, v->salt, v->salt_size, wait);
105 verity_hash_update(struct dm_verity *v, struct ahash_request *req, const u8 *data, size_t len, struct crypto_wait *wait) argument
138 verity_hash_init(struct dm_verity *v, struct ahash_request *req, struct crypto_wait *wait, bool may_sleep) argument
163 verity_hash_final(struct dm_verity *v, struct ahash_request *req, u8 *digest, struct crypto_wait *wait) argument
187 struct crypto_wait wait; local
410 verity_for_io_block(struct dm_verity *v, struct dm_verity_io *io, struct bvec_iter *iter, struct crypto_wait *wait) argument
574 struct crypto_wait wait; local
[all...]

Completed in 243 milliseconds

<<11121314151617181920>>