Home
last modified time | relevance | path

Searched refs:l1_size (Results 1 – 7 of 7) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dqcow2.c92 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()
182 img.l1_size = ext2fs_be32_to_cpu(hdr->l1_size); in qcow2_write_raw_image()
192 if (img.l1_size > max_l1_size) in qcow2_write_raw_image()
214 for (l1_index = 0; l1_index < img.l1_size; l1_index++) { in qcow2_write_raw_image()
Dqcow2.h51 __u32 l1_size; member
98 __u32 l1_size; member
/external/cpuinfo/src/arm/
Dcache.c566 uint32_t l1_size = 16 * 1024; in cpuinfo_arm_decode_cache() local
570 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
593 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
597 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
605 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
609 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
622 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
628 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
646 l1_size = 32 * 1024; in cpuinfo_arm_decode_cache()
653 .size = l1_size, in cpuinfo_arm_decode_cache()
[all …]
/external/e2fsprogs/misc/
De2image.c765 ret = ext2fs_get_arrayzero(image->l1_size, sizeof(__u64), &l1_table); in init_l1_table()
787 count = (image->l1_size > L2_CACHE_PREALLOC) ? L2_CACHE_PREALLOC : in init_l2_cache()
788 image->l1_size; in init_l2_cache()
891 int shift, l2_bits, header_size, l1_size, ret; in initialize_qcow2_image() local
922 l1_size = ((total_size + (1LL << shift) - 1) >> shift); in initialize_qcow2_image()
923 header->l1_size = ext2fs_cpu_to_be32(l1_size); in initialize_qcow2_image()
924 image->l1_size = l1_size; in initialize_qcow2_image()
927 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size); in initialize_qcow2_image()
1264 size = img->l1_size * sizeof(__u64); in output_qcow2_meta_data_blocks()
/external/crosvm/disk/src/qcow/
Dmod.rs174 pub l1_size: u32, field
239 l1_size: read_u32_from_file(f)?, in new()
297 l1_size: num_l2_clusters, in create_for_size_and_path()
348 write_u32_to_file(file, self.l1_size)?; in write_to()
431 if u64::from(header.l1_size) > MAX_RAM_POINTER_TABLE_SIZE { in from()
432 return Err(Error::InvalidL1TableSize(header.l1_size)); in from()
749 let l1_clusters = div_round_up_u64(header.l1_size as u64, cluster_size); in rebuild_refcounts()
767 header.l1_size as u64, in rebuild_refcounts()
771 for l1_index in 0..header.l1_size as usize { in rebuild_refcounts()
/external/crosvm/qcow_utils/src/
Dqcow_img.rs132 println!("l1_size {:x}", header.l1_size); in show_header()
/external/cpuinfo/
DREADME.md87 const size_t l1_size = cpuinfo_get_processor(0)->cache.l1d->size;