/linux/arch/powerpc/kvm/ |
A D | book3s_hv_rm_mmu.c | 90 tail->forw = pte_index; in kvmppc_add_revmap_chain() 91 head->back = pte_index; in kvmppc_add_revmap_chain() 176 if (head == pte_index) { in remove_revmap_chain() 178 if (head == pte_index) in remove_revmap_chain() 312 pte_index &= ~7UL; in kvmppc_do_h_enter() 342 pte_index += i; in kvmppc_do_h_enter() 402 *pte_idx_ret = pte_index; in kvmppc_do_h_enter() 581 pte_index = args[j]; in kvmppc_h_bulk_remove() 582 flags = pte_index >> 56; in kvmppc_h_bulk_remove() 765 pte_index &= ~3; in kvmppc_h_read() [all …]
|
A D | book3s_pr_papr.c | 28 pte_index <<= 4; in get_pteg_addr() 31 pteg_addr |= pte_index; in get_pteg_addr() 39 long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_enter() local 45 i = pte_index & 7; in kvmppc_h_pr_enter() 46 pte_index &= ~7UL; in kvmppc_h_pr_enter() 47 pteg_addr = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_enter() 76 kvmppc_set_gpr(vcpu, 4, pte_index | i); in kvmppc_h_pr_enter() 95 pteg = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_remove() 113 rb = compute_tlbie_rb(pte[0], pte[1], pte_index); in kvmppc_h_pr_remove() 223 pteg = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_protect() [all …]
|
A D | book3s_64_mmu_hv.c | 47 long pte_index, unsigned long pteh, 284 long pte_index, unsigned long pteh, in kvmppc_virtmode_do_h_enter() argument 290 ret = kvmppc_do_h_enter(kvm, flags, pte_index, pteh, ptel, in kvmppc_virtmode_do_h_enter()
|
/linux/arch/powerpc/include/asm/ |
A D | kvm_book3s.h | 239 unsigned long *rmap, long pte_index, int realmode); 243 unsigned long pte_index); 245 unsigned long pte_index); 251 long pte_index, unsigned long pteh, unsigned long ptel, 254 unsigned long pte_index, unsigned long avpn,
|
A D | kvm_ppc.h | 764 long pte_index, unsigned long pteh, unsigned long ptel); 766 unsigned long pte_index, unsigned long avpn); 769 unsigned long pte_index, unsigned long avpn); 771 unsigned long pte_index); 773 unsigned long pte_index); 775 unsigned long pte_index);
|
A D | kvm_book3s_64.h | 311 unsigned long pte_index) in compute_tlbie_rb() argument 338 va_low = pte_index >> 3; in compute_tlbie_rb()
|
A D | kvm_host.h | 468 unsigned long pte_index; member
|
/linux/drivers/iommu/ |
A D | rockchip-iommu.c | 565 u32 dte_index, pte_index, page_offset; in log_iova() local 577 pte_index = rk_iova_pte_index(iova); in log_iova() 590 pte_addr_phys = rk_ops->pt_address(dte) + (pte_index * 4); in log_iova() 602 &iova, dte_index, pte_index, page_offset); in log_iova() 855 u32 dte_index, pte_index; in rk_iommu_map() local 874 pte_index = rk_iova_pte_index(iova); in rk_iommu_map() 875 pte_addr = &page_table[pte_index]; in rk_iommu_map() 877 pte_dma = rk_ops->pt_address(dte_index) + pte_index * sizeof(u32); in rk_iommu_map()
|
A D | sun50i-iommu.c | 525 u32 pte_index; in sun50i_iommu_map() local 535 pte_index = sun50i_iova_get_pte_index(iova); in sun50i_iommu_map() 536 pte_addr = &page_table[pte_index]; in sun50i_iommu_map()
|
/linux/arch/mips/kvm/ |
A D | mmu.c | 158 int i_min = pte_index(start_gpa); in kvm_mips_flush_gpa_pte() 159 int i_max = pte_index(end_gpa); in kvm_mips_flush_gpa_pte() 283 int i_min = pte_index(start); \ 284 int i_max = pte_index(end); \
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
A D | processor.c | 54 static uint64_t pte_index(struct kvm_vm *vm, vm_vaddr_t gva) in pte_index() function 124 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pte_index(vm, vaddr) * 8; in _virt_pg_map() 164 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pte_index(vm, gva) * 8; in addr_gva2gpa()
|
/linux/arch/x86/power/ |
A D | hibernate_32.c | 164 set_pte(pte + pte_index(restore_jump_address), in set_up_temporary_text_mapping()
|
/linux/arch/x86/mm/ |
A D | init_32.c | 120 int pte_idx = pte_index(vaddr); in populate_extra_pte() 347 pte_ofs = pte_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
|
A D | init_64.c | 457 pte = pte_page + pte_index(paddr); in phys_pte_init() 458 i = pte_index(paddr); in phys_pte_init() 1066 pte = pte_start + pte_index(addr); in remove_pte_table()
|
A D | ioremap.c | 805 return &bm_pte[pte_index(addr)]; in early_ioremap_pte()
|
/linux/include/linux/ |
A D | pgtable.h | 61 static inline unsigned long pte_index(unsigned long address) in pte_index() function 90 return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); in pte_offset_kernel() 98 pte_index((address)))
|
/linux/arch/x86/boot/compressed/ |
A D | ident_map_64.c | 208 return pte + pte_index(__address); in split_large_pmd()
|
/linux/arch/nds32/mm/ |
A D | init.c | 255 pte = (pte_t *)&fixmap_pmd_p[pte_index(addr)]; in __set_fixmap()
|
/linux/arch/riscv/mm/ |
A D | kasan_init.c | 64 ptep = base_pte + pte_index(vaddr); in kasan_populate_pte()
|
A D | init.c | 263 ptep = &fixmap_pte[pte_index(addr)]; in __set_fixmap() 316 uintptr_t pte_idx = pte_index(va); in create_pte_mapping()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | radix_pgtable.c | 748 pte = pte_start + pte_index(addr); in remove_pte_table()
|
/linux/arch/arm64/include/asm/ |
A D | pgtable.h | 603 #define pte_offset_phys(dir,addr) (pmd_page_paddr(READ_ONCE(*(dir))) + pte_index(addr) * sizeof(pte…
|
/linux/arch/arm64/mm/ |
A D | mmu.c | 1206 return &bm_pte[pte_index(addr)]; in fixmap_pte()
|
/linux/arch/arm/mm/ |
A D | mmu.c | 349 return &bm_pte[pte_index(addr)]; in pte_offset_early_fixmap()
|
/linux/mm/ |
A D | memory.c | 1774 #ifdef pte_index 1809 remaining_pages_total, PTRS_PER_PTE - pte_index(addr)); in insert_pages() 1864 #ifdef pte_index in vm_insert_pages()
|