/linux-4.1.27/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 | 140 static sysmmu_pte_t *section_entry(sysmmu_pte_t *pgtable, sysmmu_iova_t iova) in section_entry() argument 142 return pgtable + lv1ent_offset(iova); in section_entry() 199 sysmmu_pte_t *pgtable; /* lv1 page table, 16KB */ member 215 phys_addr_t pgtable; member 390 data->pgtable = 0; in __sysmmu_disable() 437 __sysmmu_set_ptbase(data->sfrbase, data->pgtable); in __sysmmu_enable_nocount() 446 phys_addr_t pgtable, struct iommu_domain *domain) in __sysmmu_enable() argument 453 data->pgtable = pgtable; in __sysmmu_enable() 460 ret = (pgtable == data->pgtable) ? 1 : -EBUSY; in __sysmmu_enable() 479 static int __exynos_sysmmu_enable(struct device *dev, phys_addr_t pgtable, in __exynos_sysmmu_enable() argument [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 | 4 obj-$(CONFIG_IOMMU_IO_PGTABLE) += io-pgtable.o 5 obj-$(CONFIG_IOMMU_IO_PGTABLE_LPAE) += io-pgtable-arm.o
|
D | omap-iommu.c | 58 u32 *pgtable; member 1185 oiommu = omap_iommu_attach(arch_data->name, omap_domain->pgtable); in omap_iommu_attach_dev() 1245 omap_domain->pgtable = kzalloc(IOPGD_TABLE_SIZE, GFP_KERNEL); in omap_iommu_domain_alloc() 1246 if (!omap_domain->pgtable) { in omap_iommu_domain_alloc() 1255 BUG_ON(!IS_ALIGNED((long)omap_domain->pgtable, IOPGD_TABLE_SIZE)); in omap_iommu_domain_alloc() 1257 clean_dcache_area(omap_domain->pgtable, IOPGD_TABLE_SIZE); in omap_iommu_domain_alloc() 1283 kfree(omap_domain->pgtable); in omap_iommu_domain_free()
|
/linux-4.1.27/mm/ |
D | pgtable-generic.c | 153 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 159 INIT_LIST_HEAD(&pgtable->lru); in pgtable_trans_huge_deposit() 161 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_deposit() 162 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 172 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 177 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 178 if (list_empty(&pgtable->lru)) in pgtable_trans_huge_withdraw() 181 pmd_huge_pte(mm, pmdp) = list_entry(pgtable->lru.next, in pgtable_trans_huge_withdraw() 183 list_del(&pgtable->lru); in pgtable_trans_huge_withdraw() 185 return pgtable; in pgtable_trans_huge_withdraw()
|
D | huge_memory.c | 723 pgtable_t pgtable; in __do_huge_pmd_anonymous_page() local 731 pgtable = pte_alloc_one(mm, haddr); in __do_huge_pmd_anonymous_page() 732 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page() 750 pte_free(mm, pgtable); in __do_huge_pmd_anonymous_page() 758 pgtable_trans_huge_deposit(mm, pmd, pgtable); in __do_huge_pmd_anonymous_page() 774 static bool set_huge_zero_page(pgtable_t pgtable, struct mm_struct *mm, in set_huge_zero_page() argument 783 pgtable_trans_huge_deposit(mm, pmd, pgtable); in set_huge_zero_page() 806 pgtable_t pgtable; in do_huge_pmd_anonymous_page() local 809 pgtable = pte_alloc_one(mm, haddr); in do_huge_pmd_anonymous_page() 810 if (unlikely(!pgtable)) in do_huge_pmd_anonymous_page() [all …]
|
D | Makefile | 11 vmalloc.o pagewalk.o pgtable-generic.o
|
/linux-4.1.27/arch/sparc/mm/ |
D | tlb.c | 208 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 210 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() 219 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 225 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 230 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 231 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 238 pte_val(pgtable[0]) = 0; in pgtable_trans_huge_withdraw() 239 pte_val(pgtable[1]) = 0; in pgtable_trans_huge_withdraw() 241 return pgtable; in pgtable_trans_huge_withdraw()
|
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/mm/ |
D | pgtable_64.c | 675 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 683 *pgtable_slot = pgtable; in pgtable_trans_huge_deposit() 695 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 700 pgtable = *pgtable_slot; in pgtable_trans_huge_withdraw() 709 memset(pgtable, 0, PTE_FRAG_SIZE); in pgtable_trans_huge_withdraw() 710 return pgtable; in pgtable_trans_huge_withdraw() 824 pgtable_t pgtable; in pmdp_get_and_clear() local 836 pgtable = *pgtable_slot; in pmdp_get_and_clear() 841 memset(pgtable, 0, PTE_FRAG_SIZE); in pmdp_get_and_clear()
|
D | Makefile | 9 obj-y := fault.o mem.o pgtable.o mmap.o \
|
/linux-4.1.27/arch/mips/mm/ |
D | Makefile | 15 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o 16 obj-$(CONFIG_64BIT) += pgtable-64.o
|
/linux-4.1.27/arch/microblaze/mm/ |
D | Makefile | 7 obj-$(CONFIG_MMU) += pgtable.o mmu_context.o fault.o
|
/linux-4.1.27/arch/score/mm/ |
D | Makefile | 6 tlb-miss.o tlb-score.o pgtable.o
|
/linux-4.1.27/arch/tile/mm/ |
D | Makefile | 5 obj-y := init.o pgtable.o fault.o extable.o elf.o \
|
/linux-4.1.27/arch/nios2/mm/ |
D | Makefile | 12 obj-y += pgtable.o
|
/linux-4.1.27/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 | 1375 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument 1377 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() 1386 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit() 1392 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local 1398 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw() 1399 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 1406 ptep = (pte_t *) pgtable; in pgtable_trans_huge_withdraw() 1410 return pgtable; in pgtable_trans_huge_withdraw()
|
/linux-4.1.27/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.1.27/arch/x86/mm/ |
D | Makefile | 2 pat.o pgtable.o physaddr.o gup.o setup_nx.o
|
/linux-4.1.27/arch/mn10300/mm/ |
D | Makefile | 28 init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
|
/linux-4.1.27/arch/sh/mm/ |
D | Makefile | 19 pgtable.o tlbex_$(BITS).o tlbflush_$(BITS).o
|
/linux-4.1.27/include/asm-generic/ |
D | pgtable.h | 194 pgtable_t pgtable);
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | pgtable-ppc64.h | 593 pgtable_t pgtable);
|
/linux-4.1.27/arch/cris/arch-v10/ |
D | README.mm | 153 [ References: asm/pgtable.h, asm/page.h, asm/mmu.h ]
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | pgtable_64.h | 942 pgtable_t pgtable);
|
/linux-4.1.27/arch/s390/include/asm/ |
D | pgtable.h | 1464 pgtable_t pgtable);
|
/linux-4.1.27/Documentation/s390/ |
D | Debugging390.txt | 323 A lot of this stuff is defined in pgtable.h.
|
/linux-4.1.27/Documentation/ |
D | kernel-parameters.txt | 577 inclusive. See arch/mips/include/asm/pgtable-bits.h
|
/linux-4.1.27/ |
D | MAINTAINERS | 1642 F: drivers/iommu/io-pgtable-arm.c
|