HomeSort by relevance Sort by last modified time
    Searched refs:l1_index (Results 1 - 3 of 3) sorted by null

  /external/qemu/block/
qcow2-cluster.c 197 static int write_l1_entry(BlockDriverState *bs, int l1_index)
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)
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 = offset >> l1_bits
536 unsigned int l1_index, l2_index; local
    [all...]
vmdk.c 83 unsigned int l1_index; member in struct:VmdkMetaData
479 m_data->l2_offset = s->l1_backup_table[m_data->l1_index];
492 unsigned int l1_index, l2_offset, l2_index; local
500 l1_index = (offset >> 9) / s->l1_entry_sectors;
501 if (l1_index >= s->l1_size)
503 l2_offset = s->l1_table[l1_index];
560 m_data->l1_index = l1_index;
qcow.c 258 int min_index, i, j, l1_index, l2_index; local
263 l1_index = offset >> (s->l2_bits + s->cluster_bits);
264 l2_offset = s->l1_table[l1_index];
274 s->l1_table[l1_index] = l2_offset;
277 s->l1_table_offset + l1_index * sizeof(tmp),

Completed in 57 milliseconds