Home
last modified time | relevance | path

Searched refs:pte_index (Results 1 – 25 of 26) sorted by relevance

12

/linux/arch/powerpc/kvm/
A Dbook3s_hv_rm_mmu.c90 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 Dbook3s_pr_papr.c28 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 Dbook3s_64_mmu_hv.c47 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 Dkvm_book3s.h239 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 Dkvm_ppc.h764 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 Dkvm_book3s_64.h311 unsigned long pte_index) in compute_tlbie_rb() argument
338 va_low = pte_index >> 3; in compute_tlbie_rb()
A Dkvm_host.h468 unsigned long pte_index; member
/linux/drivers/iommu/
A Drockchip-iommu.c565 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 Dsun50i-iommu.c525 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 Dmmu.c158 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 Dprocessor.c54 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 Dhibernate_32.c164 set_pte(pte + pte_index(restore_jump_address), in set_up_temporary_text_mapping()
/linux/arch/x86/mm/
A Dinit_32.c120 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 Dinit_64.c457 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 Dioremap.c805 return &bm_pte[pte_index(addr)]; in early_ioremap_pte()
/linux/include/linux/
A Dpgtable.h61 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 Dident_map_64.c208 return pte + pte_index(__address); in split_large_pmd()
/linux/arch/nds32/mm/
A Dinit.c255 pte = (pte_t *)&fixmap_pmd_p[pte_index(addr)]; in __set_fixmap()
/linux/arch/riscv/mm/
A Dkasan_init.c64 ptep = base_pte + pte_index(vaddr); in kasan_populate_pte()
A Dinit.c263 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 Dradix_pgtable.c748 pte = pte_start + pte_index(addr); in remove_pte_table()
/linux/arch/arm64/include/asm/
A Dpgtable.h603 #define pte_offset_phys(dir,addr) (pmd_page_paddr(READ_ONCE(*(dir))) + pte_index(addr) * sizeof(pte…
/linux/arch/arm64/mm/
A Dmmu.c1206 return &bm_pte[pte_index(addr)]; in fixmap_pte()
/linux/arch/arm/mm/
A Dmmu.c349 return &bm_pte[pte_index(addr)]; in pte_offset_early_fixmap()
/linux/mm/
A Dmemory.c1774 #ifdef pte_index
1809 remaining_pages_total, PTRS_PER_PTE - pte_index(addr)); in insert_pages()
1864 #ifdef pte_index in vm_insert_pages()

Completed in 67 milliseconds

12