/drivers/scsi/ |
D | scsi_transport_srp.c | 84 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 …]
|
D | scsi_transport_fc.c | 54 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/ |
D | fcoe_sysfs.c | 90 ((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/ |
D | fc.c | 648 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/ |
D | mptfc.c | 259 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/ |
D | csio_attr.c | 383 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/ |
D | qla_dfs.c | 24 *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);
|
D | qla_nvme.c | 44 req.dev_loss_tmo = 0; in qla_nvme_register_remote()
|
D | qla_init.c | 5576 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()
|
D | qla_attr.c | 2695 rport->dev_loss_tmo = timeout ? timeout : 1; in qla2x00_set_rport_loss_tmo()
|
D | qla_def.h | 2640 u64 dev_loss_tmo; member
|
/drivers/scsi/bfa/ |
D | bfad_attr.c | 346 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()
|
D | bfad_im.c | 1155 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/ |
D | fnic_main.c | 133 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/ |
D | lpfc_nvme.c | 2351 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()
|
D | lpfc_attr.c | 3838 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()
|
D | lpfc_scsi.c | 6412 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/ |
D | fc_rport.c | 206 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/ |
D | zfcp_scsi.c | 689 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo()
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 120 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/ |
D | qedf_main.c | 40 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/ |
D | ibmvfc.c | 1342 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()
|