Searched refs:fast_io_fail_tmo (Results 1 – 8 of 8) sorted by relevance
| /drivers/scsi/ |
| A D | scsi_transport_srp.c | 92 if (fast_io_fail_tmo < 0 && in srp_tmo_valid() 98 fast_io_fail_tmo >= dev_loss_tmo) in srp_tmo_valid() 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() 286 rport->fast_io_fail_tmo = fast_io_fail_tmo; in store_srp_rport_fast_io_fail_tmo() 464 int delay, fast_io_fail_tmo, dev_loss_tmo; in __srp_start_tl_fail_timers() local 469 fast_io_fail_tmo = rport->fast_io_fail_tmo; in __srp_start_tl_fail_timers() 484 if (fast_io_fail_tmo >= 0) in __srp_start_tl_fail_timers() 487 1UL * fast_io_fail_tmo * HZ); in __srp_start_tl_fail_timers() 721 rport->fast_io_fail_tmo = i->f->fast_io_fail_tmo ? in srp_rport_add() [all …]
|
| A D | scsi_transport_fc.c | 1158 if (rport->fast_io_fail_tmo == -1 && in fc_rport_set_dev_loss_tmo() 1291 if (rport->fast_io_fail_tmo == -1) in show_fc_rport_fast_io_fail_tmo() 1293 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo() 1310 rport->fast_io_fail_tmo = -1; in store_fc_rport_fast_io_fail_tmo() 1323 rport->fast_io_fail_tmo = val; in store_fc_rport_fast_io_fail_tmo() 1327 static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR, 2723 SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(fast_io_fail_tmo); in fc_attach_transport() 3070 rport->fast_io_fail_tmo = -1; in fc_remote_port_create() 3463 if ((rport->fast_io_fail_tmo != -1) && in fc_remote_port_delete() 3464 (rport->fast_io_fail_tmo < timeout)) in fc_remote_port_delete() [all …]
|
| /drivers/nvme/host/ |
| A D | sysfs.c | 545 if (ctrl->opts->fast_io_fail_tmo == -1) in nvme_ctrl_fast_io_fail_tmo_show() 547 return sysfs_emit(buf, "%d\n", ctrl->opts->fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_show() 555 int fast_io_fail_tmo, err; in nvme_ctrl_fast_io_fail_tmo_store() local 557 err = kstrtoint(buf, 10, &fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_store() 561 if (fast_io_fail_tmo < 0) in nvme_ctrl_fast_io_fail_tmo_store() 562 opts->fast_io_fail_tmo = -1; in nvme_ctrl_fast_io_fail_tmo_store() 564 opts->fast_io_fail_tmo = fast_io_fail_tmo; in nvme_ctrl_fast_io_fail_tmo_store() 567 static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR,
|
| A D | fabrics.h | 142 int fast_io_fail_tmo; member
|
| A D | fabrics.c | 733 opts->fast_io_fail_tmo = NVMF_DEF_FAIL_FAST_TMO; in nvmf_parse_options() 872 opts->fast_io_fail_tmo = token; in nvmf_parse_options() 1089 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options() 1091 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
|
| A D | core.c | 198 if (!ctrl->opts || ctrl->opts->fast_io_fail_tmo == -1) in nvme_start_failfast_work() 202 ctrl->opts->fast_io_fail_tmo * HZ); in nvme_start_failfast_work()
|
| /drivers/infiniband/ulp/srp/ |
| A D | ib_srp.c | 107 module_param_cb(fast_io_fail_tmo, &srp_tmo_ops, &srp_fast_io_fail_tmo, 109 MODULE_PARM_DESC(fast_io_fail_tmo, 4123 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,
|
| /drivers/scsi/ibmvscsi/ |
| A D | ibmvfc.c | 5694 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work()
|
Completed in 52 milliseconds