Searched refs:l1_index (Results 1 – 10 of 10) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cluster.c | 227 int qcow2_write_l1_entry(BlockDriverState *bs, int l1_index) in qcow2_write_l1_entry() argument 241 l1_start_index = QEMU_ALIGN_DOWN(l1_index, nentries); in qcow2_write_l1_entry() 273 static int GRAPH_RDLOCK l2_allocate(BlockDriverState *bs, int l1_index) in l2_allocate() argument 282 old_l2_offset = s->l1_table[l1_index]; in l2_allocate() 284 trace_qcow2_l2_allocate(bs, l1_index); in l2_allocate() 315 trace_qcow2_l2_allocate_get_empty(bs, l1_index); in l2_allocate() 348 trace_qcow2_l2_allocate_write_l2(bs, l1_index); in l2_allocate() 359 trace_qcow2_l2_allocate_write_l1(bs, l1_index); in l2_allocate() 360 s->l1_table[l1_index] = l2_offset | QCOW_OFLAG_COPIED; in l2_allocate() 361 ret = qcow2_write_l1_entry(bs, l1_index); in l2_allocate() [all …]
|
H A D | trace-events | 94 qcow2_l2_allocate(void *bs, int l1_index) "bs %p l1_index %d" 95 qcow2_l2_allocate_get_empty(void *bs, int l1_index) "bs %p l1_index %d" 96 qcow2_l2_allocate_write_l2(void *bs, int l1_index) "bs %p l1_index %d" 97 qcow2_l2_allocate_write_l1(void *bs, int l1_index) "bs %p l1_index %d" 98 qcow2_l2_allocate_done(void *bs, int l1_index, int ret) "bs %p l1_index %d ret %d"
|
H A D | qcow.c | 364 int min_index, i, j, l1_index, l2_index, ret; in get_cluster_offset() local 371 l1_index = offset >> (s->l2_bits + s->cluster_bits); in get_cluster_offset() 372 l2_offset = s->l1_table[l1_index]; in get_cluster_offset() 385 s->l1_table[l1_index] = l2_offset; in get_cluster_offset() 389 s->l1_table_offset + l1_index * sizeof(tmp), in get_cluster_offset()
|
H A D | vmdk.c | 185 unsigned int l1_index; member 1544 m_data->l2_offset = extent->l1_backup_table[m_data->l1_index]; in vmdk_L2update() 1588 unsigned int l1_index, l2_offset, l2_index; in get_cluster_offset() local 1606 l1_index = (offset >> 9) / extent->l1_entry_sectors; in get_cluster_offset() 1607 if (l1_index >= extent->l1_size) { in get_cluster_offset() 1615 l2_offset_u64 = ((uint64_t *)extent->l1_table)[l1_index]; in get_cluster_offset() 1638 l2_offset = ((uint32_t *)extent->l1_table)[l1_index]; in get_cluster_offset() 1679 m_data->l1_index = l1_index; in get_cluster_offset()
|
H A D | qcow2.h | 926 int GRAPH_RDLOCK qcow2_write_l1_entry(BlockDriverState *bs, int l1_index);
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | qed.py | 169 l1_index = pos // qed.header['cluster_size'] // len(qed.l1_table) 170 if qed.l1_table[l1_index] == 0: 173 l2_offset = qed.l1_table[l1_index]
|
H A D | 138.out | 21 Repairing OFLAG_COPIED L2 cluster: l1_index=0 l1_entry=L1_ENTRY_VALUE refcount=1
|
H A D | 217.out | 33 Repairing OFLAG_COPIED L2 cluster: l1_index=0 l1_entry=40000 refcount=1
|
/openbmc/qemu/docs/interop/ |
H A D | qed_spec.txt | 121 def logical_to_cluster_offset(l1_index, l2_index, byte_offset): 122 l2_offset = l1_table[l1_index]
|
H A D | qcow2.txt | 517 l1_index = (offset / cluster_size) / l2_entries 519 l2_table = load_cluster(l1_table[l1_index]);
|