Home
last modified time | relevance | path

Searched refs:l1_index (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/intel/common/
Dgen_aux_map.c384 uint32_t l1_index = (address >> 16) & 0xff; in get_aux_entry() local
386 *l1_index_out = l1_index; in get_aux_entry()
388 *l1_entry_addr_out = l1_addr + l1_index * sizeof(*l1_map); in get_aux_entry()
390 *l1_entry_map_out = &l1_map[l1_index]; in get_aux_entry()
402 uint32_t l1_index; in add_mapping() local
404 get_aux_entry(ctx, address, &l1_index, NULL, &l1_entry); in add_mapping()
416 l1_index, current_l1_data, l1_data); in add_mapping()
430 l1_index); in add_mapping()
499 uint32_t l1_index = (address >> 16) & 0xff; in remove_mapping() local
500 uint64_t *l1_entry = &l1_map[l1_index]; in remove_mapping()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dqcow2.c164 unsigned int l1_index, l2_index; in qcow2_write_raw_image() local
214 for (l1_index = 0; l1_index < img.l1_size; l1_index++) { in qcow2_write_raw_image()
217 offset = ext2fs_be64_to_cpu(l1_table[l1_index]) & in qcow2_write_raw_image()
241 off_out = (l1_index * img.l2_size) + in qcow2_write_raw_image()
Dqcow2.h64 __u32 l1_index; member
/external/crosvm/disk/src/qcow/
Dmod.rs637 pub fn l2_table(&mut self, l1_index: usize) -> Result<Option<&[u64]>> { in l2_table()
638 let l2_addr_disk = *self.l1_table.get(l1_index).ok_or(Error::InvalidIndex)?; in l2_table()
645 if !self.l2_cache.contains_key(&l1_index) { in l2_table()
654 .insert(l1_index, table, |index, evicted| { in l2_table()
665 Ok(Some(self.l2_cache.get(&l1_index).unwrap().get_values())) in l2_table()
771 for l1_index in 0..header.l1_size as usize { in rebuild_refcounts()
772 let l2_addr_disk = *l1_table.get(l1_index).ok_or(Error::InvalidIndex)?; in rebuild_refcounts()
989 let l1_index = self.l1_table_index(address); in l1_address_offset() localVariable
990 l1_index * size_of::<u64>() as u64 in l1_address_offset()
1010 let l1_index = self.l1_table_index(address) as usize; in file_offset_read() localVariable
[all …]
/external/arm-trusted-firmware/plat/brcm/board/stingray/src/
Diommu.c336 int i, l0_index, l1_index; in smmu_set_pgtbl() local
372 l1_index = ((addr >> ARM_LPAE_PTE_L1_INDEX_SHIFT) & in smmu_set_pgtbl()
374 pte = l1_base + l1_index; in smmu_set_pgtbl()
/external/e2fsprogs/misc/
De2image.c1069 blk64_t l1_index = blk / img->l2_size; in add_l2_item() local
1077 if (!table || (table->l1_index != l1_index)) { in add_l2_item()
1079 table->l1_index = l1_index; in add_l2_item()
1082 img->l1_table[l1_index] = in add_l2_item()