Home
last modified time | relevance | path

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

12

/linux-5.19.10/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 …]
/linux-5.19.10/include/scsi/
Dscsi_transport_srp.h71 int dev_loss_tmo; member
99 int *dev_loss_tmo; member
115 long dev_loss_tmo);
Dfcoe_sysfs.h87 u32 dev_loss_tmo; member
Dscsi_transport_fc.h359 u32 dev_loss_tmo; /* Remote Port loss timeout in seconds. */ member
561 u32 dev_loss_tmo; member
665 (((struct fc_host_attrs *)(x)->shost_data)->dev_loss_tmo)
/linux-5.19.10/Documentation/scsi/scsi_transport_srp/
Drport_state_diagram.dot19 blocked -> lost [ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
20 failfast -> lost [ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
/linux-5.19.10/Documentation/ABI/stable/
Dsysfs-transport-srp8 What: /sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo
56 "dev_loss_tmo" timer has fired; "lost" after the
57 "dev_loss_tmo" timer has fired and before the port is finally
/linux-5.19.10/include/linux/
Dnvme-fc-driver.h161 u32 dev_loss_tmo; member
331 u32 dev_loss_tmo; member
537 u32 dev_loss_tmo);
/linux-5.19.10/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,
966 int timeout = fcf->dev_loss_tmo; in fcoe_fcf_device_delete()
1025 fcf->dev_loss_tmo = ctlr->fcf_dev_loss_tmo; in fcoe_fcf_device_add()
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-bus-fcoe40 this value will change the dev_loss_tmo for all
126 dev_loss_tmo: The device loss timeout period for this FCF.
/linux-5.19.10/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()
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_nvme.c46 req.dev_loss_tmo = fcport->dev_loss_tmo; in qla_nvme_register_remote()
74 fcport->dev_loss_tmo); in qla_nvme_register_remote()
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_attr.c2702 rport->dev_loss_tmo = timeout ? timeout : 1; in qla2x00_set_rport_loss_tmo()
2706 rport->dev_loss_tmo); in qla2x00_set_rport_loss_tmo()
/linux-5.19.10/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()
/linux-5.19.10/drivers/nvme/host/
Dfc.c649 if (pinfo->dev_loss_tmo) in __nvme_fc_set_dev_loss_tmo()
650 rport->remoteport.dev_loss_tmo = pinfo->dev_loss_tmo; in __nvme_fc_set_dev_loss_tmo()
652 rport->remoteport.dev_loss_tmo = NVME_FC_DEFAULT_DEV_LOSS_TMO; in __nvme_fc_set_dev_loss_tmo()
870 rport->dev_loss_end = jiffies + (portptr->dev_loss_tmo * HZ); in nvme_fc_unregister_remoteport()
874 if (!portptr->dev_loss_tmo) { in nvme_fc_unregister_remoteport()
920 u32 dev_loss_tmo) in nvme_fc_set_remoteport_devloss() argument
933 rport->remoteport.dev_loss_tmo = dev_loss_tmo; in nvme_fc_set_remoteport_devloss()
3359 ctrl->cnum, min_t(int, portptr->dev_loss_tmo, in nvme_fc_reconnect_or_delete()
/linux-5.19.10/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()
/linux-5.19.10/drivers/scsi/fnic/
Dfnic_main.c134 rport->dev_loss_tmo = timeout; in fnic_set_rport_dev_loss_tmo()
136 rport->dev_loss_tmo = 1; in fnic_set_rport_dev_loss_tmo()
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_nvme.c2428 rpinfo.dev_loss_tmo = srport->dev_loss_tmo; in lpfc_nvme_register_port()
2430 rpinfo.dev_loss_tmo = vport->cfg_devloss_tmo; in lpfc_nvme_register_port()
Dlpfc_attr.c3625 ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo; in lpfc_update_rport_devloss_tmo()
7170 rport->dev_loss_tmo = timeout; in lpfc_set_rport_loss_tmo()
7172 rport->dev_loss_tmo = 1; in lpfc_set_rport_loss_tmo()
7186 rport->dev_loss_tmo); in lpfc_set_rport_loss_tmo()
/linux-5.19.10/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()
/linux-5.19.10/drivers/s390/scsi/
Dzfcp_scsi.c689 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo()
/linux-5.19.10/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,
4071 .dev_loss_tmo = &srp_dev_loss_tmo,
/linux-5.19.10/Documentation/scsi/
DChangeLog.lpfc155 * Added updates for revised FC remote port patch (dev_loss_tmo
574 unblock (stop dev_loss_tmo) when appopriate.
611 * Since lpfc_nodev_tmo < dev_loss_tmo remove queuecommand
649 * Moved + 5 second window to dev_loss_tmo setting and updated

12