Searched refs:l1_size (Results 1 – 3 of 3) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | qcow2.c | 92 size_t size, l1_size = img->l1_size * sizeof(blk64_t); in qcow2_read_l1_table() local 96 ret = ext2fs_get_memzero(l1_size, &table); in qcow2_read_l1_table() 105 size = read(fd, table, l1_size); in qcow2_read_l1_table() 106 if (size != l1_size) { in qcow2_read_l1_table() 179 img.l1_size = ext2fs_be32_to_cpu(hdr->l1_size); in qcow2_write_raw_image() 204 for (l1_index = 0; l1_index < img.l1_size; l1_index++) { in qcow2_write_raw_image()
|
D | qcow2.h | 50 __u32 l1_size; member 97 __u32 l1_size; member
|
/external/e2fsprogs/misc/ |
D | e2image.c | 755 ret = ext2fs_get_arrayzero(image->l1_size, sizeof(__u64), &l1_table); in init_l1_table() 777 count = (image->l1_size > L2_CACHE_PREALLOC) ? L2_CACHE_PREALLOC : in init_l2_cache() 778 image->l1_size; in init_l2_cache() 881 int shift, l2_bits, header_size, l1_size, ret; in initialize_qcow2_image() local 909 l1_size = ((total_size + (1LL << shift) - 1) >> shift); in initialize_qcow2_image() 910 header->l1_size = ext2fs_cpu_to_be32(l1_size); in initialize_qcow2_image() 911 image->l1_size = l1_size; in initialize_qcow2_image() 914 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size); in initialize_qcow2_image() 1251 size = img->l1_size * sizeof(__u64); in output_qcow2_meta_data_blocks()
|