static int load_refcount_block(BlockDriverState *bs,

                               int64_t refcount_block_offset,

                               void **refcount_block)

{

    BDRVQcow2State *s = bs->opaque;

    int ret;



    BLKDBG_EVENT(bs->file, BLKDBG_REFBLOCK_LOAD);

    ret = qcow2_cache_get(bs, s->refcount_block_cache, refcount_block_offset,

        refcount_block);



    return ret;

}

static int load_refcount_block(BlockDriverState *bs,

                               int64_t refcount_block_offset,

                               void **refcount_block)

{

    BDRVQcow2State *s = bs->opaque;

    int ret;



    BLKDBG_EVENT(bs->file, BLKDBG_REFBLOCK_LOAD);

    ret = qcow2_cache_get(bs, s->refcount_block_cache, refcount_block_offset,

        refcount_block);



    return ret;

}

static int FUNC_0(BlockDriverState *VAR_0,

                               int64_t VAR_1,

                               void **VAR_2)

{

    BDRVQcow2State *s = VAR_0->opaque;

    int VAR_3;



    BLKDBG_EVENT(VAR_0->file, BLKDBG_REFBLOCK_LOAD);

    VAR_3 = qcow2_cache_get(VAR_0, s->refcount_block_cache, VAR_1,

        VAR_2);



    return VAR_3;

}

static int FUNC_0(BlockDriverState *VAR_0,
int64_t VAR_1,
void **VAR_2)
{ BDRVQcow2State *s = VAR_0->opaque; int VAR_3; BLKDBG_EVENT(VAR_0->file, BLKDBG_REFBLOCK_LOAD); VAR_3 = qcow2_cache_get(VAR_0, s->refcount_block_cache, VAR_1,
VAR_2); return VAR_3; }