Searched refs:cluster_bytes (Results 1 – 4 of 4) sorted by relevance
113 def cluster_bytes(self): member in FatBootSector368 assert len(data) == self.boot_sector.cluster_bytes()532 size + self.boot_sector.cluster_bytes() - 1533 ) // self.boot_sector.cluster_bytes()629 data_to_write = data[: self.boot_sector.cluster_bytes()]630 if len(data_to_write) < self.boot_sector.cluster_bytes():635 data = data[self.boot_sector.cluster_bytes() :]
1468 int64_t cluster_bytes; in get_whole_cluster() 1473 cluster_bytes = extent->cluster_sectors << BDRV_SECTOR_BITS; in get_whole_cluster() 1474 offset = QEMU_ALIGN_DOWN(offset, cluster_bytes); in get_whole_cluster() 1475 whole_grain = qemu_blockalign(bs, cluster_bytes); in get_whole_cluster() 1480 memset(whole_grain + skip_end_bytes, 0, cluster_bytes - skip_end_bytes); in get_whole_cluster() 1483 assert(skip_end_bytes <= cluster_bytes); in get_whole_cluster() 1512 if (skip_end_bytes < cluster_bytes) { in get_whole_cluster() 1517 cluster_bytes - skip_end_bytes, in get_whole_cluster() 1526 cluster_bytes - skip_end_bytes, in get_whole_cluster() 1926 int cluster_bytes, buf_byte in vmdk_read_extent() 1458 int64_t cluster_bytes; get_whole_cluster() local 1916 int cluster_bytes, buf_bytes; vmdk_read_extent() local [all...]
17 …_t cluster_offset, int64_t cluster_bytes) "bs %p offset %" PRId64 " bytes %" PRId64 " cluster_offs…
209 int64_t *cluster_bytes);