Searched refs:max_reconnects (Results 1 – 4 of 4) sorted by relevance
510 if (ctrl->opts->max_reconnects == -1 || in nvmf_should_reconnect()511 ctrl->nr_reconnects < ctrl->opts->max_reconnects) in nvmf_should_reconnect()924 opts->max_reconnects = -1; in nvmf_parse_options()926 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
128 int max_reconnects; member
3314 (ctrl->ctrl.opts->max_reconnects * in nvme_fc_reconnect_or_delete()3455 if (opts->max_reconnects != -1 && in nvme_fc_init_ctrl()3458 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()3460 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()
3710 if (ctrl->opts->max_reconnects == -1) in nvme_ctrl_loss_tmo_show()3713 opts->max_reconnects * opts->reconnect_delay); in nvme_ctrl_loss_tmo_show()3728 opts->max_reconnects = -1; in nvme_ctrl_loss_tmo_store()3730 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()