Lines Matching refs:BDRV_SECTOR_SIZE
1301 bs->bl.request_alignment = BDRV_SECTOR_SIZE; /* No sub-sector I/O */ in vvfat_refresh_limits()
1487 ret = bdrv_co_is_allocated(s->qcow->bs, sector_num * BDRV_SECTOR_SIZE, in vvfat_read()
1488 (nb_sectors - i) * BDRV_SECTOR_SIZE, &n); in vvfat_read()
1496 if (bdrv_co_pread(s->qcow, sector_num * BDRV_SECTOR_SIZE, n, in vvfat_read()
1548 assert(QEMU_IS_ALIGNED(offset, BDRV_SECTOR_SIZE)); in vvfat_co_preadv()
1549 assert(QEMU_IS_ALIGNED(bytes, BDRV_SECTOR_SIZE)); in vvfat_co_preadv()
1815 i) * BDRV_SECTOR_SIZE, in cluster_was_modified()
1816 BDRV_SECTOR_SIZE, NULL); in cluster_was_modified()
1970 (offs + i) * BDRV_SECTOR_SIZE, in get_cluster_count_for_direntry()
1971 BDRV_SECTOR_SIZE, NULL); in get_cluster_count_for_direntry()
1980 res = bdrv_co_pwrite(s->qcow, offs * BDRV_SECTOR_SIZE, in get_cluster_count_for_direntry()
1981 BDRV_SECTOR_SIZE, s->cluster_buffer, in get_cluster_count_for_direntry()
3088 ret = bdrv_co_pwrite(s->qcow, sector_num * BDRV_SECTOR_SIZE, in vvfat_write()
3089 nb_sectors * BDRV_SECTOR_SIZE, buf, 0); in vvfat_write()
3119 assert(QEMU_IS_ALIGNED(offset, BDRV_SECTOR_SIZE)); in vvfat_co_pwritev()
3120 assert(QEMU_IS_ALIGNED(bytes, BDRV_SECTOR_SIZE)); in vvfat_co_pwritev()
3186 bs->total_sectors * BDRV_SECTOR_SIZE, &error_abort); in enable_write_target()