Home
last modified time | relevance | path

Searched refs:max_reconnects (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/nvme/host/
H A Dsysfs.c294 if (ctrl->opts->max_reconnects == -1) in nvme_ctrl_loss_tmo_show()
297 opts->max_reconnects * opts->reconnect_delay); in nvme_ctrl_loss_tmo_show()
312 opts->max_reconnects = -1; in nvme_ctrl_loss_tmo_store()
314 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()
H A Dfabrics.h108 int max_reconnects; member
H A Dfabrics.c563 if (ctrl->opts->max_reconnects == -1 || in nvmf_should_reconnect()
564 ctrl->nr_reconnects < ctrl->opts->max_reconnects) in nvmf_should_reconnect()
978 opts->max_reconnects = -1; in nvmf_parse_options()
980 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
H A Dfc.c3300 (ctrl->ctrl.opts->max_reconnects * in nvme_fc_reconnect_or_delete()
3441 if (opts->max_reconnects != -1 && in nvme_fc_init_ctrl()
3444 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3446 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()