Searched refs:reconnect_delay (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/include/scsi/ |
D | scsi_transport_srp.h | 67 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/ |
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() 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/ |
D | fabrics.h | 118 unsigned int reconnect_delay; member
|
D | fabrics.c | 567 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()
|
D | fc.c | 3319 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()
|
D | core.c | 3503 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,
|
D | rdma.c | 1087 ctrl->ctrl.opts->reconnect_delay); in nvme_rdma_reconnect_or_remove() 1089 ctrl->ctrl.opts->reconnect_delay * HZ); in nvme_rdma_reconnect_or_remove()
|
D | tcp.c | 2062 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/ |
D | sysfs-transport-srp | 33 What: /sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay
|
/linux-5.19.10/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 107 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,
|