Home
last modified time | relevance | path

Searched refs:timeout_ms (Results 1 – 25 of 147) sorted by relevance

123456

/linux/tools/testing/selftests/bpf/
A Dnetwork_helpers.c43 int settimeo(int fd, int timeout_ms) in settimeo() argument
47 if (timeout_ms > 0) { in settimeo()
48 timeout.tv_sec = timeout_ms / 1000; in settimeo()
81 if (settimeo(fd, timeout_ms)) in __start_server()
110 int timeout_ms) in start_server() argument
119 addrlen, timeout_ms, false); in start_server()
141 timeout_ms, true); in start_reuseport_server()
151 addrlen, timeout_ms, true); in start_reuseport_server()
173 int timeout_ms) in fastopen_connect() argument
192 if (settimeo(fd, timeout_ms)) in fastopen_connect()
[all …]
A Dnetwork_helpers.h22 int timeout_ms; member
42 int settimeo(int fd, int timeout_ms);
44 int timeout_ms);
46 __u16 port, int timeout_ms,
49 int connect_to_fd(int server_fd, int timeout_ms);
51 int connect_fd_to_fd(int client_fd, int server_fd, int timeout_ms);
53 int timeout_ms);
/linux/drivers/mmc/core/
A Dmmc_ops.h43 unsigned int timeout_ms);
44 int __mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms,
47 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms,
50 unsigned int timeout_ms, unsigned char timing,
53 unsigned int timeout_ms);
57 int mmc_sanitize(struct mmc_card *card, unsigned int timeout_ms);
A Dmmc_ops.c529 unsigned int timeout_ms) in mmc_prepare_busy_cmd() argument
539 (timeout_ms > host->max_busy_timeout)) { in mmc_prepare_busy_cmd()
545 cmd->busy_timeout = timeout_ms; in mmc_prepare_busy_cmd()
565 unsigned int timeout_ms, unsigned char timing, in __mmc_switch() argument
576 if (!timeout_ms) { in __mmc_switch()
579 timeout_ms = card->ext_csd.generic_cmd6_time; in __mmc_switch()
604 mmc_delay(timeout_ms); in __mmc_switch()
630 unsigned int timeout_ms) in mmc_switch() argument
1015 if (!timeout_ms) in mmc_sanitize()
1016 timeout_ms = MMC_SANITIZE_TIMEOUT_MS; in mmc_sanitize()
[all …]
/linux/tools/testing/selftests/net/
A Dudpgso_bench_rx.c92 static void do_poll(int fd, int timeout_ms) in do_poll() argument
108 if (!timeout_ms) in do_poll()
111 timeout_ms -= 10; in do_poll()
112 if (timeout_ms <= 0) { in do_poll()
356 int timeout_ms = cfg_tcp ? cfg_rcv_timeout_ms : cfg_connect_timeout_ms; in do_recv() local
370 do_poll(fd, timeout_ms); in do_recv()
388 timeout_ms = cfg_rcv_timeout_ms; in do_recv()
/linux/drivers/media/platform/mtk-vcodec/
A Dmtk_vcodec_intr.c15 unsigned int timeout_ms) in mtk_vcodec_wait_for_done_ctx() argument
22 timeout_jiff = msecs_to_jiffies(timeout_ms); in mtk_vcodec_wait_for_done_ctx()
31 ctx->id, ctx->type, command, timeout_ms, in mtk_vcodec_wait_for_done_ctx()
/linux/drivers/scsi/
A Dscsi_debugfs.c37 int timeout_ms = jiffies_to_msecs(rq->timeout); in scsi_show_rq() local
48 timeout_ms / 1000, timeout_ms % 1000, in scsi_show_rq()
/linux/include/trace/events/
A Dib_umad.h28 __field(u32, timeout_ms)
58 __entry->timeout_ms = umad_hdr->timeout_ms;
93 __entry->id, __entry->status, __entry->timeout_ms,
/linux/drivers/gpu/drm/i915/selftests/
A Di915_selftest.c33 .timeout_ms = 500,
140 i915_selftest.timeout_ms ? in __run_selftests()
141 msecs_to_jiffies_timeout(i915_selftest.timeout_ms) : in __run_selftests()
147 name, i915_selftest.random_seed, i915_selftest.timeout_ms); in __run_selftests()
429 module_param_named(st_timeout, i915_selftest.timeout_ms, uint, 0400);
/linux/drivers/bus/mhi/core/
A Ddebugfs.c275 seq_printf(m, "%u ms\n", mhi_cntrl->timeout_ms); in mhi_debugfs_timeout_ms_show()
286 u32 timeout_ms; in mhi_debugfs_timeout_ms_write() local
288 if (kstrtou32_from_user(ubuf, count, 0, &timeout_ms)) in mhi_debugfs_timeout_ms_write()
291 mhi_cntrl->timeout_ms = timeout_ms; in mhi_debugfs_timeout_ms_write()
A Dpm.c594 unsigned long timeout = msecs_to_jiffies(mhi_cntrl->timeout_ms); in mhi_pm_sys_error_transition()
823 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_pm_suspend()
862 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_pm_suspend()
935 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in __mhi_pm_resume()
978 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in __mhi_device_get_sync()
1108 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_async_power_up()
1200 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_sync_power_up()
1225 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_force_rddm_mode()
/linux/drivers/iio/magnetometer/
A Dak8975.c610 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
614 while (timeout_ms) { in wait_conversion_complete_gpio()
618 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
620 if (!timeout_ms) { in wait_conversion_complete_gpio()
636 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
640 while (timeout_ms) { in wait_conversion_complete_polled()
651 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
653 if (!timeout_ms) { in wait_conversion_complete_polled()
/linux/include/uapi/rdma/
A Drdma_user_cm.h129 __u32 timeout_ms; member
134 __u32 timeout_ms; member
144 __u32 timeout_ms; member
A Dib_user_mad.h76 __u32 timeout_ms; member
120 __u32 timeout_ms; member
/linux/drivers/virt/vboxguest/
A Dvboxguest_utils.c471 u32 timeout_ms, bool interruptible, bool *leak_it) in vbg_hgcm_do_call() argument
493 if (timeout_ms == U32_MAX) in vbg_hgcm_do_call()
496 timeout = msecs_to_jiffies(timeout_ms); in vbg_hgcm_do_call()
608 u32 function, u32 timeout_ms, in vbg_hgcm_call() argument
639 ret = vbg_hgcm_do_call(gdev, call, timeout_ms, in vbg_hgcm_call()
664 u32 timeout_ms, struct vmmdev_hgcm_function_parameter32 *parm32, in vbg_hgcm_call32() argument
705 ret = vbg_hgcm_call(gdev, requestor, client_id, function, timeout_ms, in vbg_hgcm_call32()
/linux/include/uapi/linux/
A Dnvme_ioctl.h44 __u32 timeout_ms; member
65 __u32 timeout_ms; member
A Dvboxguest.h154 __u32 timeout_ms; member
211 __u32 timeout_ms; member
/linux/kernel/power/
A Dwakelock.c239 u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; in pm_wake_lock() local
241 do_div(timeout_ms, NSEC_PER_MSEC); in pm_wake_lock()
242 __pm_wakeup_event(wl->ws, timeout_ms); in pm_wake_lock()
/linux/drivers/gpu/drm/i915/
A Dintel_uncore.h273 unsigned int timeout_ms) in intel_wait_for_register() argument
276 timeout_ms, NULL); in intel_wait_for_register()
291 unsigned int timeout_ms) in intel_wait_for_register_fw() argument
294 2, timeout_ms, NULL); in intel_wait_for_register_fw()
/linux/drivers/mtd/nand/raw/
A Dau1550nd.c138 static int au1550nd_waitrdy(struct nand_chip *this, unsigned int timeout_ms) in au1550nd_waitrdy() argument
142 timeout_jiffies += msecs_to_jiffies(timeout_ms) + 1; in au1550nd_waitrdy()
198 ret = au1550nd_waitrdy(this, instr->ctx.waitrdy.timeout_ms); in au1550nd_exec_instr()
A Dintel-nand-controller.c135 static int ebu_nand_waitrdy(struct nand_chip *chip, int timeout_ms) in ebu_nand_waitrdy() argument
142 (status & EBU_WAIT_WR_C), 20, timeout_ms); in ebu_nand_waitrdy()
522 int i, timeout_ms, ret = 0; in ebu_nand_exec_op() local
555 timeout_ms = instr->ctx.waitrdy.timeout_ms * 1000; in ebu_nand_exec_op()
556 ret = ebu_nand_waitrdy(chip, timeout_ms); in ebu_nand_exec_op()
A Dcs553x_nand.c145 unsigned int timeout_ms) in cs553x_wait_ready() argument
152 timeout_ms * 1000); in cs553x_wait_ready()
187 ret = cs553x_wait_ready(cs553x, instr->ctx.waitrdy.timeout_ms); in cs553x_exec_instr()
/linux/sound/firewire/
A Damdtp-stream.h341 static inline bool amdtp_domain_wait_ready(struct amdtp_domain *d, unsigned int timeout_ms) in amdtp_domain_wait_ready() argument
346 unsigned int j = msecs_to_jiffies(timeout_ms); in amdtp_domain_wait_ready()
/linux/drivers/infiniband/core/
A Dsa_query.c1316 query->mad_buf->timeout_ms = timeout_ms / nmbr_sa_query_retries; in send_mad()
1318 if (!query->mad_buf->timeout_ms) { in send_mad()
1320 query->mad_buf->timeout_ms = 1; in send_mad()
1321 query->mad_buf->retries = timeout_ms; in send_mad()
1490 unsigned long timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get() argument
1573 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_path_rec_get()
1618 unsigned long timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query() argument
1666 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_mcmember_rec_query()
1709 unsigned long timeout_ms, gfp_t gfp_mask, in ib_sa_guid_info_rec_query() argument
1764 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); in ib_sa_guid_info_rec_query()
[all …]
/linux/drivers/net/wireless/ti/wl1251/
A Devent.c158 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait() argument
163 timeout = jiffies + msecs_to_jiffies(timeout_ms); in wl1251_event_wait()

Completed in 82 milliseconds

123456