const char *bdrv_get_encrypted_filename(BlockDriverState *bs)

{

    if (bs->backing_hd && bs->backing_hd->encrypted)

        return bs->backing_file;

    else if (bs->encrypted)

        return bs->filename;

    else

        return NULL;

}

const char *bdrv_get_encrypted_filename(BlockDriverState *bs)

{

    if (bs->backing_hd && bs->backing_hd->encrypted)

        return bs->backing_file;

    else if (bs->encrypted)

        return bs->filename;

    else

        return NULL;

}

const char *FUNC_0(BlockDriverState *VAR_0)

{

    if (VAR_0->backing_hd && VAR_0->backing_hd->encrypted)

        return VAR_0->backing_file;

    else if (VAR_0->encrypted)

        return VAR_0->filename;

    else

        return NULL;

}

const char *FUNC_0(BlockDriverState *VAR_0)
{ if (VAR_0->backing_hd && VAR_0->backing_hd->encrypted)
return VAR_0->backing_file; else if (VAR_0->encrypted)
return VAR_0->filename; else
return NULL; }