| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_iommu.c | 93 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/mm/ |
| H A D | pgtable-generic.c | 3 * mm/pgtable-generic.c 5 * Generic pgtable methods declared in linux/pgtable.h 12 #include <linux/pgtable.h> 181 pgtable_t pgtable) 187 INIT_LIST_HEAD(&pgtable->lru); in pgtable_trans_huge_withdraw() 189 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_withdraw() 190 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_withdraw() 198 pgtable_t pgtable; 203 pgtable in pmdp_invalidate() 169 pgtable_trans_huge_deposit(struct mm_struct * mm,pmd_t * pmdp,pgtable_t pgtable) pgtable_trans_huge_deposit() argument 186 pgtable_t pgtable; pgtable_trans_huge_withdraw() local 250 pte_free_defer(struct mm_struct * mm,pgtable_t pgtable) pte_free_defer() argument [all...] |
| H A D | huge_memory.c | 1424 pgtable_t pgtable; in __do_huge_pmd_anonymous_page() 1431 pgtable = pte_alloc_one(vma->vm_mm); in __do_huge_pmd_anonymous_page() 1432 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page() 1449 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page() 1454 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in __do_huge_pmd_anonymous_page() 1464 if (pgtable) in __do_huge_pmd_anonymous_page() 1465 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page() 1545 static void set_huge_zero_folio(pgtable_t pgtable, struct mm_struct *mm, in vma_thp_gfp_mask() 1553 pgtable_trans_huge_deposit(mm, pmd, pgtable); in set_huge_zero_folio() 1574 pgtable_t pgtable; in do_huge_pmd_anonymous_page() 1429 pgtable_t pgtable; __do_huge_pmd_anonymous_page() local 1550 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 1578 pgtable_t pgtable; do_huge_pmd_anonymous_page() local 1632 pgtable_t pgtable = NULL; insert_pmd() local 1898 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 1958 pgtable_t pgtable = NULL; copy_huge_pmd() local 2472 pgtable_t pgtable; zap_deposited_table() local 2659 pgtable_t pgtable; move_huge_pmd() local 3142 pgtable_t pgtable; __split_huge_zero_page_pmd() local 3190 pgtable_t pgtable; __split_huge_pmd_locked() local [all...] |
| H A D | migrate_device.c | 822 pgtable_t pgtable; in migrate_vma_insert_huge_pmd_page() 855 pgtable = pte_alloc_one(vma->vm_mm); in migrate_vma_insert_huge_pmd_page() 856 if (unlikely(!pgtable)) in migrate_vma_insert_huge_pmd_page() 903 pte_free(vma->vm_mm, pgtable); in migrate_vma_insert_huge_pmd_page() 907 pgtable_trans_huge_deposit(vma->vm_mm, pmdp, pgtable); in migrate_vma_insert_huge_pmd_page() 924 pte_free(vma->vm_mm, pgtable); in migrate_vma_split_unmapped_folio() 810 pgtable_t pgtable; migrate_vma_insert_huge_pmd_page() local
|
| /linux/arch/arm64/kvm/ |
| H A D | ptdump.c | 119 struct kvm_pgtable *pgtable = mmu->pgt; kvm_ptdump_parser_create() local 214 struct kvm_pgtable *pgtable = m->private; kvm_pgtable_range_show() local 222 struct kvm_pgtable *pgtable = m->private; kvm_pgtable_levels_show() local 233 struct kvm_pgtable *pgtable; kvm_pgtable_debugfs_open() local
|
| /linux/drivers/iommu/ |
| H A D | exynos-iommu.c | 186 static sysmmu_pte_t *section_entry(sysmmu_pte_t *pgtable, sysmmu_iova_t iova) in page_entry() 188 return pgtable + lv1ent_offset(iova); in page_entry() 257 sysmmu_pte_t *pgtable; /* lv1 page table, 16KB */ 260 spinlock_t pgtablelock; /* lock for modifying page table @ pgtable */ 307 phys_addr_t pgtable; /* assigned page table structure */ 573 dev_dbg(data->sysmmu, "Page table base: %pa\n", &data->pgtable); in exynos_sysmmu_irq() 574 ent = section_entry(phys_to_virt(data->pgtable), fault->addr); in exynos_sysmmu_irq() 677 __sysmmu_set_ptbase(data, data->pgtable); in sysmmu_tlb_invalidate_flpdcache() 935 domain->pgtable = iommu_alloc_pages_sz(GFP_KERNEL, SZ_16K); in exynos_iommu_domain_alloc_paging() 936 if (!domain->pgtable) in exynos_iommu_domain_alloc_paging() 181 section_entry(sysmmu_pte_t * pgtable,sysmmu_iova_t iova) section_entry() argument 251 sysmmu_pte_t *pgtable; /* lv1 page table, 16KB */ global() member 301 phys_addr_t pgtable; /* assigned page table structure */ global() member [all...] |
| /linux/arch/m68k/include/asm/ |
| H A D | motorola_pgalloc.h | 43 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_free() 45 free_pointer_table(pgtable, TABLE_PTE); in pte_free() 48 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pgtable, in __pte_free_tlb() 51 tlb_remove_table(tlb, (void *)((unsigned long)pgtable | TABLE_PTE)); in __pte_free_tlb() 42 pte_free(struct mm_struct * mm,pgtable_t pgtable) pte_free() argument 47 __pte_free_tlb(struct mmu_gather * tlb,pgtable_t pgtable,unsigned long address) __pte_free_tlb() argument
|
| H A D | mcf_pgalloc.h | 39 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pgtable, in __pte_free_tlb() argument 42 tlb_remove_ptdesc(tlb, virt_to_ptdesc(pgtable)); in __pte_free_tlb() 61 static inline void pte_free(struct mm_struct *mm, pgtable_t pgtable) in pte_alloc_one() 63 struct ptdesc *ptdesc = virt_to_ptdesc(pgtable); 64 pte_free(struct mm_struct * mm,pgtable_t pgtable) pte_free() argument
|
| /linux/arch/s390/mm/ |
| H A D | pgtable.c | 318 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 320 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() 329 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 335 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 341 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 342 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 349 ptep = (pte_t *) pgtable; in pgtable_trans_huge_withdraw() 353 return pgtable; in pgtable_trans_huge_withdraw()
|
| /linux/arch/mips/mm/ |
| H A D | Makefile | 14 obj-y += pgtable.o 29 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o 30 obj-$(CONFIG_64BIT) += ioremap64.o pgtable-64.o
|
| /linux/Documentation/features/debug/debug-vm-pgtable/ |
| H A D | arch-support.txt | 2 # Feature name: debug-vm-pgtable 4 # description: arch supports pgtable tests for semantics compliance
|
| /linux/arch/x86/boot/compressed/ |
| H A D | vmlinux.lds.S | 74 .pgtable : { 76 *(.pgtable) argument
|
| /linux/arch/arm64/kvm/hyp/ |
| H A D | pgtable.c | 149 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level); 218 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level) in __kvm_pgtable_walk() 228 kvm_pteref_t pteref = &pgtable[idx]; in __kvm_pgtable_walk() 1457 kvm_pte_t *pgtable; in kvm_pgtable_stage2_create_unlinked() 1467 pgtable = mm_ops->zalloc_page(mc); in kvm_pgtable_stage2_create_unlinked() 1468 if (!pgtable) in kvm_pgtable_stage2_create_unlinked() 1471 ret = __kvm_pgtable_walk(&data, mm_ops, (kvm_pteref_t)pgtable, 1474 kvm_pgtable_stage2_free_unlinked(mm_ops, pgtable, level); 1478 return pgtable; in stage2_block_get_nr_page_tables() 1683 * Since the pgtable i in kvm_pgtable_stage2_destroy() 217 __kvm_pgtable_walk(struct kvm_pgtable_walk_data * data,struct kvm_pgtable_mm_ops * mm_ops,kvm_pteref_t pgtable,s8 level) __kvm_pgtable_walk() argument 1447 kvm_pte_t *pgtable; kvm_pgtable_stage2_create_unlinked() local 1686 kvm_pgtable_stage2_free_unlinked(struct kvm_pgtable_mm_ops * mm_ops,void * pgtable,s8 level) kvm_pgtable_stage2_free_unlinked() argument [all...] |
| H A D | Makefile | 10 obj-$(CONFIG_KVM) += vhe/ nvhe/ pgtable.o
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 566 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 D | Makefile | 6 obj-y := consistent.o init.o pgtable.o mmu_context.o fault.o
|
| /linux/arch/nios2/mm/ |
| H A D | Makefile | 13 obj-y += pgtable.o
|
| /linux/arch/loongarch/mm/ |
| H A D | Makefile | 7 fault.o ioremap.o maccess.o mmap.o pgtable.o \
|
| /linux/scripts/gdb/ |
| H A D | vmlinux-gdb.py | 44 import linux.pgtable
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgalloc.h | 50 void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable);
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | Makefile | 3 obj-y += mmu_context.o pgtable.o trace.o
|
| /linux/arch/sh/mm/ |
| H A D | Makefile | 20 pgtable.o tlbex_32.o tlbflush_32.o
|
| /linux/arch/x86/mm/ |
| H A D | Makefile | 27 pgtable.o physaddr.o tlb.o cpu_entry_area.o maccess.o pgprot.o
|
| /linux/arch/sparc/include/asm/ |
| H A D | pgalloc_64.h | 70 void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable);
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | hash-4k.h | 164 pgtable_t pgtable);
|