Home
last modified time | relevance | path

Searched refs:ctrl_loss_tmo (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/nvme/host/
Dfabrics.c607 int ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO; in nvmf_parse_options() local
735 ctrl_loss_tmo = token; in nvmf_parse_options()
923 if (ctrl_loss_tmo < 0) { in nvmf_parse_options()
926 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
928 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options()
930 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
Dcore.c3609 int ctrl_loss_tmo, err; in nvme_ctrl_loss_tmo_store() local
3611 err = kstrtoint(buf, 10, &ctrl_loss_tmo); in nvme_ctrl_loss_tmo_store()
3615 if (ctrl_loss_tmo < 0) in nvme_ctrl_loss_tmo_store()
3618 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()
3622 static DEVICE_ATTR(ctrl_loss_tmo, S_IRUGO | S_IWUSR,
Dfc.c3432 int ret, idx, ctrl_loss_tmo; in nvme_fc_init_ctrl() local
3465 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3467 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()