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

  /external/qemu/block/
qcow2-cluster.c 444 unsigned int l1_index, l2_index; local
495 l2_index = (offset >> s->cluster_bits) & (s->l2_size - 1);
496 *cluster_offset = be64_to_cpu(l2_table[l2_index]);
501 c = count_contiguous_free_clusters(nb_clusters, &l2_table[l2_index]);
505 &l2_table[l2_index], 0, QCOW_OFLAG_COPIED);
536 unsigned int l1_index, l2_index; local
573 l2_index = (offset >> s->cluster_bits) & (s->l2_size - 1);
577 *new_l2_index = l2_index;
600 int l2_index, ret; local
605 ret = get_cluster_table(bs, offset, &l2_table, &l2_offset, &l2_index);
670 int i, j = 0, l2_index, ret; local
754 int l2_index, ret; local
    [all...]
vmdk.c 84 unsigned int l2_index; member in struct:VmdkMetaData
474 if (bdrv_pwrite_sync(bs->file, ((int64_t)m_data->l2_offset * 512) + (m_data->l2_index * sizeof(m_data->offset)),
480 if (bdrv_pwrite_sync(bs->file, ((int64_t)m_data->l2_offset * 512) + (m_data->l2_index * sizeof(m_data->offset)),
492 unsigned int l1_index, l2_offset, l2_index; local
535 l2_index = ((offset >> 9) / s->cluster_sectors) % s->l2_size;
536 cluster_offset = le32_to_cpu(l2_table[l2_index]);
548 l2_table[l2_index] = tmp;
561 m_data->l2_index = l2_index;
qcow.c 258 int min_index, i, j, l1_index, l2_index; local
317 l2_index = (offset >> s->cluster_bits) & (s->l2_size - 1);
318 cluster_offset = be64_to_cpu(l2_table[l2_index]);
371 l2_table[l2_index] = tmp;
372 if (bdrv_pwrite_sync(bs->file, l2_offset + l2_index * sizeof(tmp),

Completed in 1632 milliseconds