Lines Matching defs:bdev_opts
241 struct spdk_bdev_nvme_ctrlr_opts bdev_opts;
327 {"prchk_reftag", offsetof(struct rpc_bdev_nvme_attach_controller, bdev_opts.prchk_flags), bdev_nvme_decode_reftag, true},
328 {"prchk_guard", offsetof(struct rpc_bdev_nvme_attach_controller, bdev_opts.prchk_flags), bdev_nvme_decode_guard, true},
334 {"ctrlr_loss_timeout_sec", offsetof(struct rpc_bdev_nvme_attach_controller, bdev_opts.ctrlr_loss_timeout_sec), spdk_json_decode_int32, true},
335 {"reconnect_delay_sec", offsetof(struct rpc_bdev_nvme_attach_controller, bdev_opts.reconnect_delay_sec), spdk_json_decode_uint32, true},
336 {"fast_io_fail_timeout_sec", offsetof(struct rpc_bdev_nvme_attach_controller, bdev_opts.fast_io_fail_timeout_sec), spdk_json_decode_uint32, true},
341 {"allow_unrecognized_csi", offsetof(struct rpc_bdev_nvme_attach_controller, bdev_opts.allow_unrecognized_csi), spdk_json_decode_bool, true},
415 spdk_bdev_nvme_get_default_ctrlr_opts(&ctx->req.bdev_opts);
590 if (ctx->req.bdev_opts.prchk_flags) {
597 ctx->req.bdev_opts.prchk_flags = ctrlr->opts.prchk_flags;
601 ctx->req.bdev_opts.multipath = false;
613 ctx->req.bdev_opts.from_discovery_service = false;
614 ctx->req.bdev_opts.psk = ctx->req.psk;
615 ctx->req.bdev_opts.dhchap_key = ctx->req.dhchap_key;
616 ctx->req.bdev_opts.dhchap_ctrlr_key = ctx->req.dhchap_ctrlr_key;
619 &ctx->req.bdev_opts);
1633 struct spdk_bdev_nvme_ctrlr_opts bdev_opts;
1656 {"ctrlr_loss_timeout_sec", offsetof(struct rpc_bdev_nvme_start_discovery, bdev_opts.ctrlr_loss_timeout_sec), spdk_json_decode_int32, true},
1657 {"reconnect_delay_sec", offsetof(struct rpc_bdev_nvme_start_discovery, bdev_opts.reconnect_delay_sec), spdk_json_decode_uint32, true},
1658 {"fast_io_fail_timeout_sec", offsetof(struct rpc_bdev_nvme_start_discovery, bdev_opts.fast_io_fail_timeout_sec), spdk_json_decode_uint32, true},
1764 rc = bdev_nvme_start_discovery(&trid, ctx->req.name, &ctx->req.opts, &ctx->req.bdev_opts,
2417 struct spdk_bdev_nvme_ctrlr_opts bdev_opts;
2469 &ctx->req.bdev_opts);