Home
last modified time | relevance | path

Searched refs:dev_loss_tmo (Results 1 – 22 of 22) sorted by relevance

/drivers/scsi/
Dscsi_transport_srp.c84 int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo, long dev_loss_tmo) in srp_tmo_valid() argument
86 if (reconnect_delay < 0 && fast_io_fail_tmo < 0 && dev_loss_tmo < 0) in srp_tmo_valid()
93 dev_loss_tmo > SCSI_DEVICE_BLOCK_MAX_TIMEOUT) in srp_tmo_valid()
95 if (dev_loss_tmo >= LONG_MAX / HZ) in srp_tmo_valid()
97 if (fast_io_fail_tmo >= 0 && dev_loss_tmo >= 0 && in srp_tmo_valid()
98 fast_io_fail_tmo >= dev_loss_tmo) in srp_tmo_valid()
231 rport->dev_loss_tmo); in store_reconnect_delay()
283 rport->dev_loss_tmo); in store_srp_rport_fast_io_fail_tmo()
303 return srp_show_tmo(buf, rport->dev_loss_tmo); in show_srp_rport_dev_loss_tmo()
312 int dev_loss_tmo; in store_srp_rport_dev_loss_tmo() local
[all …]
Dscsi_transport_fc.c54 module_param_named(dev_loss_tmo, fc_dev_loss_tmo, uint, S_IRUGO|S_IWUSR);
55 MODULE_PARM_DESC(dev_loss_tmo,
449 fc_host->dev_loss_tmo = fc_dev_loss_tmo; in fc_host_setup()
1173 fc_rport_show_function(dev_loss_tmo, "%d\n", 20, )
1191 static FC_DEVICE_ATTR(rport, dev_loss_tmo, S_IRUGO | S_IWUSR,
1326 if ((val >= rport->dev_loss_tmo) || in store_fc_rport_fast_io_fail_tmo()
2077 fc_private_host_show_function(dev_loss_tmo, "%d\n", 20, );
2078 static FC_DEVICE_ATTR(host, dev_loss_tmo, S_IRUGO | S_IWUSR,
2705 SETUP_PRIVATE_HOST_ATTRIBUTE_RW(dev_loss_tmo); in fc_attach_transport()
2724 SETUP_RPORT_ATTRIBUTE_RW(dev_loss_tmo); in fc_attach_transport()
[all …]
/drivers/scsi/fcoe/
Dfcoe_sysfs.c90 ((x)->dev_loss_tmo)
535 fcoe_fcf_private_show_function(dev_loss_tmo, "%d\n", 20, )
553 static FCOE_DEVICE_ATTR(fcf, dev_loss_tmo, S_IRUGO | S_IWUSR,
967 int timeout = fcf->dev_loss_tmo; in fcoe_fcf_device_delete()
1026 fcf->dev_loss_tmo = ctlr->fcf_dev_loss_tmo; in fcoe_fcf_device_add()
/drivers/nvme/host/
Dfc.c648 if (pinfo->dev_loss_tmo) in __nvme_fc_set_dev_loss_tmo()
649 rport->remoteport.dev_loss_tmo = pinfo->dev_loss_tmo; in __nvme_fc_set_dev_loss_tmo()
651 rport->remoteport.dev_loss_tmo = NVME_FC_DEFAULT_DEV_LOSS_TMO; in __nvme_fc_set_dev_loss_tmo()
869 rport->dev_loss_end = jiffies + (portptr->dev_loss_tmo * HZ); in nvme_fc_unregister_remoteport()
873 if (!portptr->dev_loss_tmo) { in nvme_fc_unregister_remoteport()
919 u32 dev_loss_tmo) in nvme_fc_set_remoteport_devloss() argument
932 rport->remoteport.dev_loss_tmo = dev_loss_tmo; in nvme_fc_set_remoteport_devloss()
3319 ctrl->cnum, min_t(int, portptr->dev_loss_tmo, in nvme_fc_reconnect_or_delete()
/drivers/message/fusion/
Dmptfc.c259 rport->dev_loss_tmo = timeout; in mptfc_set_rport_loss_tmo()
261 rport->dev_loss_tmo = mptfc_dev_loss_tmo; in mptfc_set_rport_loss_tmo()
465 rport->dev_loss_tmo = mptfc_dev_loss_tmo; in mptfc_register_dev()
495 ri->rport->dev_loss_tmo)); in mptfc_register_dev()
/drivers/scsi/csiostor/
Dcsio_attr.c383 rport->dev_loss_tmo = timeout; in csio_set_rport_loss_tmo()
385 rport->dev_loss_tmo = 1; in csio_set_rport_loss_tmo()
/drivers/scsi/qla2xxx/
Dqla_dfs.c24 *val = fp->nvme_remote_port->dev_loss_tmo; in qla_dfs_rport_get()
90 DEFINE_QLA_DFS_RPORT_RW_ATTR(QLA_DFS_RPORT_DEVLOSS_TMO, dev_loss_tmo);
Dqla_nvme.c44 req.dev_loss_tmo = 0; in qla_nvme_register_remote()
Dqla_init.c5576 fcport->dev_loss_tmo = 0; in qla2x00_alloc_fcport()
6136 fcport->dev_loss_tmo = rport->dev_loss_tmo; in qla2x00_reg_remote_port()
6202 if (fcport->tgt_link_down_time < fcport->dev_loss_tmo) { in qla2x00_update_fcport()
Dqla_attr.c2695 rport->dev_loss_tmo = timeout ? timeout : 1; in qla2x00_set_rport_loss_tmo()
Dqla_def.h2640 u64 dev_loss_tmo; member
/drivers/scsi/bfa/
Dbfad_attr.c346 rport->dev_loss_tmo = timeout; in bfad_im_set_rport_loss_tmo()
348 rport->dev_loss_tmo = path_tov + 1; in bfad_im_set_rport_loss_tmo()
Dbfad_im.c1155 fc_rport->dev_loss_tmo = in bfad_im_itnim_work_handler()
1181 fc_rport->dev_loss_tmo = in bfad_im_itnim_work_handler()
/drivers/scsi/fnic/
Dfnic_main.c133 rport->dev_loss_tmo = timeout; in fnic_set_rport_dev_loss_tmo()
135 rport->dev_loss_tmo = 1; in fnic_set_rport_dev_loss_tmo()
/drivers/scsi/lpfc/
Dlpfc_nvme.c2351 rpinfo.dev_loss_tmo = srport->dev_loss_tmo; in lpfc_nvme_register_port()
2353 rpinfo.dev_loss_tmo = vport->cfg_devloss_tmo; in lpfc_nvme_register_port()
Dlpfc_attr.c3838 ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo; in lpfc_update_rport_devloss_tmo()
7351 rport->dev_loss_tmo = timeout; in lpfc_set_rport_loss_tmo()
7353 rport->dev_loss_tmo = 1; in lpfc_set_rport_loss_tmo()
7367 rport->dev_loss_tmo); in lpfc_set_rport_loss_tmo()
Dlpfc_scsi.c6412 u32 dev_loss_tmo = vport->cfg_devloss_tmo; in lpfc_target_reset_handler() local
6470 msecs_to_jiffies(dev_loss_tmo * in lpfc_target_reset_handler()
/drivers/scsi/libfc/
Dfc_rport.c206 rport->dev_loss_tmo = timeout; in fc_set_rport_loss_tmo()
208 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo()
/drivers/s390/scsi/
Dzfcp_scsi.c689 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo()
/drivers/infiniband/ulp/srp/
Dib_srp.c120 module_param_cb(dev_loss_tmo, &srp_tmo_ops, &srp_dev_loss_tmo,
122 MODULE_PARM_DESC(dev_loss_tmo,
4124 .dev_loss_tmo = &srp_dev_loss_tmo,
/drivers/scsi/qedf/
Dqedf_main.c40 module_param_named(dev_loss_tmo, qedf_dev_loss_tmo, int, S_IRUGO);
41 MODULE_PARM_DESC(dev_loss_tmo, " dev_loss_tmo setting for attached "
/drivers/scsi/ibmvscsi/
Dibmvfc.c1342 rport->dev_loss_tmo = timeout; in ibmvfc_set_rport_dev_loss_tmo()
1344 rport->dev_loss_tmo = 1; in ibmvfc_set_rport_dev_loss_tmo()