static void blkverify_refresh_filename(BlockDriverState *bs, QDict *options)

{

    BDRVBlkverifyState *s = bs->opaque;



    /* bs->file->bs has already been refreshed */

    bdrv_refresh_filename(s->test_file->bs);



    if (bs->file->bs->full_open_options

        && s->test_file->bs->full_open_options)

    {

        QDict *opts = qdict_new();

        qdict_put_str(opts, "driver", "blkverify");



        QINCREF(bs->file->bs->full_open_options);

        qdict_put(opts, "raw", bs->file->bs->full_open_options);

        QINCREF(s->test_file->bs->full_open_options);

        qdict_put(opts, "test", s->test_file->bs->full_open_options);



        bs->full_open_options = opts;

    }



    if (bs->file->bs->exact_filename[0]

        && s->test_file->bs->exact_filename[0])

    {

        snprintf(bs->exact_filename, sizeof(bs->exact_filename),

                 "blkverify:%s:%s",

                 bs->file->bs->exact_filename,

                 s->test_file->bs->exact_filename);

    }

}

static void blkverify_refresh_filename(BlockDriverState *bs, QDict *options)

{

    BDRVBlkverifyState *s = bs->opaque;



    

    bdrv_refresh_filename(s->test_file->bs);



    if (bs->file->bs->full_open_options

        && s->test_file->bs->full_open_options)

    {

        QDict *opts = qdict_new();

        qdict_put_str(opts, "driver", "blkverify");



        QINCREF(bs->file->bs->full_open_options);

        qdict_put(opts, "raw", bs->file->bs->full_open_options);

        QINCREF(s->test_file->bs->full_open_options);

        qdict_put(opts, "test", s->test_file->bs->full_open_options);



        bs->full_open_options = opts;

    }



    if (bs->file->bs->exact_filename[0]

        && s->test_file->bs->exact_filename[0])

    {

        snprintf(bs->exact_filename, sizeof(bs->exact_filename),

                 "blkverify:%s:%s",

                 bs->file->bs->exact_filename,

                 s->test_file->bs->exact_filename);

    }

}

        snprintf(bs->exact_filename, sizeof(bs->exact_filename),                  "blkverify:%s:%s",                  bs->file->bs->exact_filename,                  s->test_file->bs->exact_filename);
static void FUNC_0(BlockDriverState *VAR_0, QDict *VAR_1)

{

    BDRVBlkverifyState *s = VAR_0->opaque;



    

    bdrv_refresh_filename(s->test_file->VAR_0);



    if (VAR_0->file->VAR_0->full_open_options

        && s->test_file->VAR_0->full_open_options)

    {

        QDict *opts = qdict_new();

        qdict_put_str(opts, "driver", "blkverify");



        QINCREF(VAR_0->file->VAR_0->full_open_options);

        qdict_put(opts, "raw", VAR_0->file->VAR_0->full_open_options);

        QINCREF(s->test_file->VAR_0->full_open_options);

        qdict_put(opts, "test", s->test_file->VAR_0->full_open_options);



        VAR_0->full_open_options = opts;

    }



    if (VAR_0->file->VAR_0->exact_filename[0]

        && s->test_file->VAR_0->exact_filename[0])

    {

        snprintf(VAR_0->exact_filename, sizeof(VAR_0->exact_filename),

                 "blkverify:%s:%s",

                 VAR_0->file->VAR_0->exact_filename,

                 s->test_file->VAR_0->exact_filename);

    }

}

static void FUNC_0(BlockDriverState *VAR_0, QDict *VAR_1)
{ BDRVBlkverifyState *s = VAR_0->opaque; bdrv_refresh_filename(s->test_file->VAR_0); if (VAR_0->file->VAR_0->full_open_options
&& s->test_file->VAR_0->full_open_options)
{ QDict *opts = qdict_new(); qdict_put_str(opts, "driver", "blkverify"); QINCREF(VAR_0->file->VAR_0->full_open_options); qdict_put(opts, "raw", VAR_0->file->VAR_0->full_open_options); QINCREF(s->test_file->VAR_0->full_open_options); qdict_put(opts, "test", s->test_file->VAR_0->full_open_options); VAR_0->full_open_options = opts; } if (VAR_0->file->VAR_0->exact_filename[0]
&& s->test_file->VAR_0->exact_filename[0])
{ snprintf(VAR_0->exact_filename, sizeof(VAR_0->exact_filename),
"blkverify:%s:%s",
VAR_0->file->VAR_0->exact_filename,
s->test_file->VAR_0->exact_filename); } }