Lines Matching refs:luks_any_opts
483 rbd_encryption_luks_format_options_t luks_any_opts; in qemu_rbd_encryption_load() local
520 memset(&luks_any_opts, 0, sizeof(luks_any_opts)); in qemu_rbd_encryption_load()
522 opts = &luks_any_opts; in qemu_rbd_encryption_load()
523 opts_size = sizeof(luks_any_opts); in qemu_rbd_encryption_load()
526 &passphrase, &luks_any_opts.passphrase_size, errp); in qemu_rbd_encryption_load()
530 luks_any_opts.passphrase = passphrase; in qemu_rbd_encryption_load()
564 rbd_encryption_luks_format_options_t *luks_any_opts; in qemu_rbd_encryption_load2() local
610 luks_any_opts = g_new0(rbd_encryption_luks_format_options_t, 1); in qemu_rbd_encryption_load2()
611 specs[i].opts = luks_any_opts; in qemu_rbd_encryption_load2()
612 specs[i].opts_size = sizeof(*luks_any_opts); in qemu_rbd_encryption_load2()
617 (char **)&luks_any_opts->passphrase, in qemu_rbd_encryption_load2()
618 &luks_any_opts->passphrase_size, in qemu_rbd_encryption_load2()
661 luks_any_opts = specs[i].opts; in qemu_rbd_encryption_load2()
662 g_free((void *)luks_any_opts->passphrase); in qemu_rbd_encryption_load2()