Searched refs:l2_size (Results 1 - 7 of 7) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
H A Dqcow2.h98 __u32 l2_size; member in struct:ext2_qcow2_image
H A Dqcow2.c176 img.l2_size = 1 << (img.cluster_bits - 3);
219 for (l2_index = 0; l2_index < img.l2_size; l2_index++) {
226 off_out = (l1_index * img.l2_size) +
/external/qemu/block/
H A Dqcow2-refcount.c751 int l2_size, i, j, l1_modified, l2_modified, nb_csectors, refcount; local
777 l2_size = s->l2_size * sizeof(uint64_t);
778 l2_table = g_malloc(l2_size);
786 if (bdrv_pread(bs->file, l2_offset, l2_table, l2_size) != l2_size)
788 for(j = 0; j < s->l2_size; j++) {
830 l2_offset, l2_table, l2_size) < 0)
940 int i, l2_size, nb_csectors, refcount; local
943 l2_size
[all...]
H A Dqcow2-cluster.c97 memset(s->l2_cache, 0, s->l2_size * L2_CACHE_SIZE * sizeof(uint64_t));
181 s->l2_size * sizeof(uint64_t));
242 l2_offset = qcow2_alloc_clusters(bs, s->l2_size * sizeof(uint64_t));
254 memset(l2_table, 0, s->l2_size * sizeof(uint64_t));
259 s->l2_size * sizeof(uint64_t));
267 s->l2_size * sizeof(uint64_t));
495 l2_index = (offset >> s->cluster_bits) & (s->l2_size - 1);
563 qcow2_free_clusters(bs, l2_offset, s->l2_size * sizeof(uint64_t));
573 l2_index = (offset >> s->cluster_bits) & (s->l2_size - 1);
767 nb_clusters = MIN(nb_clusters, s->l2_size
[all...]
H A Dqcow2.h87 int l2_size; member in struct:BDRVQcowState
H A Dqcow2.c176 s->l2_size = 1 << s->l2_bits;
207 s->l2_cache = g_malloc(s->l2_size * L2_CACHE_SIZE * sizeof(uint64_t));
/external/e2fsprogs/misc/
H A De2image.c777 ret = ext2fs_get_arrayzero(image->l2_size,
878 image->l2_size = 1 << (cluster_bits - 3);
1042 blk64_t l1_index = blk / img->l2_size;
1043 blk64_t l2_index = blk & (img->l2_size - 1);

Completed in 3045 milliseconds