Searched refs:ctrl_loss_tmo (Results 1 - 3 of 3) sorted by path

/linux-master/drivers/nvme/host/
H A Dfabrics.c656 { NVMF_OPT_CTRL_LOSS_TMO, "ctrl_loss_tmo=%d" },
692 int ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO, key_id; local
826 pr_warn("ctrl_loss_tmo < 0 will reconnect forever\n");
827 ctrl_loss_tmo = token;
1045 if (ctrl_loss_tmo < 0) {
1048 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo,
1050 if (ctrl_loss_tmo < opts->fast_io_fail_tmo)
1052 opts->fast_io_fail_tmo, ctrl_loss_tmo);
H A Dfc.c3455 int ret, idx, ctrl_loss_tmo; local
3482 * if ctrl_loss_tmo is being enforced and the default reconnect delay
3488 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay;
3490 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo,
H A Dsysfs.c443 int ctrl_loss_tmo, err; local
445 err = kstrtoint(buf, 10, &ctrl_loss_tmo);
449 if (ctrl_loss_tmo < 0)
452 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo,
456 static DEVICE_ATTR(ctrl_loss_tmo, S_IRUGO | S_IWUSR,

Completed in 233 milliseconds