Lines Matching refs:vpc_opts
916 static int calculate_rounded_image_size(BlockdevCreateOptionsVpc *vpc_opts, in calculate_rounded_image_size() argument
923 int64_t total_size = vpc_opts->size; in calculate_rounded_image_size()
939 if (vpc_opts->force_size) { in calculate_rounded_image_size()
975 BlockdevCreateOptionsVpc *vpc_opts; in vpc_co_create() local
990 vpc_opts = &opts->u.vpc; in vpc_co_create()
993 total_size = vpc_opts->size; in vpc_co_create()
995 if (!vpc_opts->has_subformat) { in vpc_co_create()
996 vpc_opts->subformat = BLOCKDEV_VPC_SUBFORMAT_DYNAMIC; in vpc_co_create()
998 switch (vpc_opts->subformat) { in vpc_co_create()
1010 bs = bdrv_co_open_blockdev_ref(vpc_opts->file, errp); in vpc_co_create()
1024 ret = calculate_rounded_image_size(vpc_opts, &cyls, &heads, &secs_per_cyl, in vpc_co_create()
1045 if (vpc_opts->force_size) { in vpc_co_create()