Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dnetwork_helpers.c43 static 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()
49 timeout.tv_usec = (timeout_ms % 1000) * 1000; in settimeo()
70 int timeout_ms) in start_server() argument
85 if (settimeo(fd, timeout_ms)) in start_server()
108 int timeout_ms) in fastopen_connect() argument
127 if (settimeo(fd, timeout_ms)) in fastopen_connect()
156 int connect_to_fd(int server_fd, int timeout_ms) in connect_to_fd() argument
182 if (settimeo(fd, timeout_ms)) in connect_to_fd()
[all …]
Dnetwork_helpers.h37 int timeout_ms);
38 int connect_to_fd(int server_fd, int timeout_ms);
39 int connect_fd_to_fd(int client_fd, int server_fd, int timeout_ms);
41 int timeout_ms);
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
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()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_debugfs.c39 int timeout_ms = jiffies_to_msecs(rq->timeout); in scsi_show_rq() local
50 timeout_ms / 1000, timeout_ms % 1000, in scsi_show_rq()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dmmc_ops.h38 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms,
41 unsigned int timeout_ms, unsigned char timing,
44 unsigned int timeout_ms);
Dmmc_ops.c488 static int __mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, in __mmc_poll_for_busy() argument
505 mmc_delay(timeout_ms); in __mmc_poll_for_busy()
509 timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1; in __mmc_poll_for_busy()
539 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, in mmc_poll_for_busy() argument
542 return __mmc_poll_for_busy(card, timeout_ms, true, false, busy_cmd); in mmc_poll_for_busy()
560 unsigned int timeout_ms, unsigned char timing, in __mmc_switch() argument
571 if (!timeout_ms) { in __mmc_switch()
574 timeout_ms = card->ext_csd.generic_cmd6_time; in __mmc_switch()
585 (timeout_ms > host->max_busy_timeout)) in __mmc_switch()
596 cmd.busy_timeout = timeout_ms; in __mmc_switch()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dib_umad.h28 __field(u32, timeout_ms)
58 __entry->timeout_ms = umad_hdr->timeout_ms;
93 __entry->id, __entry->status, __entry->timeout_ms,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
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);
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dapi_shell.c322 long timeout_ms; in OsPingFunc() local
434 timeout_ms = ((end.tv_sec - start.tv_sec) * OS_SYS_MS_PER_SECOND + \ in OsPingFunc()
436 timeout_ms = LWIP_SHELL_CMD_PING_TIMEOUT - timeout_ms; in OsPingFunc()
438 timeout_ms = 0; in OsPingFunc()
441 } while (timeout_ms >= 0); in OsPingFunc()
444 if ((timeout_ms < 0) || (timeout_flag == TRUE)) { in OsPingFunc()
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_mad.h76 __u32 timeout_ms; member
120 __u32 timeout_ms; member
Drdma_user_cm.h129 __u32 timeout_ms; member
134 __u32 timeout_ms; member
144 __u32 timeout_ms; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_mad.h14 __u32 timeout_ms; member
32 __u32 timeout_ms; member
Drdma_user_cm.h84 __u32 timeout_ms; member
88 __u32 timeout_ms; member
97 __u32 timeout_ms; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_mad.h27 __u32 timeout_ms; member
45 __u32 timeout_ms; member
Drdma_user_cm.h97 __u32 timeout_ms; member
101 __u32 timeout_ms; member
110 __u32 timeout_ms; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dnvme_ioctl.h53 __u32 timeout_ms; member
73 __u32 timeout_ms; member
Dvboxguest.h82 __u32 timeout_ms; member
107 __u32 timeout_ms; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dnvme_ioctl.h44 __u32 timeout_ms; member
65 __u32 timeout_ms; member
/kernel/linux/linux-5.10/drivers/bus/mhi/core/
Ddebugfs.c273 seq_printf(m, "%u ms\n", mhi_cntrl->timeout_ms); in mhi_debugfs_timeout_ms_show()
284 u32 timeout_ms; in mhi_debugfs_timeout_ms_write() local
286 if (kstrtou32_from_user(ubuf, count, 0, &timeout_ms)) in mhi_debugfs_timeout_ms_write()
289 mhi_cntrl->timeout_ms = timeout_ms; in mhi_debugfs_timeout_ms_write()
Dboot.c63 u32 retry = (mhi_cntrl->timeout_ms * 1000) / delayus; in __mhi_download_rddm_in_panic()
168 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_download_rddm_img()
213 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_fw_load_amss()
265 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_fw_load_sbl()
500 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_fw_load_handler()
/kernel/linux/linux-5.10/kernel/power/
Dwakelock.c236 u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; in pm_wake_lock() local
238 do_div(timeout_ms, NSEC_PER_MSEC); in pm_wake_lock()
239 __pm_wakeup_event(wl->ws, timeout_ms); in pm_wake_lock()
/kernel/linux/linux-5.10/drivers/soc/mediatek/
Dmtk-cmdq-helper.c88 client->timeout_ms = timeout; in cmdq_mbox_create()
115 if (client->timeout_ms != CMDQ_NO_TIMEOUT) { in cmdq_mbox_destroy()
452 if (client->timeout_ms != CMDQ_NO_TIMEOUT) { in cmdq_pkt_flush_async_cb()
460 msecs_to_jiffies(client->timeout_ms)); in cmdq_pkt_flush_async_cb()
487 if (client->timeout_ms != CMDQ_NO_TIMEOUT) { in cmdq_pkt_flush_async()
491 msecs_to_jiffies(client->timeout_ms)); in cmdq_pkt_flush_async()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dak8975.c579 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local
583 while (timeout_ms) { in wait_conversion_complete_gpio()
587 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio()
589 if (!timeout_ms) { in wait_conversion_complete_gpio()
605 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local
609 while (timeout_ms) { in wait_conversion_complete_polled()
620 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled()
622 if (!timeout_ms) { in wait_conversion_complete_polled()
/kernel/linux/linux-5.10/drivers/virt/vboxguest/
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()

1234567