Home
last modified time | relevance | path

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

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/nvme/host/
H A Dfabrics.c567 int ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO; in nvmf_parse_options() local
695 ctrl_loss_tmo = token; in nvmf_parse_options()
841 if (ctrl_loss_tmo < 0) { in nvmf_parse_options()
844 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
846 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options()
848 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
H A Dcore.c3306 int ctrl_loss_tmo, err; in nvme_ctrl_loss_tmo_store() local
3308 err = kstrtoint(buf, 10, &ctrl_loss_tmo); in nvme_ctrl_loss_tmo_store()
3312 if (ctrl_loss_tmo < 0) in nvme_ctrl_loss_tmo_store()
3315 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()
3319 static DEVICE_ATTR(ctrl_loss_tmo, S_IRUGO | S_IWUSR,
H A Dfc.c3410 int ret, idx, ctrl_loss_tmo; in nvme_fc_init_ctrl() local
3443 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3445 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/nvme/host/
H A Dfabrics.c567 int ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO; in nvmf_parse_options() local
695 ctrl_loss_tmo = token; in nvmf_parse_options()
841 if (ctrl_loss_tmo < 0) { in nvmf_parse_options()
844 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
846 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options()
848 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
H A Dcore.c3306 int ctrl_loss_tmo, err; in nvme_ctrl_loss_tmo_store() local
3308 err = kstrtoint(buf, 10, &ctrl_loss_tmo); in nvme_ctrl_loss_tmo_store()
3312 if (ctrl_loss_tmo < 0) in nvme_ctrl_loss_tmo_store()
3315 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()
3319 static DEVICE_ATTR(ctrl_loss_tmo, S_IRUGO | S_IWUSR,
H A Dfc.c3410 int ret, idx, ctrl_loss_tmo; in nvme_fc_init_ctrl() local
3443 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3445 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/nvme/host/
H A Dfabrics.c567 int ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO; in nvmf_parse_options() local
695 ctrl_loss_tmo = token; in nvmf_parse_options()
841 if (ctrl_loss_tmo < 0) { in nvmf_parse_options()
844 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvmf_parse_options()
846 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options()
848 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
H A Dcore.c3306 int ctrl_loss_tmo, err; in nvme_ctrl_loss_tmo_store() local
3308 err = kstrtoint(buf, 10, &ctrl_loss_tmo); in nvme_ctrl_loss_tmo_store()
3312 if (ctrl_loss_tmo < 0) in nvme_ctrl_loss_tmo_store()
3315 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_ctrl_loss_tmo_store()
3319 static DEVICE_ATTR(ctrl_loss_tmo, S_IRUGO | S_IWUSR,
H A Dfc.c3410 int ret, idx, ctrl_loss_tmo; in nvme_fc_init_ctrl() local
3443 ctrl_loss_tmo = opts->max_reconnects * opts->reconnect_delay; in nvme_fc_init_ctrl()
3445 opts->max_reconnects = DIV_ROUND_UP(ctrl_loss_tmo, in nvme_fc_init_ctrl()