/linux-6.1.9/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 42 int settimeo(int fd, int timeout_ms); 44 int timeout_ms); 46 int timeout_ms); 48 __u16 port, int timeout_ms, 51 int connect_to_fd(int server_fd, int timeout_ms); 53 int connect_fd_to_fd(int client_fd, int server_fd, int timeout_ms); 55 int timeout_ms);
|
/linux-6.1.9/drivers/mmc/core/ |
D | mmc_ops.h | 43 unsigned int timeout_ms); 45 unsigned int timeout_ms, 48 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, 51 unsigned int timeout_ms, unsigned char timing, 54 unsigned int timeout_ms); 58 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() 595 unsigned int timeout_ms, unsigned char timing, in __mmc_switch() argument 606 if (!timeout_ms) { in __mmc_switch() 609 timeout_ms = card->ext_csd.generic_cmd6_time; in __mmc_switch() [all …]
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_intr.c | 15 int command, unsigned int timeout_ms, in mtk_vcodec_wait_for_done_ctx() argument 21 timeout_jiff = msecs_to_jiffies(timeout_ms); in mtk_vcodec_wait_for_done_ctx() 29 ctx->id, command, ctx->type, timeout_ms, in mtk_vcodec_wait_for_done_ctx()
|
D | mtk_vcodec_intr.h | 16 int command, unsigned int timeout_ms,
|
/linux-6.1.9/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.1.9/drivers/scsi/ |
D | scsi_debugfs.c | 38 int timeout_ms = jiffies_to_msecs(rq->timeout); in scsi_show_rq() local 47 timeout_ms / 1000, timeout_ms % 1000, in scsi_show_rq()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/gpu/drm/i915/selftests/ |
D | i915_selftest.c | 34 .timeout_ms = 500, 141 i915_selftest.timeout_ms ? in __run_selftests() 142 msecs_to_jiffies_timeout(i915_selftest.timeout_ms) : in __run_selftests() 148 name, i915_selftest.random_seed, i915_selftest.timeout_ms); in __run_selftests() 430 module_param_named(st_timeout, i915_selftest.timeout_ms, uint, 0400);
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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()
|
/linux-6.1.9/drivers/nvme/host/ |
D | ioctl.c | 294 if (cmd.timeout_ms) in nvme_user_cmd() 295 timeout = msecs_to_jiffies(cmd.timeout_ms); in nvme_user_cmd() 340 if (cmd.timeout_ms) in nvme_user_cmd64() 341 timeout = msecs_to_jiffies(cmd.timeout_ms); in nvme_user_cmd64() 361 __u32 timeout_ms; member 514 d.timeout_ms = READ_ONCE(cmd->timeout_ms); in nvme_uring_cmd_io() 527 req->timeout = d.timeout_ms ? msecs_to_jiffies(d.timeout_ms) : 0; in nvme_uring_cmd_io()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | intel-nand-controller.c | 132 static int ebu_nand_waitrdy(struct nand_chip *chip, int timeout_ms) in ebu_nand_waitrdy() argument 139 (status & EBU_WAIT_WR_C), 20, timeout_ms); in ebu_nand_waitrdy() 519 int i, timeout_ms, ret = 0; in ebu_nand_exec_op() local 552 timeout_ms = instr->ctx.waitrdy.timeout_ms * 1000; in ebu_nand_exec_op() 553 ret = ebu_nand_waitrdy(chip, timeout_ms); in ebu_nand_exec_op()
|
D | au1550nd.c | 138 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()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | intel_uncore.h | 283 unsigned int timeout_ms) in intel_wait_for_register() argument 286 timeout_ms, NULL); in intel_wait_for_register() 301 unsigned int timeout_ms) in intel_wait_for_register_fw() argument 304 2, timeout_ms, NULL); in intel_wait_for_register_fw()
|