/linux-master/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 164 int tmo = *(int *)kp->arg; local 166 if (tmo >= 0) 167 return sysfs_emit(buffer, "%d\n", tmo); 174 int tmo, res; local 176 res = srp_parse_tmo(&tmo, val); 181 res = srp_tmo_valid(tmo, srp_fast_io_fail_tmo, 184 res = srp_tmo_valid(srp_reconnect_delay, tmo, srp_dev_loss_tmo); 187 tmo); 190 *(int *)kp->arg = tmo;
|
/linux-master/drivers/target/ |
H A D | target_core_user.c | 915 static void tcmu_setup_cmd_timer(struct tcmu_cmd *tcmu_cmd, unsigned int tmo, argument 918 if (!tmo) 921 tcmu_cmd->deadline = round_jiffies_up(jiffies + msecs_to_jiffies(tmo)); 925 pr_debug("Timeout set up for cmd %p, dev = %s, tmo = %lu\n", tcmu_cmd, 926 tcmu_cmd->tcmu_dev->name, tmo / MSEC_PER_SEC); 932 unsigned int tmo; local 941 tmo = udev->qfull_time_out; 943 tmo = udev->cmd_time_out; 945 tmo = TCMU_TIME_OUT; 947 tcmu_setup_cmd_timer(tcmu_cmd, tmo, [all...] |
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_crtn.h | 370 u32 elscmd, u8 tmo, u8 expect_rsp); 373 u8 tmo);
|
H A D | lpfc_ct.c | 165 u32 tmo; local 238 tmo = (3 * phba->fc_ratov); 242 cmdiocbq->drvrTimeout = tmo + LPFC_DRVR_TIMEOUT; 591 uint32_t tmo, uint8_t retry) 615 if (!tmo) { 617 tmo = (3 * phba->fc_ratov); 625 lpfc_sli_prep_gen_req(phba, geniocb, bmp, ulp_context, num_entry, tmo); 634 geniocb->drvrTimeout = tmo + LPFC_DRVR_TIMEOUT; 586 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, void (*cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), struct lpfc_nodelist *ndlp, uint32_t event_tag, uint32_t num_entry, uint32_t tmo, uint8_t retry) argument
|
H A D | lpfc_nvme.c | 396 uint32_t tmo, uint8_t retry) 429 if (!tmo) 431 tmo = (3 * phba->fc_ratov); 473 bf_set(wqe_tmo, &wqe->gen_req.wqe_com, tmo); 498 genwqe->drvrTimeout = tmo + LPFC_DRVR_TIMEOUT; 390 lpfc_nvme_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, struct lpfc_dmabuf *inp, struct nvmefc_ls_req *pnvme_lsreq, void (*cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), struct lpfc_nodelist *ndlp, uint32_t num_entry, uint32_t tmo, uint8_t retry) argument
|
H A D | lpfc_scsi.c | 3530 * @tmo: Timeout value for IO 3540 uint8_t tmo) 3542 return vport->phba->lpfc_scsi_prep_cmnd_buf(vport, lpfc_cmd, tmo); 4588 * @tmo: timeout value for the IO 4598 uint8_t tmo) 4656 piocbq->iocb.ulpTimeout = tmo; 4665 * @tmo: timeout value for the IO 4675 uint8_t tmo) 4713 bf_set(wqe_tmo, &wqe->fcp_iread.wqe_com, tmo); 4730 bf_set(wqe_tmo, &wqe->fcp_icmd.wqe_com, tmo); 3539 lpfc_scsi_prep_cmnd_buf(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint8_t tmo) argument 4596 lpfc_scsi_prep_cmnd_buf_s3(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint8_t tmo) argument 4673 lpfc_scsi_prep_cmnd_buf_s4(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint8_t tmo) argument [all...] |
H A D | lpfc_hbadisc.c | 665 "FCF devloss tmo\n", nlp_did); 670 "2868 Devloss tmo to FCF rediscovery " 677 "2869 Devloss tmo to idle FIP engine, " 2387 "2872 Devloss tmo with no eligible " 2883 "2864 On devloss tmo " 4971 uint32_t tmo; local 4975 tmo = (((phba->fc_edtov + 999) / 1000) + 1); 4980 tmo = ((phba->fc_ratov * 3) + 3); 4986 "set disc timer: tmo:x%x state:x%x flg:x%x", 4987 tmo, vpor [all...] |
/linux-master/drivers/scsi/ |
H A D | myrs.c | 1660 mbox->SCSI_10.tmo.tmo_scale = MYRS_TMO_SCALE_MINUTES; 1661 mbox->SCSI_10.tmo.tmo_val = timeout / 60; 1663 mbox->SCSI_10.tmo.tmo_scale = MYRS_TMO_SCALE_SECONDS; 1664 mbox->SCSI_10.tmo.tmo_val = timeout; 1707 mbox->SCSI_255.tmo.tmo_scale = MYRS_TMO_SCALE_MINUTES; 1708 mbox->SCSI_255.tmo.tmo_val = timeout / 60; 1710 mbox->SCSI_255.tmo.tmo_scale = MYRS_TMO_SCALE_SECONDS; 1711 mbox->SCSI_255.tmo.tmo_val = timeout;
|
/linux-master/drivers/firmware/arm_scmi/ |
H A D | raw_mode.c | 482 unsigned long tmo = msecs_to_jiffies(SCMI_MAX_RESPONSE_TIMEOUT); local 484 if (!wait_for_completion_timeout(xfer->async_done, tmo))
|
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | wsm.c | 83 void *arg, u16 cmd, long tmo); 1074 void *arg, u16 cmd, long tmo) 1125 priv->wsm_cmd.done, tmo); 1072 wsm_cmd_send(struct cw1200_common *priv, struct wsm_buf *buf, void *arg, u16 cmd, long tmo) argument
|
H A D | sta.c | 2085 long tmo = priv->join_dtim_period * local 2094 mod_timer(&priv->mcast_timeout, jiffies + tmo);
|
/linux-master/tools/testing/nvdimm/test/ |
H A D | nfit.c | 1191 u64 tmo; local 1212 tmo = armed * USEC_PER_SEC; 1218 .activate_tmo = tmo, 1219 .cpu_quiesce_tmo = tmo, 1220 .io_quiesce_tmo = tmo,
|
/linux-master/drivers/rapidio/ |
H A D | rio_cm.c | 1438 unsigned long tmo = msecs_to_jiffies(3000); local 1453 wret = wait_for_completion_interruptible_timeout(&ch->comp_close, tmo);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | sdma_v6_0.c | 712 long tmo = msecs_to_jiffies(1000); local 716 r = amdgpu_ring_test_ib(ring, tmo);
|
/linux-master/drivers/ata/ |
H A D | ahci.c | 914 unsigned long tmo = deadline - jiffies; local 948 deadline += tmo;
|
/linux-master/net/ipv4/ |
H A D | tcp.c | 2886 const int tmo = tcp_fin_time(sk); local 2888 if (tmo > TCP_TIMEWAIT_LEN) { 2890 tmo - TCP_TIMEWAIT_LEN); 2892 tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
|
H A D | tcp_input.c | 6767 int tmo; local 6801 tmo = tcp_fin_time(sk); 6802 if (tmo > TCP_TIMEWAIT_LEN) { 6803 inet_csk_reset_keepalive_timer(sk, tmo - TCP_TIMEWAIT_LEN); 6811 inet_csk_reset_keepalive_timer(sk, tmo); 6813 tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_gbl.h | 314 extern void qla2x00_init_async_sp(srb_t *sp, unsigned long tmo,
|
H A D | qla_mr.c | 298 qlafx00_driver_shutdown(scsi_qla_host_t *vha, int tmo) argument 310 if (tmo) 311 mcp->tov = tmo;
|
/linux-master/drivers/scsi/isci/ |
H A D | host.c | 1048 unsigned long tmo = sci_controller_get_suggested_start_timeout(ihost); local 1053 sci_controller_start(ihost, tmo);
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 7429 uint16_t tmo = 0; local 7454 tmo = ((ha->def_timeout > LOGIN_TOV) && 7459 "Default time to wait for login to ddb %d\n", tmo)); 7461 wtime = jiffies + (HZ * tmo); 8493 uint16_t tmo = 0; local 8520 tmo = ((ha->def_timeout > LOGIN_TOV) && 8525 "Default time to wait for build ddb %d\n", tmo)); 8527 wtime = jiffies + (HZ * tmo);
|
/linux-master/drivers/nvme/host/ |
H A D | tcp.c | 1605 unsigned long tmo = tls_handshake_timeout * HZ; local 1628 ret = wait_for_completion_interruptible_timeout(&queue->tls_complete, tmo);
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 4120 io_req->tmo -= min_t(uint32_t, io_req->tmo, ECM_MIN_TMO); 4122 if (!io_req->tmo) {
|
/linux-master/drivers/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 1418 unsigned long tmo; local 1420 tmo = wait_for_completion_timeout(&dev->init_complete, 1422 if (tmo == 0)
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.c | 293 netdev_err(ndev, "txq:%d DRV_XOFF:%d tmo:%u dql_avail:%d free_desc:%zu\n", 1608 int tmo; local 1615 tmo = cpsw_sl_wait_for_idle(port->slave.mac_sl, 100); 1616 dev_dbg(common->dev, "down msc_sl %08x tmo %d\n", 1617 cpsw_sl_reg_read(port->slave.mac_sl, CPSW_SL_MACSTATUS), tmo);
|