Home
last modified time | relevance | path

Searched refs:pgtable (Results 1 – 25 of 36) 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
/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.c1343 pgtable_t pgtable; in vma_alloc_anon_folio_pmd()
1350 pgtable = pte_alloc_one(vma->vm_mm); in vma_alloc_anon_folio_pmd()
1351 if (unlikely(!pgtable)) { in vma_alloc_anon_folio_pmd()
1368 pte_free(vma->vm_mm, pgtable); in vma_alloc_anon_folio_pmd()
1373 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in vma_alloc_anon_folio_pmd()
1383 if (pgtable) in map_anon_folio_pmd_nopf()
1384 pte_free(vma->vm_mm, pgtable); in map_anon_folio_pmd_nopf()
1464 static void set_huge_zero_folio(pgtable_t pgtable, struct mm_struct *mm, in do_huge_pmd_device_private()
1471 pgtable_trans_huge_deposit(mm, pmd, pgtable); in do_huge_pmd_device_private()
1492 pgtable_t pgtable;
1405 pgtable_t pgtable; __do_huge_pmd_anonymous_page() local
1526 set_huge_zero_folio(pgtable_t pgtable,struct mm_struct * mm,struct vm_area_struct * vma,unsigned long haddr,pmd_t * pmd,struct folio * zero_folio) set_huge_zero_folio() argument
1554 pgtable_t pgtable; do_huge_pmd_anonymous_page() local
1608 pgtable_t pgtable = NULL; insert_pmd() local
1874 copy_huge_non_present_pmd(struct mm_struct * dst_mm,struct mm_struct * src_mm,pmd_t * dst_pmd,pmd_t * src_pmd,unsigned long addr,struct vm_area_struct * dst_vma,struct vm_area_struct * src_vma,pmd_t pmd,pgtable_t pgtable) copy_huge_non_present_pmd() argument
1934 pgtable_t pgtable = NULL; copy_huge_pmd() local
2414 pgtable_t pgtable; zap_deposited_table() local
2599 pgtable_t pgtable; move_huge_pmd() local
3053 pgtable_t pgtable; __split_huge_zero_page_pmd() local
3096 pgtable_t pgtable; __split_huge_pmd_locked() local
[all...]
H A Dhugetlb_vmemmap.c59 pte_t *pgtable; in vmemmap_split_pmd() local
61 pgtable = pte_alloc_one_kernel(&init_mm); in vmemmap_split_pmd()
62 if (!pgtable) in vmemmap_split_pmd()
65 pmd_populate_kernel(&init_mm, &__pmd, pgtable); in vmemmap_split_pmd()
88 pmd_populate_kernel(&init_mm, pmd, pgtable); in vmemmap_split_pmd()
92 pte_free_kernel(&init_mm, pgtable); in vmemmap_split_pmd()
H A Dmigrate_device.c799 pgtable_t pgtable; in migrate_vma_insert_huge_pmd_page() local
825 pgtable = pte_alloc_one(vma->vm_mm); in migrate_vma_insert_huge_pmd_page()
826 if (unlikely(!pgtable)) in migrate_vma_insert_huge_pmd_page()
873 pte_free(vma->vm_mm, pgtable); in migrate_vma_insert_huge_pmd_page()
877 pgtable_trans_huge_deposit(vma->vm_mm, pmdp, pgtable); in migrate_vma_insert_huge_pmd_page()
894 pte_free(vma->vm_mm, 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()
1444 kvm_pte_t *pgtable; in kvm_pgtable_stage2_create_unlinked() local
1454 pgtable = mm_ops->zalloc_page(mc); in kvm_pgtable_stage2_create_unlinked()
1455 if (!pgtable) in kvm_pgtable_stage2_create_unlinked()
1458 ret = __kvm_pgtable_walk(&data, mm_ops, (kvm_pteref_t)pgtable, in kvm_pgtable_stage2_create_unlinked()
1461 kvm_pgtable_stage2_free_unlinked(mm_ops, pgtable, level); in kvm_pgtable_stage2_create_unlinked()
1465 return pgtable; in kvm_pgtable_stage2_create_unlinked()
1683 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