Searched refs:cluster_bytes (Results 1 – 5 of 5) 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() :]
1458 int64_t cluster_bytes; in get_whole_cluster() local1463 cluster_bytes = extent->cluster_sectors << BDRV_SECTOR_BITS; in get_whole_cluster()1464 offset = QEMU_ALIGN_DOWN(offset, cluster_bytes); in get_whole_cluster()1465 whole_grain = qemu_blockalign(bs, cluster_bytes); in get_whole_cluster()1470 memset(whole_grain + skip_end_bytes, 0, cluster_bytes - skip_end_bytes); in get_whole_cluster()1473 assert(skip_end_bytes <= cluster_bytes); in get_whole_cluster()1502 if (skip_end_bytes < cluster_bytes) { in get_whole_cluster()1507 cluster_bytes - skip_end_bytes, in get_whole_cluster()1516 cluster_bytes - skip_end_bytes, in get_whole_cluster()1916 int cluster_bytes, buf_bytes; in vmdk_read_extent() local[all …]
17 …_t cluster_offset, int64_t cluster_bytes) "bs %p offset %" PRId64 " bytes %" PRId64 " cluster_offs…
207 int64_t *cluster_bytes);
380 u64 cluster_bytes; in ocfs2_orphan_for_truncate() local413 cluster_bytes = ocfs2_align_bytes_to_clusters(inode->i_sb, new_i_size); in ocfs2_orphan_for_truncate()415 cluster_bytes); in ocfs2_orphan_for_truncate()