/linux-4.4.14/drivers/iommu/ |
D | shmobile-iommu.c | 27 uint32_t *pgtable; member 56 static int pgtable_alloc(struct shmobile_iommu_domain_pgtable *pgtable, in pgtable_alloc() argument 59 pgtable->pgtable = kmem_cache_zalloc(cache, GFP_ATOMIC); in pgtable_alloc() 60 if (!pgtable->pgtable) in pgtable_alloc() 62 pgtable->handle = dma_map_single(NULL, pgtable->pgtable, size, in pgtable_alloc() 67 static void pgtable_free(struct shmobile_iommu_domain_pgtable *pgtable, in pgtable_free() argument 70 dma_unmap_single(NULL, pgtable->handle, size, DMA_TO_DEVICE); in pgtable_free() 71 kmem_cache_free(cache, pgtable->pgtable); in pgtable_free() 74 static uint32_t pgtable_read(struct shmobile_iommu_domain_pgtable *pgtable, in pgtable_read() argument 77 return pgtable->pgtable[index]; in pgtable_read() [all …]
|
D | exynos-iommu.c | 141 static sysmmu_pte_t *section_entry(sysmmu_pte_t *pgtable, sysmmu_iova_t iova) in section_entry() argument 143 return pgtable + lv1ent_offset(iova); in section_entry() 206 sysmmu_pte_t *pgtable; /* lv1 page table, 16KB */ member 230 phys_addr_t pgtable; /* assigned page table structure */ member 401 data->pgtable = 0; in __sysmmu_disable() 449 __sysmmu_set_ptbase(data->sfrbase, data->pgtable); in __sysmmu_enable_nocount() 457 static int __sysmmu_enable(struct sysmmu_drvdata *data, phys_addr_t pgtable, in __sysmmu_enable() argument 465 data->pgtable = pgtable; in __sysmmu_enable() 472 ret = (pgtable == data->pgtable) ? 1 : -EBUSY; in __sysmmu_enable() 672 domain->pgtable = (sysmmu_pte_t *)__get_free_pages(GFP_KERNEL, 2); in exynos_iommu_domain_alloc() [all …]
|
D | msm_iommu.c | 53 unsigned long *pgtable; member 93 unsigned long *fl_table = priv->pgtable; in __flush_iotlb() 150 static void __program_context(void __iomem *base, int ctx, phys_addr_t pgtable) in __program_context() argument 163 SET_TTBR0_PA(base, ctx, (pgtable >> 14)); in __program_context() 230 priv->pgtable = (unsigned long *)__get_free_pages(GFP_KERNEL, in msm_iommu_domain_alloc() 233 if (!priv->pgtable) in msm_iommu_domain_alloc() 236 memset(priv->pgtable, 0, SZ_16K); in msm_iommu_domain_alloc() 259 fl_table = priv->pgtable; in msm_iommu_domain_free() 266 free_pages((unsigned long)priv->pgtable, get_order(SZ_16K)); in msm_iommu_domain_free() 267 priv->pgtable = NULL; in msm_iommu_domain_free() [all …]
|
D | Makefile | 5 obj-$(CONFIG_IOMMU_IO_PGTABLE) += io-pgtable.o 6 obj-$(CONFIG_IOMMU_IO_PGTABLE_LPAE) += io-pgtable-arm.o
|
D | omap-iommu.c | 54 u32 *pgtable; member 1098 oiommu = omap_iommu_attach(arch_data->name, omap_domain->pgtable); in omap_iommu_attach_dev() 1156 omap_domain->pgtable = kzalloc(IOPGD_TABLE_SIZE, GFP_KERNEL); in omap_iommu_domain_alloc() 1157 if (!omap_domain->pgtable) in omap_iommu_domain_alloc() 1164 BUG_ON(!IS_ALIGNED((long)omap_domain->pgtable, IOPGD_TABLE_SIZE)); in omap_iommu_domain_alloc() 1166 clean_dcache_area(omap_domain->pgtable, IOPGD_TABLE_SIZE); in omap_iommu_domain_alloc() 1192 kfree(omap_domain->pgtable); in omap_iommu_domain_free()
|
/linux-4.4.14/mm/ |
D | pgtable-generic.c | 156 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 162 INIT_LIST_HEAD(&pgtable->lru); in pgtable_trans_huge_deposit() 164 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_deposit() 165 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 173 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 178 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 179 if (list_empty(&pgtable->lru)) in pgtable_trans_huge_withdraw() 182 pmd_huge_pte(mm, pmdp) = list_entry(pgtable->lru.next, in pgtable_trans_huge_withdraw() 184 list_del(&pgtable->lru); in pgtable_trans_huge_withdraw() 186 return pgtable; in pgtable_trans_huge_withdraw()
|
D | huge_memory.c | 721 pgtable_t pgtable; in __do_huge_pmd_anonymous_page() local 733 pgtable = pte_alloc_one(mm, haddr); in __do_huge_pmd_anonymous_page() 734 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page() 753 pte_free(mm, pgtable); in __do_huge_pmd_anonymous_page() 764 pte_free(mm, pgtable); in __do_huge_pmd_anonymous_page() 776 pgtable_trans_huge_deposit(mm, pmd, pgtable); in __do_huge_pmd_anonymous_page() 793 static bool set_huge_zero_page(pgtable_t pgtable, struct mm_struct *mm, in set_huge_zero_page() argument 802 pgtable_trans_huge_deposit(mm, pmd, pgtable); in set_huge_zero_page() 825 pgtable_t pgtable; in do_huge_pmd_anonymous_page() local 829 pgtable = pte_alloc_one(mm, haddr); in do_huge_pmd_anonymous_page() [all …]
|
D | Makefile | 11 vmalloc.o pagewalk.o pgtable-generic.o
|
/linux-4.4.14/arch/sparc/mm/ |
D | tlb.c | 219 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 221 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() 230 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 236 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 241 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 242 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 249 pte_val(pgtable[0]) = 0; in pgtable_trans_huge_withdraw() 250 pte_val(pgtable[1]) = 0; in pgtable_trans_huge_withdraw() 252 return pgtable; in pgtable_trans_huge_withdraw()
|
/linux-4.4.14/sound/core/ |
D | sgbuf.c | 74 struct page **pgtable; in snd_malloc_sgbuf_pages() local 88 pgtable = kcalloc(sgbuf->tblsize, sizeof(*pgtable), GFP_KERNEL); in snd_malloc_sgbuf_pages() 89 if (!pgtable) in snd_malloc_sgbuf_pages() 91 sgbuf->page_table = pgtable; in snd_malloc_sgbuf_pages() 117 *pgtable++ = virt_to_page(tmpb.area); in snd_malloc_sgbuf_pages()
|
/linux-4.4.14/arch/x86/boot/compressed/ |
D | head_64.S | 125 leal pgtable(%ebx), %edi 131 leal pgtable + 0(%ebx), %edi 136 leal pgtable + 0x1000(%ebx), %edi 146 leal pgtable + 0x2000(%ebx), %edi 156 leal pgtable(%ebx), %eax 479 pgtable: label
|
D | vmlinux.lds.S | 67 .pgtable : { 69 *(.pgtable) argument
|
/linux-4.4.14/arch/arc/mm/ |
D | tlb.c | 663 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 665 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() 674 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 680 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 684 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 685 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 693 pte_val(pgtable[0]) = 0; in pgtable_trans_huge_withdraw() 694 pte_val(pgtable[1]) = 0; in pgtable_trans_huge_withdraw() 696 return pgtable; in pgtable_trans_huge_withdraw()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | pgtable_64.c | 660 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 668 *pgtable_slot = pgtable; in pgtable_trans_huge_deposit() 680 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 685 pgtable = *pgtable_slot; in pgtable_trans_huge_withdraw() 694 memset(pgtable, 0, PTE_FRAG_SIZE); in pgtable_trans_huge_withdraw() 695 return pgtable; in pgtable_trans_huge_withdraw() 809 pgtable_t pgtable; in pmdp_huge_get_and_clear() local 821 pgtable = *pgtable_slot; in pmdp_huge_get_and_clear() 826 memset(pgtable, 0, PTE_FRAG_SIZE); in pmdp_huge_get_and_clear()
|
D | Makefile | 9 obj-y := fault.o mem.o pgtable.o mmap.o \
|
/linux-4.4.14/arch/mips/mm/ |
D | Makefile | 15 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o 16 obj-$(CONFIG_64BIT) += pgtable-64.o
|
/linux-4.4.14/arch/microblaze/mm/ |
D | Makefile | 7 obj-$(CONFIG_MMU) += pgtable.o mmu_context.o fault.o
|
/linux-4.4.14/arch/score/mm/ |
D | Makefile | 6 tlb-miss.o tlb-score.o pgtable.o
|
/linux-4.4.14/arch/tile/mm/ |
D | Makefile | 5 obj-y := init.o pgtable.o fault.o extable.o elf.o \
|
/linux-4.4.14/arch/nios2/mm/ |
D | Makefile | 12 obj-y += pgtable.o
|
/linux-4.4.14/arch/s390/mm/ |
D | Makefile | 5 obj-y := init.o fault.o extmem.o mmap.o vmem.o pgtable.o maccess.o
|
D | pgtable.c | 1299 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 1301 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() 1310 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 1316 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 1322 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 1323 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 1330 ptep = (pte_t *) pgtable; in pgtable_trans_huge_withdraw() 1334 return pgtable; in pgtable_trans_huge_withdraw()
|
/linux-4.4.14/drivers/lguest/ |
D | page_tables.c | 733 static unsigned int find_pgdir(struct lguest *lg, unsigned long pgtable) in find_pgdir() argument 737 if (lg->pgdirs[i].pgdir && lg->pgdirs[i].gpgdir == pgtable) in find_pgdir() 867 void guest_new_pagetable(struct lg_cpu *cpu, unsigned long pgtable) in guest_new_pagetable() argument 882 newpgdir = find_pgdir(cpu->lg, pgtable); in guest_new_pagetable() 890 newpgdir = new_pgdir(cpu, pgtable, &repin); in guest_new_pagetable()
|
D | lg.h | 185 void guest_new_pagetable(struct lg_cpu *cpu, unsigned long pgtable);
|
/linux-4.4.14/arch/x86/mm/ |
D | Makefile | 2 pat.o pgtable.o physaddr.o gup.o setup_nx.o
|
/linux-4.4.14/arch/mn10300/mm/ |
D | Makefile | 28 init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
|
/linux-4.4.14/arch/arc/include/asm/ |
D | hugepage.h | 72 pgtable_t pgtable);
|
/linux-4.4.14/arch/sh/mm/ |
D | Makefile | 19 pgtable.o tlbex_$(BITS).o tlbflush_$(BITS).o
|
/linux-4.4.14/include/asm-generic/ |
D | pgtable.h | 233 pgtable_t pgtable);
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | pgtable-ppc64.h | 605 pgtable_t pgtable);
|
/linux-4.4.14/arch/cris/arch-v10/ |
D | README.mm | 153 [ References: asm/pgtable.h, asm/page.h, asm/mmu.h ]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | pgtable_64.h | 963 pgtable_t pgtable);
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pgtable.h | 1531 pgtable_t pgtable);
|
/linux-4.4.14/Documentation/s390/ |
D | Debugging390.txt | 323 A lot of this stuff is defined in pgtable.h.
|
/linux-4.4.14/Documentation/ |
D | kernel-parameters.txt | 584 inclusive. See arch/mips/include/asm/pgtable-bits.h
|
/linux-4.4.14/ |
D | MAINTAINERS | 1760 F: drivers/iommu/io-pgtable-arm.c
|