Searched refs:fast_io_fail_tmo (Results 1 – 7 of 7) sorted by relevance
/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() 90 if (fast_io_fail_tmo > SCSI_DEVICE_BLOCK_MAX_TIMEOUT) in srp_tmo_valid() 92 if (fast_io_fail_tmo < 0 && 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() 230 res = srp_tmo_valid(delay, rport->fast_io_fail_tmo, in store_reconnect_delay() 268 return srp_show_tmo(buf, rport->fast_io_fail_tmo); in show_srp_rport_fast_io_fail_tmo() 277 int fast_io_fail_tmo; in store_srp_rport_fast_io_fail_tmo() local 279 res = srp_parse_tmo(&fast_io_fail_tmo, buf); in store_srp_rport_fast_io_fail_tmo() [all …]
|
D | scsi_transport_fc.c | 1165 if (rport->fast_io_fail_tmo == -1 && in fc_rport_set_dev_loss_tmo() 1298 if (rport->fast_io_fail_tmo == -1) in show_fc_rport_fast_io_fail_tmo() 1300 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo() 1317 rport->fast_io_fail_tmo = -1; in store_fc_rport_fast_io_fail_tmo() 1330 rport->fast_io_fail_tmo = val; in store_fc_rport_fast_io_fail_tmo() 1334 static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR, 2731 SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(fast_io_fail_tmo); in fc_attach_transport() 3076 rport->fast_io_fail_tmo = -1; in fc_remote_port_create() 3453 if ((rport->fast_io_fail_tmo != -1) && in fc_remote_port_delete() 3454 (rport->fast_io_fail_tmo < timeout)) in fc_remote_port_delete() [all …]
|
/drivers/nvme/host/ |
D | fabrics.h | 129 int fast_io_fail_tmo; member
|
D | fabrics.c | 570 opts->fast_io_fail_tmo = NVMF_DEF_FAIL_FAST_TMO; in nvmf_parse_options() 700 opts->fast_io_fail_tmo = token; in nvmf_parse_options() 848 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options() 850 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
|
D | core.c | 180 if (!ctrl->opts || ctrl->opts->fast_io_fail_tmo == -1) in nvme_start_failfast_work() 184 ctrl->opts->fast_io_fail_tmo * HZ); in nvme_start_failfast_work() 3530 if (ctrl->opts->fast_io_fail_tmo == -1) in nvme_ctrl_fast_io_fail_tmo_show() 3532 return sysfs_emit(buf, "%d\n", ctrl->opts->fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_show() 3540 int fast_io_fail_tmo, err; in nvme_ctrl_fast_io_fail_tmo_store() local 3542 err = kstrtoint(buf, 10, &fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_store() 3546 if (fast_io_fail_tmo < 0) in nvme_ctrl_fast_io_fail_tmo_store() 3547 opts->fast_io_fail_tmo = -1; in nvme_ctrl_fast_io_fail_tmo_store() 3549 opts->fast_io_fail_tmo = fast_io_fail_tmo; in nvme_ctrl_fast_io_fail_tmo_store() 3552 static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR,
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 112 module_param_cb(fast_io_fail_tmo, &srp_tmo_ops, &srp_fast_io_fail_tmo, 114 MODULE_PARM_DESC(fast_io_fail_tmo, 4123 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 5657 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work()
|