Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dsysfs.c431 if (ctrl->opts->max_reconnects == -1) in nvme_ctrl_loss_tmo_show()
434 opts->max_reconnects * opts->reconnect_delay); in nvme_ctrl_loss_tmo_show()
449 opts->max_reconnects = -1; in nvme_ctrl_loss_tmo_store()
451 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()
H A Dfabrics.h114 int max_reconnects; member
H A Dfabrics.c597 if (ctrl->opts->max_reconnects == -1 || in nvmf_should_reconnect()
598 ctrl->nr_reconnects < ctrl->opts->max_reconnects) in nvmf_should_reconnect()
1074 opts->max_reconnects = -1; in nvmf_parse_options()
1076 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
H A Dfc.c3302 (ctrl->ctrl.opts->max_reconnects * in nvme_fc_reconnect_or_delete()
3443 if (opts->max_reconnects != -1 && in nvme_fc_alloc_ctrl()
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()
H A Dtcp.c2400 ctrl->nr_reconnects, ctrl->opts->max_reconnects); in nvme_tcp_reconnect_ctrl_work()
2408 ctrl->nr_reconnects, ctrl->opts->max_reconnects); in nvme_tcp_reconnect_ctrl_work()
H A Drdma.c1119 ctrl->ctrl.nr_reconnects, ctrl->ctrl.opts->max_reconnects); in nvme_rdma_reconnect_ctrl_work()