Home
last modified time | relevance | path

Searched refs:max_reconnects (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/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.h73 * @max_reconnects: maximum number of allowed reconnect attempts before removing
108 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.c3339 (ctrl->ctrl.opts->max_reconnects * in nvme_fc_reconnect_or_delete()
3480 if (opts->max_reconnects != -1 && in nvme_fc_init_ctrl()
3483 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3485 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dfabrics.h83 * @max_reconnects: maximum number of allowed reconnect attempts before removing
107 int max_reconnects; member
H A Dfabrics.c481 if (ctrl->opts->max_reconnects == -1 || in nvmf_should_reconnect()
482 ctrl->nr_reconnects < ctrl->opts->max_reconnects) in nvmf_should_reconnect()
893 opts->max_reconnects = -1; in nvmf_parse_options()
895 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
H A Dfc.c3309 (ctrl->ctrl.opts->max_reconnects * in nvme_fc_reconnect_or_delete()
3450 if (opts->max_reconnects != -1 && in nvme_fc_init_ctrl()
3453 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3455 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()
H A Dcore.c3630 if (ctrl->opts->max_reconnects == -1) in nvme_ctrl_loss_tmo_show()
3633 opts->max_reconnects * opts->reconnect_delay); in nvme_ctrl_loss_tmo_show()
3648 opts->max_reconnects = -1; in nvme_ctrl_loss_tmo_store()
3650 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()

Completed in 26 milliseconds