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

/external/qemu/block/
H A Dqcow2-cluster.c123 * seek l2_offset in the l2_cache table
132 static uint64_t *seek_l2_table(BDRVQcowState *s, uint64_t l2_offset) argument
137 if (l2_offset == s->l2_cache_offsets[i]) {
160 static int l2_load(BlockDriverState *bs, uint64_t l2_offset, argument
169 *l2_table = seek_l2_table(s, l2_offset);
180 ret = bdrv_pread(bs->file, l2_offset, *l2_table,
186 s->l2_cache_offsets[min_index] = l2_offset;
235 int64_t l2_offset; local
242 l2_offset = qcow2_alloc_clusters(bs, s->l2_size * sizeof(uint64_t));
243 if (l2_offset <
445 uint64_t l2_offset, *l2_table; local
537 uint64_t l2_offset; local
601 uint64_t l2_offset, *l2_table; local
648 write_l2_entries(BlockDriverState *bs, uint64_t *l2_table, uint64_t l2_offset, int l2_index, int num) argument
671 uint64_t *old_cluster, start_sect, l2_offset, *l2_table; local
755 uint64_t l2_offset, *l2_table; local
[all...]
H A Dqcow2-refcount.c749 uint64_t *l1_table, *l2_table, l2_offset, offset, l1_size2, l1_allocated; local
781 l2_offset = l1_table[i];
782 if (l2_offset) {
783 old_l2_offset = l2_offset;
784 l2_offset &= ~QCOW_OFLAG_COPIED;
786 if (bdrv_pread(bs->file, l2_offset, l2_table, l2_size) != l2_size)
830 l2_offset, l2_table, l2_size) < 0)
835 refcount = update_cluster_refcount(bs, l2_offset >> s->cluster_bits, addend);
837 refcount = get_refcount(bs, l2_offset >> s->cluster_bits);
842 l2_offset |
934 check_refcounts_l2(BlockDriverState *bs, BdrvCheckResult *res, uint16_t *refcount_table, int refcount_table_size, int64_t l2_offset, int check_copied) argument
1027 uint64_t *l1_table, l2_offset, l1_size2; local
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dqcow2.h101 __u64 l2_offset; member in struct:ext2_qcow2_image
/external/e2fsprogs/misc/
H A De2image.c769 cache->next_offset = image->l2_offset;
916 image->l2_offset = offset;

Completed in 1136 milliseconds