Searched refs:l1_index (Results 1 - 4 of 4) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
H A Dqcow2.c159 unsigned int l1_index, l2_index; local
199 for (l1_index = 0; l1_index < img.l1_size; l1_index++) {
202 offset = ext2fs_be64_to_cpu(l1_table[l1_index]) &
226 off_out = (l1_index * img.l2_size) +
H A Dqcow2.h63 __u32 l1_index; member in struct:ext2_qcow2_l2_table
/external/qemu/block/
H A Dqcow2-cluster.c197 static int write_l1_entry(BlockDriverState *bs, int l1_index) argument
204 l1_start_index = l1_index & ~(L1_ENTRIES_PER_SECTOR - 1);
222 * Allocate a new l2 entry in the file. If l1_index points to an already
229 static int l2_allocate(BlockDriverState *bs, int l1_index, uint64_t **table) argument
238 old_l2_offset = s->l1_table[l1_index];
273 s->l1_table[l1_index] = l2_offset | QCOW_OFLAG_COPIED;
274 ret = write_l1_entry(bs, l1_index);
288 s->l1_table[l1_index] = old_l2_offset;
444 unsigned int l1_index, l2_index; local
474 l1_index
536 unsigned int l1_index, l2_index; local
[all...]
/external/e2fsprogs/misc/
H A De2image.c1042 blk64_t l1_index = blk / img->l2_size; local
1050 if (!table || (table->l1_index != l1_index)) {
1052 table->l1_index = l1_index;
1055 img->l1_table[l1_index] =

Completed in 96 milliseconds