/linux-6.6.21/tools/testing/selftests/bpf/ |
D | network_helpers.c | 54 int settimeo(int fd, int timeout_ms) in settimeo() argument 58 if (timeout_ms > 0) { in settimeo() 59 timeout.tv_sec = timeout_ms / 1000; in settimeo() 60 timeout.tv_usec = (timeout_ms % 1000) * 1000; in settimeo() 81 socklen_t addrlen, int timeout_ms, bool reuseport) in __start_server() argument 92 if (settimeo(fd, timeout_ms)) in __start_server() 121 const char *addr_str, __u16 port, int timeout_ms) in start_server_proto() argument 130 addrlen, timeout_ms, false); in start_server_proto() 134 int timeout_ms) in start_server() argument 136 return start_server_proto(family, type, 0, addr_str, port, timeout_ms); in start_server() [all …]
|
D | network_helpers.h | 22 int timeout_ms; member 45 int settimeo(int fd, int timeout_ms); 47 int timeout_ms); 49 int timeout_ms); 51 __u16 port, int timeout_ms, 54 int connect_to_fd(int server_fd, int timeout_ms); 56 int connect_fd_to_fd(int client_fd, int server_fd, int timeout_ms); 58 int timeout_ms);
|
/linux-6.6.21/drivers/mmc/core/ |
D | mmc_ops.h | 42 unsigned int timeout_ms); 44 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);
|
D | mmc_ops.c | 503 unsigned int timeout_ms, in __mmc_poll_for_busy() argument 513 timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1; in __mmc_poll_for_busy() 544 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, in mmc_poll_for_busy() argument 554 return __mmc_poll_for_busy(host, 0, timeout_ms, &mmc_busy_cb, &cb_data); in mmc_poll_for_busy() 559 unsigned int timeout_ms) in mmc_prepare_busy_cmd() argument 569 (timeout_ms > host->max_busy_timeout)) { in mmc_prepare_busy_cmd() 575 cmd->busy_timeout = timeout_ms; in mmc_prepare_busy_cmd() 596 unsigned int timeout_ms, unsigned char timing, in __mmc_switch() argument 607 if (!timeout_ms) { in __mmc_switch() 610 timeout_ms = card->ext_csd.generic_cmd6_time; in __mmc_switch() [all …]
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 92 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-6.6.21/drivers/gpu/drm/i915/pxp/ |
D | intel_pxp_debugfs.c | 49 int timeout_ms; in pxp_terminate_set() local 59 timeout_ms = intel_pxp_get_backend_timeout_ms(pxp); in pxp_terminate_set() 62 msecs_to_jiffies(timeout_ms))) in pxp_terminate_set()
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_intr.c | 14 int mtk_vcodec_wait_for_done_ctx(void *priv, int command, unsigned int timeout_ms, in mtk_vcodec_wait_for_done_ctx() argument 46 timeout_jiff = msecs_to_jiffies(timeout_ms); in mtk_vcodec_wait_for_done_ctx() 54 ctx_id, command, ctx_type, timeout_ms, in mtk_vcodec_wait_for_done_ctx()
|
/linux-6.6.21/tools/lib/api/ |
D | io.h | 29 int timeout_ms; member 42 io->timeout_ms = 0; in io__init() 57 if (io->timeout_ms != 0) { in io__get_char() 65 n = poll(pfds, 1, io->timeout_ms); in io__get_char()
|
/linux-6.6.21/drivers/scsi/ |
D | scsi_debugfs.c | 40 int timeout_ms = jiffies_to_msecs(rq->timeout); in scsi_show_rq() local 67 timeout_ms / 1000, timeout_ms % 1000, in scsi_show_rq()
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | i915_selftest.c | 36 .timeout_ms = 500, 150 unsigned long timeout_ms = 8000; in __wait_gsc_proxy_completed() local 153 timeout_ms)) in __wait_gsc_proxy_completed() 168 i915_selftest.timeout_ms ? in __run_selftests() 169 msecs_to_jiffies_timeout(i915_selftest.timeout_ms) : in __run_selftests() 175 name, i915_selftest.random_seed, i915_selftest.timeout_ms); in __run_selftests() 461 module_param_named(st_timeout, i915_selftest.timeout_ms, uint, 0400);
|
/linux-6.6.21/tools/lib/bpf/ |
D | ringbuf.c | 297 int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms) in ring_buffer__poll() argument 302 cnt = epoll_wait(rb->epoll_fd, rb->events, rb->ring_cnt, timeout_ms); in ring_buffer__poll() 533 void *user_ring_buffer__reserve_blocking(struct user_ring_buffer *rb, __u32 size, int timeout_ms) in user_ring_buffer__reserve_blocking() argument 536 int err, ms_remaining = timeout_ms; in user_ring_buffer__reserve_blocking() 539 if (timeout_ms < 0 && timeout_ms != -1) in user_ring_buffer__reserve_blocking() 542 if (timeout_ms != -1) { in user_ring_buffer__reserve_blocking() 574 if (timeout_ms == -1) in user_ring_buffer__reserve_blocking() 582 ms_remaining = timeout_ms - ms_elapsed; in user_ring_buffer__reserve_blocking()
|
/linux-6.6.21/include/uapi/linux/ |
D | nvme_ioctl.h | 44 __u32 timeout_ms; member 68 __u32 timeout_ms; member 91 __u32 timeout_ms; member
|
D | vboxguest.h | 154 __u32 timeout_ms; member 211 __u32 timeout_ms; member
|
/linux-6.6.21/include/trace/events/ |
D | ib_umad.h | 28 __field(u32, timeout_ms) 58 __entry->timeout_ms = umad_hdr->timeout_ms; 93 __entry->id, __entry->status, __entry->timeout_ms,
|
/linux-6.6.21/drivers/firmware/arm_scmi/ |
D | scmi_power_control.c | 211 unsigned int timeout_ms) in scmi_request_graceful_transition() argument 215 if (timeout_ms) { in scmi_request_graceful_transition() 222 adj_timeout_ms = mult_frac(timeout_ms, 3, 4); in scmi_request_graceful_transition() 236 sc->required_transition, timeout_ms, adj_timeout_ms); in scmi_request_graceful_transition()
|
/linux-6.6.21/drivers/watchdog/ |
D | realtek_otto_wdt.c | 128 unsigned int timeout_ms = timeout * 1000; in otto_wdt_determine_timeouts() local 143 total_ticks = div_round_ticks(timeout_ms, tick_ms, 2); in otto_wdt_determine_timeouts() 144 phase1_ticks = div_round_ticks(timeout_ms - pretimeout_ms, tick_ms, 1); in otto_wdt_determine_timeouts() 160 timeout_ms = total_ticks * tick_ms; in otto_wdt_determine_timeouts() 161 ctrl->wdev.timeout = timeout_ms / 1000; in otto_wdt_determine_timeouts()
|
/linux-6.6.21/drivers/accel/ivpu/ |
D | ivpu_ipc.h | 86 unsigned long timeout_ms); 91 unsigned long timeout_ms);
|
D | ivpu_ipc.c | 206 struct vpu_jsm_msg *ipc_payload, unsigned long timeout_ms) in ivpu_ipc_receive() argument 215 msecs_to_jiffies(timeout_ms)); in ivpu_ipc_receive() 257 unsigned long timeout_ms) in ivpu_ipc_send_receive_internal() argument 270 ret = ivpu_ipc_receive(vdev, &cons, NULL, resp, timeout_ms); in ivpu_ipc_send_receive_internal() 289 unsigned long timeout_ms) in ivpu_ipc_send_receive() argument 300 channel, timeout_ms); in ivpu_ipc_send_receive()
|
/linux-6.6.21/include/uapi/rdma/ |
D | ib_user_mad.h | 76 __u32 timeout_ms; member 120 __u32 timeout_ms; member
|
D | rdma_user_cm.h | 129 __u32 timeout_ms; member 134 __u32 timeout_ms; member 144 __u32 timeout_ms; member
|
/linux-6.6.21/drivers/bus/mhi/host/ |
D | debugfs.c | 275 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()
|
/linux-6.6.21/kernel/power/ |
D | wakelock.c | 236 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()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | intel_pcode.c | 207 static int pcode_init_wait(struct intel_uncore *uncore, int timeout_ms) in pcode_init_wait() argument 212 500, timeout_ms, in pcode_init_wait() 220 DG1_UNCORE_INIT_STATUS_COMPLETE, timeout_ms); in pcode_init_wait()
|
/linux-6.6.21/drivers/iio/magnetometer/ |
D | ak8975.c | 611 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_gpio() local 615 while (timeout_ms) { in wait_conversion_complete_gpio() 619 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_gpio() 621 if (!timeout_ms) { in wait_conversion_complete_gpio() 637 u32 timeout_ms = AK8975_MAX_CONVERSION_TIMEOUT; in wait_conversion_complete_polled() local 641 while (timeout_ms) { in wait_conversion_complete_polled() 652 timeout_ms -= AK8975_CONVERSION_DONE_POLL_TIME; in wait_conversion_complete_polled() 654 if (!timeout_ms) { in wait_conversion_complete_polled()
|
/linux-6.6.21/drivers/virt/vboxguest/ |
D | vboxguest_utils.c | 471 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()
|