Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/nvme/host/
Dfabrics.h123 unsigned int reconnect_delay; member
Dfabrics.c613 opts->reconnect_delay = NVMF_DEF_RECONNECT_DELAY; in nvmf_parse_options()
788 opts->reconnect_delay = token; in nvmf_parse_options()
927 opts->reconnect_delay); in nvmf_parse_options()
Dfc.c3280 unsigned long recon_delay = ctrl->ctrl.opts->reconnect_delay * HZ; in nvme_fc_reconnect_or_delete()
3322 ctrl->ctrl.opts->reconnect_delay))); in nvme_fc_reconnect_or_delete()
3463 opts->reconnect_delay == NVMF_DEF_RECONNECT_DELAY && in nvme_fc_init_ctrl()
3464 opts->reconnect_delay > NVME_FC_DEFAULT_RECONNECT_TMO) { in nvme_fc_init_ctrl()
3465 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3466 opts->reconnect_delay = NVME_FC_DEFAULT_RECONNECT_TMO; in nvme_fc_init_ctrl()
3468 opts->reconnect_delay); in nvme_fc_init_ctrl()
Dcore.c3621 opts->max_reconnects * opts->reconnect_delay); in nvme_ctrl_loss_tmo_show()
3639 opts->reconnect_delay); in nvme_ctrl_loss_tmo_store()
3650 if (ctrl->opts->reconnect_delay == -1) in nvme_ctrl_reconnect_delay_show()
3652 return sysfs_emit(buf, "%d\n", ctrl->opts->reconnect_delay); in nvme_ctrl_reconnect_delay_show()
3666 ctrl->opts->reconnect_delay = v; in nvme_ctrl_reconnect_delay_store()
3669 static DEVICE_ATTR(reconnect_delay, S_IRUGO | S_IWUSR,
Drdma.c1032 ctrl->ctrl.opts->reconnect_delay); in nvme_rdma_reconnect_or_remove()
1034 ctrl->ctrl.opts->reconnect_delay * HZ); in nvme_rdma_reconnect_or_remove()
Dtcp.c2020 ctrl->opts->reconnect_delay); in nvme_tcp_reconnect_or_remove()
2022 ctrl->opts->reconnect_delay * HZ); in nvme_tcp_reconnect_or_remove()
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-transport-srp33 What: /sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay
/linux-6.1.9/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");
4136 .reconnect_delay = &srp_reconnect_delay,