Searched refs:bdrv_truncate (Results 1 - 10 of 10) sorted by relevance

/external/qemu/block/
H A Draw.c190 return bdrv_truncate(bs->file, offset);
258 .bdrv_truncate = raw_truncate,
H A Draw-win32.c251 .bdrv_truncate = raw_truncate,
H A Dqcow2.c1101 ret = bdrv_truncate(bs->file, s->l1_table_offset + l1_length);
1163 bdrv_truncate(bs->file, cluster_offset);
1348 .bdrv_truncate = qcow2_truncate,
H A Dqcow.c344 bdrv_truncate(bs->file, cluster_offset + s->cluster_size);
842 ret = bdrv_truncate(bs->file, s->l1_table_offset + l1_length);
H A Draw-posix.c755 .bdrv_truncate = raw_truncate,
H A Dvmdk.c544 bdrv_truncate(bs->file, cluster_offset + (s->cluster_sectors << 9));
/external/qemu/
H A Dblock_int.h84 int (*bdrv_truncate)(BlockDriverState *bs, int64_t offset); member in struct:BlockDriver
H A Dblock.h89 int bdrv_truncate(BlockDriverState *bs, int64_t offset);
H A Dblock.c1107 int bdrv_truncate(BlockDriverState *bs, int64_t offset) function
1113 if (!drv->bdrv_truncate)
1117 ret = drv->bdrv_truncate(bs, offset);
H A Dqemu-io.c1320 ret = bdrv_truncate(bs, offset);

Completed in 331 milliseconds