Lines Matching full:512
40 off_reftable = 512
41 off_refblock = off_reftable + (512 * 512)
42 off_l1 = off_refblock + (512 * 512 * 64)
43 off_l2 = off_l1 + (512 * 512 * 4 * 8)
44 off_data = off_l2 + (512 * 512 * 4 * 512)
49 h.refcount_table_clusters = 512
51 h.l1_size = 512 * 512 * 4
59 off_refblock + i * 64 * 512 + j * 512)
71 assert(off_l2 + 512 * h.l1_size == off_data)
72 table = b''.join(struct.pack('>Q', (1 << 63) | off_l2 + 512 * j)
78 img_file_size = h.refcount_table_clusters * 64 * 256 * 512
82 while remaining > 1024 * 512:
83 pytable = list((1 << 63) | off + 512 * j
87 remaining = remaining - 1024 * 512
88 off = off + 1024 * 512
90 table = b''.join(struct.pack('>Q', (1 << 63) | off + 512 * j)
91 for j in range(0, remaining // 512))
104 qemu_img('create', '-f', iotests.imgfmt, '-o', 'cluster_size=512', test_img, '16G')