Home
last modified time | relevance | path

Searched refs:BDRV_SECTOR_BITS (Results 1 – 4 of 4) sorted by relevance

/external/qemu/
Dblock.c399 hint = length >> BDRV_SECTOR_BITS; in refresh_total_sectors()
793 total_sectors = bdrv_getlength(bs) >> BDRV_SECTOR_BITS; in bdrv_commit()
986 sector_num = offset >> BDRV_SECTOR_BITS; in bdrv_pread()
999 nb_sectors = count >> BDRV_SECTOR_BITS; in bdrv_pread()
1004 len = nb_sectors << BDRV_SECTOR_BITS; in bdrv_pread()
1031 sector_num = offset >> BDRV_SECTOR_BITS; in bdrv_pwrite()
1046 nb_sectors = count >> BDRV_SECTOR_BITS; in bdrv_pwrite()
1051 len = nb_sectors << BDRV_SECTOR_BITS; in bdrv_pwrite()
1119 ret = refresh_total_sectors(bs, offset >> BDRV_SECTOR_BITS); in bdrv_truncate()
1151 length = length >> BDRV_SECTOR_BITS; in bdrv_get_geometry()
[all …]
Dblock.h40 #define BDRV_SECTOR_BITS 9 macro
41 #define BDRV_SECTOR_SIZE (1ULL << BDRV_SECTOR_BITS)
Dqemu-io.c1468 ret = bdrv_discard(bs, offset >> BDRV_SECTOR_BITS, count >> BDRV_SECTOR_BITS); in discard_f()
/external/qemu/block/
Dvpc.c383 sectors_per_block = s->block_size >> BDRV_SECTOR_BITS; in vpc_read()
417 sectors_per_block = s->block_size >> BDRV_SECTOR_BITS; in vpc_write()