/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_transport_srp.c | 75 * @dev_loss_tmo: Device loss timeout in seconds. 79 * timeout to exceed SCSI_DEVICE_BLOCK_MAX_TIMEOUT nor allow dev_loss_tmo to 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() 312 int dev_loss_tmo; store_srp_rport_dev_loss_tmo() local 464 int delay, fast_io_fail_tmo, dev_loss_tmo; __srp_start_tl_fail_timers() local [all...] |
H A D | scsi_transport_fc.c | 42 * dev_loss_tmo: the default number of seconds that the FC transport 48 module_param_named(dev_loss_tmo, fc_dev_loss_tmo, uint, S_IRUGO|S_IWUSR); 49 MODULE_PARM_DESC(dev_loss_tmo, 439 fc_host->dev_loss_tmo = fc_dev_loss_tmo; in fc_host_setup() 836 * dev_loss_tmo attribute 846 * Check for overflow; dev_loss_tmo is u32 in fc_str_to_dev_loss() 865 * Check for overflow; dev_loss_tmo is u32 in fc_rport_set_dev_loss_tmo() 872 * dev_loss_tmo at SCSI_DEVICE_BLOCK_MAX_TIMEOUT in fc_rport_set_dev_loss_tmo() 882 fc_rport_show_function(dev_loss_tmo, "%d\n", 20, ) 900 static FC_DEVICE_ATTR(rport, dev_loss_tmo, S_IRUG in store_fc_rport_dev_loss_tmo() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_transport_srp.c | 75 * @dev_loss_tmo: Device loss timeout in seconds. 79 * timeout to exceed SCSI_DEVICE_BLOCK_MAX_TIMEOUT nor allow dev_loss_tmo to 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() 312 int dev_loss_tmo; store_srp_rport_dev_loss_tmo() local 464 int delay, fast_io_fail_tmo, dev_loss_tmo; __srp_start_tl_fail_timers() local [all...] |
H A D | scsi_transport_fc.c | 48 * dev_loss_tmo: the default number of seconds that the FC transport 54 module_param_named(dev_loss_tmo, fc_dev_loss_tmo, uint, S_IRUGO|S_IWUSR); 55 MODULE_PARM_DESC(dev_loss_tmo, 450 fc_host->dev_loss_tmo = fc_dev_loss_tmo; in fc_host_setup() 1132 * dev_loss_tmo attribute 1142 * Check for overflow; dev_loss_tmo is u32 in fc_str_to_dev_loss() 1161 * Check for overflow; dev_loss_tmo is u32 in fc_rport_set_dev_loss_tmo() 1168 * dev_loss_tmo at SCSI_DEVICE_BLOCK_MAX_TIMEOUT in fc_rport_set_dev_loss_tmo() 1178 fc_rport_show_function(dev_loss_tmo, "%u\n", 20, ) 1196 static FC_DEVICE_ATTR(rport, dev_loss_tmo, S_IRUG in store_fc_rport_dev_loss_tmo() [all...] |
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_transport_srp.h | 43 * fast_io_fail / dev_loss_tmo activity. 49 * @dev_loss_tmo: Device loss timeout in seconds. 71 int dev_loss_tmo; member 81 * dev_loss_tmo sysfs attribute for an rport. 86 * @dev_loss_tmo: If not NULL, points to the default dev_loss_tmo value. 99 int *dev_loss_tmo; member 115 long dev_loss_tmo);
|
H A D | fcoe_sysfs.h | 87 u32 dev_loss_tmo; member
|
H A D | scsi_transport_fc.h | 328 u32 dev_loss_tmo; /* Remote Port loss timeout in seconds. */ member 518 u32 dev_loss_tmo; member 618 (((struct fc_host_attrs *)(x)->shost_data)->dev_loss_tmo)
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_transport_srp.h | 43 * fast_io_fail / dev_loss_tmo activity. 49 * @dev_loss_tmo: Device loss timeout in seconds. 71 int dev_loss_tmo; member 81 * dev_loss_tmo sysfs attribute for an rport. 86 * @dev_loss_tmo: If not NULL, points to the default dev_loss_tmo value. 99 int *dev_loss_tmo; member 115 long dev_loss_tmo);
|
H A D | fcoe_sysfs.h | 87 u32 dev_loss_tmo; member
|
H A D | scsi_transport_fc.h | 359 u32 dev_loss_tmo; /* Remote Port loss timeout in seconds. */ member 562 u32 dev_loss_tmo; member 666 (((struct fc_host_attrs *)(x)->shost_data)->dev_loss_tmo)
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | nvme-fc-driver.h | 148 * @dev_loss_tmo: maximum delay for reconnects to an association on 160 u32 dev_loss_tmo; member 268 * @dev_loss_tmo: maximum delay for reconnects to an association on 330 u32 dev_loss_tmo; member 534 u32 dev_loss_tmo);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | nvme-fc-driver.h | 149 * @dev_loss_tmo: maximum delay for reconnects to an association on 161 u32 dev_loss_tmo; member 269 * @dev_loss_tmo: maximum delay for reconnects to an association on 331 u32 dev_loss_tmo; member 537 u32 dev_loss_tmo);
|
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 90 ((x)->dev_loss_tmo) 97 * dev_loss_tmo attribute 107 * Check for overflow; dev_loss_tmo is u32 in fcoe_str_to_dev_loss() 123 * Check for overflow; dev_loss_tmo is u32 in fcoe_fcf_set_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()
|
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 90 ((x)->dev_loss_tmo) 97 * dev_loss_tmo attribute 107 * Check for overflow; dev_loss_tmo is u32 in fcoe_str_to_dev_loss() 123 * Check for overflow; dev_loss_tmo is u32 in fcoe_fcf_set_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()
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/message/fusion/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A 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() 687 * for a reconnect (within dev_loss_tmo) with the same WWN's. in nvme_fc_register_remoteport() 803 * dev_loss_tmo expires. in nvme_fc_ctrl_connectivity_loss() 819 * remoteport's dev_loss_tmo expires. in nvme_fc_ctrl_connectivity_loss() 869 rport->dev_loss_end = jiffies + (portptr->dev_loss_tmo * HZ); in nvme_fc_unregister_remoteport() 872 /* if dev_loss_tmo==0, dev loss is immediate */ in nvme_fc_unregister_remoteport() 873 if (!portptr->dev_loss_tmo) { in nvme_fc_unregister_remoteport() 918 nvme_fc_set_remoteport_devloss(struct nvme_fc_remote_port *portptr, u32 dev_loss_tmo) nvme_fc_set_remoteport_devloss() argument [all...] |
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | fc.c | 642 if (pinfo->dev_loss_tmo) in __nvme_fc_set_dev_loss_tmo() 643 rport->remoteport.dev_loss_tmo = pinfo->dev_loss_tmo; in __nvme_fc_set_dev_loss_tmo() 645 rport->remoteport.dev_loss_tmo = NVME_FC_DEFAULT_DEV_LOSS_TMO; in __nvme_fc_set_dev_loss_tmo() 681 * for a reconnect (within dev_loss_tmo) with the same WWN's. in nvme_fc_register_remoteport() 797 * dev_loss_tmo expires. in nvme_fc_ctrl_connectivity_loss() 813 * remoteport's dev_loss_tmo expires. in nvme_fc_ctrl_connectivity_loss() 863 rport->dev_loss_end = jiffies + (portptr->dev_loss_tmo * HZ); in nvme_fc_unregister_remoteport() 866 /* if dev_loss_tmo==0, dev loss is immediate */ in nvme_fc_unregister_remoteport() 867 if (!portptr->dev_loss_tmo) { in nvme_fc_unregister_remoteport() 912 nvme_fc_set_remoteport_devloss(struct nvme_fc_remote_port *portptr, u32 dev_loss_tmo) nvme_fc_set_remoteport_devloss() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 376 * If timeout is non zero set the dev_loss_tmo to timeout, else set 377 * dev_loss_tmo to one. 383 rport->dev_loss_tmo = timeout; in csio_set_rport_loss_tmo() 385 rport->dev_loss_tmo = 1; in csio_set_rport_loss_tmo()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A 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); 122 debugfs_create_file("dev_loss_tmo", 0600, fp->dfs_rport_dir, in qla2x00_dfs_create_rport()
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 376 * If timeout is non zero set the dev_loss_tmo to timeout, else set 377 * dev_loss_tmo to one. 383 rport->dev_loss_tmo = timeout; in csio_set_rport_loss_tmo() 385 rport->dev_loss_tmo = 1; in csio_set_rport_loss_tmo()
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_nvme.c | 66 req.dev_loss_tmo = fcport->dev_loss_tmo; in qla_nvme_register_remote() 94 fcport->dev_loss_tmo); in qla_nvme_register_remote()
|
H A 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); 122 debugfs_create_file("dev_loss_tmo", 0600, fp->dfs_rport_dir, in qla2x00_dfs_create_rport()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 334 * Update dev_loss_tmo based on the value pushed down by the stack 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()
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 334 * Update dev_loss_tmo based on the value pushed down by the stack 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()
|