Home
last modified time | relevance | path

Searched refs:pte_addr (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/kvm/lib/aarch64/
A Dprocessor.c60 static uint64_t pte_addr(struct kvm_vm *vm, uint64_t entry) in pte_addr() function
114 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, vaddr) * 8; in _virt_pg_map()
119 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, vaddr) * 8; in _virt_pg_map()
124 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pte_index(vm, vaddr) * 8; in _virt_pg_map()
154 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, gva) * 8; in addr_gva2gpa()
159 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, gva) * 8; in addr_gva2gpa()
164 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pte_index(vm, gva) * 8; in addr_gva2gpa()
172 return pte_addr(vm, *ptep) + (gva & (vm->page_size - 1)); in addr_gva2gpa()
193 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump()
211 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_dump()
/linux/drivers/iommu/
A Drockchip-iommu.c571 u32 *pte_addr = NULL; in log_iova() local
591 pte_addr = phys_to_virt(pte_addr_phys); in log_iova()
592 pte = *pte_addr; in log_iova()
782 u32 *pte_addr, dma_addr_t pte_dma, in rk_iommu_unmap_iova() argument
791 u32 pte = pte_addr[pte_count]; in rk_iommu_unmap_iova()
795 pte_addr[pte_count] = rk_mk_pte_invalid(pte); in rk_iommu_unmap_iova()
814 u32 pte = pte_addr[pte_count]; in rk_iommu_map_iova()
837 rk_iommu_unmap_iova(rk_domain, pte_addr, pte_dma, in rk_iommu_map_iova()
854 u32 *page_table, *pte_addr; in rk_iommu_map() local
875 pte_addr = &page_table[pte_index]; in rk_iommu_map()
[all …]
A Dsun50i-iommu.c526 u32 *page_table, *pte_addr; in sun50i_iommu_map() local
536 pte_addr = &page_table[pte_index]; in sun50i_iommu_map()
537 if (unlikely(sun50i_pte_is_page_valid(*pte_addr))) { in sun50i_iommu_map()
538 phys_addr_t page_phys = sun50i_pte_get_page_address(*pte_addr); in sun50i_iommu_map()
546 *pte_addr = sun50i_mk_pte(paddr, prot); in sun50i_iommu_map()
547 sun50i_table_flush(sun50i_domain, pte_addr, 1); in sun50i_iommu_map()
558 u32 *pte_addr; in sun50i_iommu_unmap() local
566 pte_addr = (u32 *)phys_to_virt(pt_phys) + sun50i_iova_get_pte_index(iova); in sun50i_iommu_unmap()
568 if (!sun50i_pte_is_page_valid(*pte_addr)) in sun50i_iommu_unmap()
571 memset(pte_addr, 0, sizeof(*pte_addr)); in sun50i_iommu_unmap()
[all …]
/linux/arch/s390/mm/
A Dpageattr.c114 unsigned long pte_addr, prot; in split_pmd_page() local
122 pte_addr = pmd_pfn(*pmdp) << PAGE_SHIFT; in split_pmd_page()
130 pte_val(*ptep) = pte_addr | prot; in split_pmd_page()
131 pte_addr += PAGE_SIZE; in split_pmd_page()
/linux/drivers/misc/habanalabs/common/mmu/
A Dmmu_v1.c135 static inline void clear_pte(struct hl_ctx *ctx, u64 pte_addr) in clear_pte() argument
138 write_final_pte(ctx, pte_addr, 0); in clear_pte()

Completed in 17 milliseconds