static void set_dirty_bitmap(BlockDriverState *bs, int64_t sector_num,

                             int nb_sectors, int dirty)

{

    int64_t start, end;



    start = sector_num / BDRV_SECTORS_PER_DIRTY_CHUNK;

    end = (sector_num + nb_sectors) / BDRV_SECTORS_PER_DIRTY_CHUNK;



    for (; start <= end; start++) {

        bs->dirty_bitmap[start] = dirty;

    }

}

static void set_dirty_bitmap(BlockDriverState *bs, int64_t sector_num,

                             int nb_sectors, int dirty)

{

    int64_t start, end;



    start = sector_num / BDRV_SECTORS_PER_DIRTY_CHUNK;

    end = (sector_num + nb_sectors) / BDRV_SECTORS_PER_DIRTY_CHUNK;



    for (; start <= end; start++) {

        bs->dirty_bitmap[start] = dirty;

    }

}

    end = (sector_num + nb_sectors) / BDRV_SECTORS_PER_DIRTY_CHUNK;         bs->dirty_bitmap[start] = dirty;
static void FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1,

                             int VAR_2, int VAR_3)

{

    int64_t start, end;



    start = VAR_1 / BDRV_SECTORS_PER_DIRTY_CHUNK;

    end = (VAR_1 + VAR_2) / BDRV_SECTORS_PER_DIRTY_CHUNK;



    for (; start <= end; start++) {

        VAR_0->dirty_bitmap[start] = VAR_3;

    }

}

static void FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1,
int VAR_2, int VAR_3)
{ int64_t start, end; start = VAR_1 / BDRV_SECTORS_PER_DIRTY_CHUNK; end = (VAR_1 + VAR_2) / BDRV_SECTORS_PER_DIRTY_CHUNK; for (; start <= end; start++) { VAR_0->dirty_bitmap[start] = VAR_3; } }