/linux/tools/testing/selftests/bpf/ |
A D | network_helpers.c | 43 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 D | network_helpers.h | 22 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 D | mmc_ops.h | 43 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 D | mmc_ops.c | 529 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 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/drivers/media/platform/mtk-vcodec/ |
A D | mtk_vcodec_intr.c | 15 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 D | scsi_debugfs.c | 37 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 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/drivers/gpu/drm/i915/selftests/ |
A D | i915_selftest.c | 33 .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 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()
|
A D | pm.c | 594 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 D | ak8975.c | 610 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 D | rdma_user_cm.h | 129 __u32 timeout_ms; member 134 __u32 timeout_ms; member 144 __u32 timeout_ms; member
|
A D | ib_user_mad.h | 76 __u32 timeout_ms; member 120 __u32 timeout_ms; member
|
/linux/drivers/virt/vboxguest/ |
A 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/include/uapi/linux/ |
A D | nvme_ioctl.h | 44 __u32 timeout_ms; member 65 __u32 timeout_ms; member
|
A D | vboxguest.h | 154 __u32 timeout_ms; member 211 __u32 timeout_ms; member
|
/linux/kernel/power/ |
A D | wakelock.c | 239 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 D | intel_uncore.h | 273 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 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()
|
A D | intel-nand-controller.c | 135 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 D | cs553x_nand.c | 145 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 D | amdtp-stream.h | 341 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 D | sa_query.c | 1316 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 D | event.c | 158 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()
|