Home
last modified time | relevance | path

Searched refs:pgtable (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_iommu.c93 u32 pgtable; in etnaviv_iommuv1_restore() local
107 pgtable = (u32)v1_context->pgtable_dma; in etnaviv_iommuv1_restore()
109 gpu_write(gpu, VIVS_MC_MMU_FE_PAGE_TABLE, pgtable); in etnaviv_iommuv1_restore()
110 gpu_write(gpu, VIVS_MC_MMU_TX_PAGE_TABLE, pgtable); in etnaviv_iommuv1_restore()
111 gpu_write(gpu, VIVS_MC_MMU_PE_PAGE_TABLE, pgtable); in etnaviv_iommuv1_restore()
112 gpu_write(gpu, VIVS_MC_MMU_PEZ_PAGE_TABLE, pgtable); in etnaviv_iommuv1_restore()
113 gpu_write(gpu, VIVS_MC_MMU_RA_PAGE_TABLE, pgtable); in etnaviv_iommuv1_restore()
/linux/drivers/iommu/
H A Dexynos-iommu.c181 static sysmmu_pte_t *section_entry(sysmmu_pte_t *pgtable, sysmmu_iova_t iova) in section_entry() argument
183 return pgtable + lv1ent_offset(iova); in section_entry()
251 sysmmu_pte_t *pgtable; /* lv1 page table, 16KB */ member
301 phys_addr_t pgtable; /* assigned page table structure */ member
558 dev_dbg(data->sysmmu, "Page table base: %pa\n", &data->pgtable); in show_fault_information()
559 ent = section_entry(phys_to_virt(data->pgtable), fault->addr); in show_fault_information()
657 __sysmmu_set_ptbase(data, data->pgtable); in __sysmmu_enable()
906 domain->pgtable = iommu_alloc_pages_sz(GFP_KERNEL, SZ_16K); in exynos_iommu_domain_alloc_paging()
907 if (!domain->pgtable) in exynos_iommu_domain_alloc_paging()
916 domain->pgtable[i] = ZERO_LV2LINK; in exynos_iommu_domain_alloc_paging()
[all …]
H A Domap-iommu.h34 u32 *pgtable; member
H A Domap-iommu.c1404 iommu->pgtable = kzalloc(IOPGD_TABLE_SIZE, GFP_ATOMIC); in omap_iommu_attach_init()
1405 if (!iommu->pgtable) in omap_iommu_attach_init()
1412 if (WARN_ON(!IS_ALIGNED((long)iommu->pgtable, in omap_iommu_attach_init()
1426 kfree(iommu->pgtable); in omap_iommu_detach_fini()
1468 ret = omap_iommu_attach(oiommu, iommu->pgtable); in omap_iommu_attach_dev()
/linux/arch/m68k/include/asm/
H A Dmotorola_pgalloc.h42 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_free() argument
44 free_pointer_table(pgtable, TABLE_PTE); in pte_free()
47 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pgtable, in __pte_free_tlb() argument
50 free_pointer_table(pgtable, TABLE_PTE); in __pte_free_tlb()
H A Dmcf_pgalloc.h39 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pgtable, in __pte_free_tlb() argument
42 struct ptdesc *ptdesc = virt_to_ptdesc(pgtable); in __pte_free_tlb()
64 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_free() argument
66 struct ptdesc *ptdesc = virt_to_ptdesc(pgtable); in pte_free()
/linux/arch/mips/mm/
H A DMakefile14 obj-y += pgtable.o
29 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o
30 obj-$(CONFIG_64BIT) += ioremap64.o pgtable-64.o
/linux/mm/
H A Dhuge_memory.c1405 pgtable_t pgtable; in __do_huge_pmd_anonymous_page() local
1412 pgtable = pte_alloc_one(vma->vm_mm); in __do_huge_pmd_anonymous_page()
1413 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page()
1430 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page()
1435 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in __do_huge_pmd_anonymous_page()
1445 if (pgtable) in __do_huge_pmd_anonymous_page()
1446 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page()
1526 static void set_huge_zero_folio(pgtable_t pgtable, struct mm_struct *mm, in set_huge_zero_folio() argument
1533 pgtable_trans_huge_deposit(mm, pmd, pgtable); in set_huge_zero_folio()
1554 pgtable_t pgtable; in do_huge_pmd_anonymous_page() local
[all …]
H A Dmigrate_device.c799 pgtable_t pgtable; in migrate_vma_insert_huge_pmd_page() local
826 pgtable = pte_alloc_one(vma->vm_mm); in migrate_vma_insert_huge_pmd_page()
827 if (unlikely(!pgtable)) in migrate_vma_insert_huge_pmd_page()
876 pte_free(vma->vm_mm, pgtable); in migrate_vma_insert_huge_pmd_page()
880 pgtable_trans_huge_deposit(vma->vm_mm, pmdp, pgtable); in migrate_vma_insert_huge_pmd_page()
/linux/Documentation/features/debug/debug-vm-pgtable/
H A Darch-support.txt2 # Feature name: debug-vm-pgtable
4 # description: arch supports pgtable tests for semantics compliance
/linux/arch/x86/boot/compressed/
H A Dvmlinux.lds.S74 .pgtable : {
76 *(.pgtable) argument
/linux/arch/arm64/kvm/hyp/
H A Dpgtable.c148 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level);
217 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level) in __kvm_pgtable_walk() argument
227 kvm_pteref_t pteref = &pgtable[idx]; in __kvm_pgtable_walk()
1442 kvm_pte_t *pgtable; in kvm_pgtable_stage2_create_unlinked() local
1452 pgtable = mm_ops->zalloc_page(mc); in kvm_pgtable_stage2_create_unlinked()
1453 if (!pgtable) in kvm_pgtable_stage2_create_unlinked()
1456 ret = __kvm_pgtable_walk(&data, mm_ops, (kvm_pteref_t)pgtable, in kvm_pgtable_stage2_create_unlinked()
1459 kvm_pgtable_stage2_free_unlinked(mm_ops, pgtable, level); in kvm_pgtable_stage2_create_unlinked()
1463 return pgtable; in kvm_pgtable_stage2_create_unlinked()
1681 void kvm_pgtable_stage2_free_unlinked(struct kvm_pgtable_mm_ops *mm_ops, void *pgtable, s8 level) in kvm_pgtable_stage2_free_unlinked() argument
[all …]
H A DMakefile10 obj-$(CONFIG_KVM) += vhe/ nvhe/ pgtable.o
/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c566 if (kvm->arch.pgtable) { in kvmppc_free_radix()
567 kvmppc_free_pgtable_radix(kvm, kvm->arch.pgtable, in kvmppc_free_radix()
569 pgd_free(kvm->mm, kvm->arch.pgtable); in kvmppc_free_radix()
570 kvm->arch.pgtable = NULL; in kvmppc_free_radix()
615 int kvmppc_create_pte(struct kvm *kvm, pgd_t *pgtable, pte_t pte, in kvmppc_create_pte() argument
628 pgd = pgtable + pgd_index(gpa); in kvmppc_create_pte()
902 ret = kvmppc_create_pte(kvm, kvm->arch.pgtable, pte, gpa, level, in kvmppc_book3s_instantiate_page()
1227 kvm->arch.pgtable = pgd_alloc(kvm->mm); in kvmppc_init_vm_radix()
1228 if (!kvm->arch.pgtable) in kvmppc_init_vm_radix()
1342 pgt = kvm->arch.pgtable; in debugfs_radix_read()
/linux/arch/microblaze/mm/
H A DMakefile6 obj-y := consistent.o init.o pgtable.o mmu_context.o fault.o
/linux/arch/nios2/mm/
H A DMakefile13 obj-y += pgtable.o
/linux/arch/loongarch/mm/
H A DMakefile7 fault.o ioremap.o maccess.o mmap.o pgtable.o \
/linux/scripts/gdb/
H A Dvmlinux-gdb.py44 import linux.pgtable
/linux/arch/powerpc/include/asm/
H A Dpgalloc.h50 void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable);
/linux/arch/powerpc/mm/book3s64/
H A DMakefile3 obj-y += mmu_context.o pgtable.o trace.o
/linux/arch/sh/mm/
H A DMakefile20 pgtable.o tlbex_32.o tlbflush_32.o
/linux/arch/x86/mm/
H A DMakefile27 pgtable.o physaddr.o tlb.o cpu_entry_area.o maccess.o pgprot.o
/linux/arch/sparc/include/asm/
H A Dpgalloc_64.h70 void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable);
/linux/arch/powerpc/include/asm/book3s/64/
H A Dhash-4k.h164 pgtable_t pgtable);
H A Dhash-64k.h277 pgtable_t pgtable);

12