static inline int mirror_clip_sectors(MirrorBlockJob *s,

                                      int64_t sector_num,

                                      int nb_sectors)

{

    return MIN(nb_sectors,

               s->bdev_length / BDRV_SECTOR_SIZE - sector_num);

}

static inline int mirror_clip_sectors(MirrorBlockJob *s,

                                      int64_t sector_num,

                                      int nb_sectors)

{

    return MIN(nb_sectors,

               s->bdev_length / BDRV_SECTOR_SIZE - sector_num);

}

static inline int FUNC_0(MirrorBlockJob *VAR_0,

                                      int64_t VAR_1,

                                      int VAR_2)

{

    return MIN(VAR_2,

               VAR_0->bdev_length / BDRV_SECTOR_SIZE - VAR_1);

}

static inline int FUNC_0(MirrorBlockJob *VAR_0,
int64_t VAR_1,
int VAR_2)
{ return MIN(VAR_2,
VAR_0->bdev_length / BDRV_SECTOR_SIZE - VAR_1); }