/linux-5.19.10/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 …]
|
/linux-5.19.10/include/scsi/ |
D | scsi_transport_srp.h | 71 int dev_loss_tmo; member 99 int *dev_loss_tmo; member 115 long dev_loss_tmo);
|
D | fcoe_sysfs.h | 87 u32 dev_loss_tmo; member
|
D | scsi_transport_fc.h | 359 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/ |
D | rport_state_diagram.dot | 19 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/ |
D | sysfs-transport-srp | 8 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/ |
D | nvme-fc-driver.h | 161 u32 dev_loss_tmo; member 331 u32 dev_loss_tmo; member 537 u32 dev_loss_tmo);
|
/linux-5.19.10/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, 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/ |
D | sysfs-bus-fcoe | 40 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/ |
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()
|
/linux-5.19.10/drivers/scsi/qla2xxx/ |
D | qla_nvme.c | 46 req.dev_loss_tmo = fcport->dev_loss_tmo; in qla_nvme_register_remote() 74 fcport->dev_loss_tmo); in qla_nvme_register_remote()
|
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_attr.c | 2702 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/ |
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()
|
/linux-5.19.10/drivers/nvme/host/ |
D | fc.c | 649 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/ |
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()
|
/linux-5.19.10/drivers/scsi/fnic/ |
D | fnic_main.c | 134 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/ |
D | lpfc_nvme.c | 2428 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()
|
D | lpfc_attr.c | 3625 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/ |
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()
|
/linux-5.19.10/drivers/s390/scsi/ |
D | zfcp_scsi.c | 689 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo()
|
/linux-5.19.10/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, 4071 .dev_loss_tmo = &srp_dev_loss_tmo,
|
/linux-5.19.10/Documentation/scsi/ |
D | ChangeLog.lpfc | 155 * 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
|