/linux-master/drivers/char/hw_random/ |
H A D | omap-rng.c | 174 bool wait) 186 if (present || !wait) 173 omap_rng_do_read(struct hwrng *rng, void *data, size_t max, bool wait) argument
|
H A D | xgene-rng.c | 210 static int xgene_rng_data_present(struct hwrng *rng, int wait) argument 217 if ((val & READY_MASK) || !wait)
|
/linux-master/drivers/video/fbdev/ |
H A D | smscufx.c | 238 static int ufx_blank(struct ufx_data *dev, bool wait) argument 258 /* return success immediately if we don't have to wait */ 259 if (!wait) 275 static int ufx_unblank(struct ufx_data *dev, bool wait) argument 295 /* return success immediately if we don't have to wait */ 296 if (!wait) 312 static int ufx_disable(struct ufx_data *dev, bool wait) argument 332 /* return success immediately if we don't have to wait */ 333 if (!wait) 349 static int ufx_enable(struct ufx_data *dev, bool wait) argument [all...] |
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 443 poll_table *wait) 446 return vb2_core_poll(&ctx->vb_q, file, wait); 442 dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file, poll_table *wait) argument
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_ipipe.c | 163 if (omap4iss_module_sync_idle(&sd->entity, &ipipe->wait, 565 init_waitqueue_head(&ipipe->wait);
|
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_res.c | 187 int wait = 1000; local 196 return vnic_dev_cmd(fnic->vdev, CMD_NIC_CFG, &a0, &a1, wait);
|
/linux-master/fs/netfs/ |
H A D | fscache_volume.c | 77 * accesses, the volume's n_accesses is decremented and we wait for it to 157 * wait for the old volume to complete if it's being relinquished and an error 290 void fscache_create_volume(struct fscache_volume *volume, bool wait) argument 305 if (wait) {
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 18 * Set the CM reset bit and wait for it to clear. Use the provided 919 struct iowait *wait; local 923 wait = list_first_entry(&wake_list, struct iowait, list); 924 qp = iowait_to_qp(wait); 956 * sc_wait_for_packet_egress - wait for packet 958 * @pause: wait for credit return 1025 * If the first step fails - wait for the halt to be asserted, return early. 1069 * Now wait for the buffer count to go to zero. 1190 * -ETIMEDOUT - if we wait too long 1298 * should not be in use, so we don't have to wait fo 1591 struct iowait *wait; local [all...] |
/linux-master/fs/afs/ |
H A D | volume.c | 429 goto wait; 449 wait: 451 _leave(" = 0 [no wait]");
|
/linux-master/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 206 static __poll_t dlmfs_file_poll(struct file *file, poll_table *wait) argument 212 poll_wait(file, &ip->ip_lockres.l_event, wait);
|
/linux-master/arch/arc/kernel/ |
H A D | head.S | 115 ; Non-Masters wait for Master to boot enough and bring them up
|
/linux-master/drivers/clk/qcom/ |
H A D | gdsc.c | 140 bool wait) 153 if ((sc->flags & VOTABLE) && status == GDSC_OFF && !wait) { 305 * We wait 1us before returning to ensure the firmware 374 * Configure wait time between states. 139 gdsc_toggle_logic(struct gdsc *sc, enum gdsc_status status, bool wait) argument
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_chardev.c | 189 static __poll_t cros_ec_chardev_poll(struct file *filp, poll_table *wait) argument 193 poll_wait(filp, &priv->wait_event, wait);
|
/linux-master/fs/proc/ |
H A D | proc_sysctl.c | 62 wake_up_interruptible(&poll->wait); 283 /* called under sysctl_lock, will reacquire if has to wait */ 291 struct completion wait; local 292 init_completion(&wait); 293 p->unregistering = &wait; 295 wait_for_completion(&wait); 638 static __poll_t proc_sys_poll(struct file *filp, poll_table *wait) argument 657 poll_wait(filp, &table->poll->wait, wait);
|
/linux-master/include/linux/ |
H A D | buffer_head.h | 16 #include <linux/wait.h> 245 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait);
|
/linux-master/drivers/rpmsg/ |
H A D | rpmsg_core.c | 288 * @wait: poll_table for poll_wait() 293 poll_table *wait) 300 return ept->ops->poll(ept, filp, wait); 292 rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp, poll_table *wait) argument
|
/linux-master/drivers/char/ipmi/ |
H A D | bt-bmc.c | 319 static __poll_t bt_bmc_poll(struct file *file, poll_table *wait) argument 325 poll_wait(file, &bt_bmc->queue, wait);
|
/linux-master/fs/bcachefs/ |
H A D | journal.c | 474 wait_event(j->wait, journal_quiesced(j)); 650 * bch2_journal_flush_seq_async - wait for a journal entry to be written 653 * @parent: closure object to wait with 718 if (parent && !closure_wait(&buf->wait, parent)) 739 if (parent && !closure_wait(&buf->wait, parent)) 760 ret = wait_event_interruptible(j->wait, (ret2 = bch2_journal_flush_seq_async(j, seq, NULL))); 770 * still being written, write it and wait for the write to complete 905 wait_event(j->wait, (ret = __bch2_next_write_buffer_flush_journal_buf(j, max_seq)) != ERR_PTR(-EAGAIN)); 1165 wait_event(j->wait, !bch2_journal_writing_to_device(j, ca->dev_idx)); 1176 wait_event(j->wait, bch2_journal_entry_clos [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispccdc.c | 234 unsigned int wait; local 240 for (wait = 0; wait < 1000; wait++) { 1343 ret = wait_event_timeout(ccdc->wait, 1402 * @max_wait: Max retry count in us for wait for idle/busy transition. 1407 unsigned int wait = 0; local 1412 for (wait = 0; wait <= max_wait; wait [all...] |
/linux-master/net/tls/ |
H A D | tls_sw.c | 203 * First wait converts -EBUSY -> -EINPROGRESS, and the second one 278 DECLARE_CRYPTO_WAIT(wait); 282 crypto_req_done, &wait); 285 ret = crypto_wait_req(ret, &wait); 1313 DEFINE_WAIT_FUNC(wait, woken_wake_function); 1345 add_wait_queue(sk_sleep(sk), &wait); local 1350 &wait); 1352 remove_wait_queue(sk_sleep(sk), &wait); local 1896 DEFINE_WAIT_FUNC(wait, woken_wake_function); 1900 add_wait_queue(&ctx->wq, &wait); [all...] |
/linux-master/drivers/md/ |
H A D | dm.c | 28 #include <linux/wait.h> 969 if (unlikely(wq_has_sleeper(&md->wait))) 970 wake_up(&md->wait); 2142 init_waitqueue_head(&md->wait); 2511 static void __dm_destroy(struct mapped_device *md, bool wait) argument 2547 if (wait) 2588 DEFINE_WAIT(wait); 2591 prepare_to_wait(&md->wait, &wait, task_state); 2603 finish_wait(&md->wait, [all...] |
/linux-master/drivers/scsi/ |
H A D | qla1280.c | 93 - Use completion queue for mailbox commands instead of busy wait 694 sp->wait = NULL; 737 struct completion *wait) 743 wait_for_completion_timeout(wait, 4*HZ); 745 sp->wait = NULL; 756 DECLARE_COMPLETION_ONSTACK(wait); 758 sp->wait = &wait; 759 return _qla1280_wait_for_single_command(ha, sp, &wait); 797 * wait fo 736 _qla1280_wait_for_single_command(struct scsi_qla_host *ha, struct srb *sp, struct completion *wait) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | core.c | 960 struct rtw89_tx_wait_info *wait; local 964 wait = kzalloc(sizeof(*wait), GFP_KERNEL); 965 if (!wait) { 970 init_completion(&wait->completion); 971 rcu_assign_pointer(skb_data->wait, wait); 974 time_left = wait_for_completion_timeout(&wait->completion, 978 else if (!wait->tx_done) 981 rcu_assign_pointer(skb_data->wait, NUL 4022 rtw89_wait_for_cond(struct rtw89_wait_info *wait, unsigned int cond) argument 4044 rtw89_complete_cond(struct rtw89_wait_info *wait, unsigned int cond, const struct rtw89_completion_data *data) argument [all...] |
/linux-master/mm/ |
H A D | memcontrol.c | 169 wait_queue_entry_t wait; member in struct:mem_cgroup_event 1688 DEFINE_WAIT(wait); 1689 prepare_to_wait(&mc.waitq, &wait, TASK_INTERRUPTIBLE); 1693 finish_wait(&mc.waitq, &wait); 2123 wait_queue_entry_t wait; member in struct:oom_wait_info 2126 static int memcg_oom_wake_function(wait_queue_entry_t *wait, argument 2133 oom_wait_info = container_of(wait, struct oom_wait_info, wait); 2139 return autoremove_wake_function(wait, mode, sync, arg); 2213 * @handle: actually kill/wait o 5208 memcg_event_wake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) argument [all...] |
/linux-master/arch/mips/kernel/ |
H A D | bmips_vec.S | 50 /* re-enable IRQs to wait for SW1 */ 66 /* wait here for SW1 interrupt from bmips_boot_secondary() */ 67 wait
|