Searched refs:ctrl_loss_tmo (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/drivers/nvme/host/ |
| H A D | sysfs.c | 490 int ctrl_loss_tmo, err; in nvme_ctrl_loss_tmo_store() local 492 err = kstrtoint(buf, 10, &ctrl_loss_tmo); in nvme_ctrl_loss_tmo_store() 496 if (ctrl_loss_tmo < 0) in nvme_ctrl_loss_tmo_store() 499 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store() 503 static DEVICE_ATTR(ctrl_loss_tmo, S_IRUGO | S_IWUSR,
|
| H A D | fabrics.c | 722 int ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO, key_id; in nvmf_parse_options() local 858 ctrl_loss_tmo = token; in nvmf_parse_options() 1084 if (ctrl_loss_tmo < 0) { in nvmf_parse_options() 1087 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, 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()
|
| H A D | fc.c | 3413 int ret, idx, ctrl_loss_tmo; in nvme_fc_alloc_ctrl() local 3446 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_alloc_ctrl() 3448 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_alloc_ctrl()
|