Home
last modified time | relevance | path

Searched refs:reconnect_delay (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/include/scsi/
Dscsi_transport_srp.h67 int reconnect_delay; member
97 int *reconnect_delay; member
114 extern int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo,
/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()
88 if (reconnect_delay == 0) in srp_tmo_valid()
217 return srp_show_tmo(buf, rport->reconnect_delay); in show_reconnect_delay()
235 if (rport->reconnect_delay <= 0 && delay > 0 && in store_reconnect_delay()
242 rport->reconnect_delay = delay; in store_reconnect_delay()
249 static DEVICE_ATTR(reconnect_delay, S_IRUGO | S_IWUSR, show_reconnect_delay,
282 res = srp_tmo_valid(rport->reconnect_delay, fast_io_fail_tmo, in store_srp_rport_fast_io_fail_tmo()
317 res = srp_tmo_valid(rport->reconnect_delay, rport->fast_io_fail_tmo, in store_srp_rport_dev_loss_tmo()
390 delay = rport->reconnect_delay * in srp_reconnect_work()
[all …]
/linux-5.19.10/drivers/nvme/host/
Dfabrics.h118 unsigned int reconnect_delay; member
Dfabrics.c567 opts->reconnect_delay = NVMF_DEF_RECONNECT_DELAY; in nvmf_parse_options()
742 opts->reconnect_delay = token; in nvmf_parse_options()
853 opts->reconnect_delay); in nvmf_parse_options()
Dfc.c3319 unsigned long recon_delay = ctrl->ctrl.opts->reconnect_delay * HZ; in nvme_fc_reconnect_or_delete()
3361 ctrl->ctrl.opts->reconnect_delay))); in nvme_fc_reconnect_or_delete()
3502 opts->reconnect_delay == NVMF_DEF_RECONNECT_DELAY && in nvme_fc_init_ctrl()
3503 opts->reconnect_delay > NVME_FC_DEFAULT_RECONNECT_TMO) { in nvme_fc_init_ctrl()
3504 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3505 opts->reconnect_delay = NVME_FC_DEFAULT_RECONNECT_TMO; in nvme_fc_init_ctrl()
3507 opts->reconnect_delay); in nvme_fc_init_ctrl()
Dcore.c3503 opts->max_reconnects * opts->reconnect_delay); in nvme_ctrl_loss_tmo_show()
3521 opts->reconnect_delay); in nvme_ctrl_loss_tmo_store()
3532 if (ctrl->opts->reconnect_delay == -1) in nvme_ctrl_reconnect_delay_show()
3534 return sysfs_emit(buf, "%d\n", ctrl->opts->reconnect_delay); in nvme_ctrl_reconnect_delay_show()
3548 ctrl->opts->reconnect_delay = v; in nvme_ctrl_reconnect_delay_store()
3551 static DEVICE_ATTR(reconnect_delay, S_IRUGO | S_IWUSR,
Drdma.c1087 ctrl->ctrl.opts->reconnect_delay); in nvme_rdma_reconnect_or_remove()
1089 ctrl->ctrl.opts->reconnect_delay * HZ); in nvme_rdma_reconnect_or_remove()
Dtcp.c2062 ctrl->opts->reconnect_delay); in nvme_tcp_reconnect_or_remove()
2064 ctrl->opts->reconnect_delay * HZ); in nvme_tcp_reconnect_or_remove()
/linux-5.19.10/Documentation/ABI/stable/
Dsysfs-transport-srp33 What: /sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay
/linux-5.19.10/drivers/infiniband/ulp/srp/
Dib_srp.c107 module_param_cb(reconnect_delay, &srp_tmo_ops, &srp_reconnect_delay,
109 MODULE_PARM_DESC(reconnect_delay, "Time between successive reconnect attempts");
4069 .reconnect_delay = &srp_reconnect_delay,