Home
last modified time | relevance | path

Searched refs:page_table (Results 1 – 21 of 21) sorted by relevance

/arch/s390/kernel/
Dvdso.c145 unsigned long segment_table, page_table, page_frame; in vdso_alloc_per_cpu() local
156 page_table = get_zeroed_page(GFP_KERNEL | GFP_DMA); in vdso_alloc_per_cpu()
158 if (!segment_table || !page_table || !page_frame) in vdso_alloc_per_cpu()
161 arch_set_page_dat(virt_to_page(page_table), 0); in vdso_alloc_per_cpu()
171 clear_table((unsigned long *) page_table, _PAGE_INVALID, in vdso_alloc_per_cpu()
174 *(unsigned long *) segment_table = _SEGMENT_ENTRY + page_table; in vdso_alloc_per_cpu()
175 *(unsigned long *) page_table = _PAGE_PROTECT + page_frame; in vdso_alloc_per_cpu()
177 psal = (u32 *) (page_table + 256*sizeof(unsigned long)); in vdso_alloc_per_cpu()
195 free_page(page_table); in vdso_alloc_per_cpu()
202 unsigned long segment_table, page_table, page_frame; in vdso_free_per_cpu() local
[all …]
/arch/unicore32/kernel/
Dhibernate.c54 pte_t *page_table = (pte_t *)get_safe_page(GFP_ATOMIC); in resume_one_page_table_init() local
55 if (!page_table) in resume_one_page_table_init()
58 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_KERNEL_TABLE)); in resume_one_page_table_init()
60 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in resume_one_page_table_init()
62 return page_table; in resume_one_page_table_init()
/arch/x86/power/
Dhibernate_32.c65 pte_t *page_table = (pte_t *)get_safe_page(GFP_ATOMIC); in resume_one_page_table_init() local
66 if (!page_table) in resume_one_page_table_init()
69 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in resume_one_page_table_init()
71 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in resume_one_page_table_init()
73 return page_table; in resume_one_page_table_init()
/arch/sparc/mm/
Diommu.c101 iommu->page_table = (iopte_t *)tmp; in sbus_iommu_init()
104 memset(iommu->page_table, 0, IOMMU_NPTES*sizeof(iopte_t)); in sbus_iommu_init()
108 base = __pa((unsigned long)iommu->page_table) >> 4; in sbus_iommu_init()
128 impl, vers, iommu->page_table, in sbus_iommu_init()
191 iopte0 = &iommu->page_table[ioptex]; in iommu_get_one()
293 iopte_val(iommu->page_table[ioptex + i]) = 0; in iommu_release_one()
330 iopte_t *iopte = iommu->page_table; in iommu_map_dma_area()
395 iopte_t *iopte = iommu->page_table; in iommu_unmap_dma_area()
Dio-unit.c67 iounit->page_table = xpt; in iounit_iommu_init()
70 xptend = iounit->page_table + (16 * PAGE_SIZE) / sizeof(iopte_t); in iounit_iommu_init()
137 sbus_writel(iopte_val(iopte), &iounit->page_table[scan]); in iounit_get_area()
231 iopte = iounit->page_table + i; in iounit_map_dma_area()
/arch/sparc/kernel/
Diommu.c139 iommu->page_table = (iopte_t *)page_address(page); in iommu_table_init()
142 iopte_make_dummy(iommu, &iommu->page_table[i]); in iommu_table_init()
168 return iommu->page_table + entry; in alloc_npages()
232 ((iopte - iommu->page_table) << IO_PAGE_SHIFT)); in dma_4u_alloc_coherent()
298 ((base - iommu->page_table) << IO_PAGE_SHIFT)); in dma_4u_map_page()
407 base = iommu->page_table + in dma_4u_unmap_page()
503 base = iommu->page_table + entry; in dma_4u_map_sg()
569 base = iommu->page_table + entry; in dma_4u_map_sg()
601 base = iommu->page_table + in fetch_sg_ctx()
641 base = iommu->page_table + entry; in dma_4u_unmap_sg()
[all …]
Dldc.c108 struct ldc_mtable_entry *page_table; member
1029 base = iommu->page_table + entry; in ldc_demap()
1079 ldc_iommu->page_table = table; in ldc_iommu_init()
1091 ldc_iommu->page_table = NULL; in ldc_iommu_init()
1112 free_pages((unsigned long) ldc_iommu->page_table, order); in ldc_iommu_release()
1113 ldc_iommu->page_table = NULL; in ldc_iommu_release()
2027 return iommu->page_table + entry; in alloc_npages()
2076 struct ldc_mtable_entry *page_table; member
2091 sp->page_table[sp->pte_idx].mte = sp->mte_base | pa; in fill_cookies()
2177 state.page_table = iommu->page_table; in ldc_map_sg()
[all …]
Dpsycho_common.c428 upa_writeq(__pa(iommu->page_table), iommu->iommu_tsbbase); in psycho_iommu_init()
Dpci_fire.c63 upa_writeq(__pa(iommu->page_table) | 0x7UL, iommu->iommu_tsbbase); in pci_fire_pbm_iommu_init()
Dsbus.c624 upa_writeq(__pa(iommu->page_table), iommu->iommu_tsbbase); in sbus_iommu_init()
Dpci_schizo.c1204 upa_writeq(__pa(iommu->page_table), iommu->iommu_tsbbase); in schizo_pbm_iommu_init()
/arch/tile/mm/
Dmigrate.h31 extern int flush_and_install_context(HV_PhysAddr page_table, HV_PTE access,
Dinit.c118 static void __init assign_pte(pmd_t *pmd, pte_t *page_table) in assign_pte() argument
120 phys_addr_t pa = __pa(page_table); in assign_pte()
126 if (page_table != (pte_t *)pmd_page_vaddr(*pmd)) in assign_pte()
Dfault.c189 unsigned long pgd_pfn = ctx.page_table >> PAGE_SHIFT; in get_current_pgd()
192 return (pgd_t *) __va(ctx.page_table); in get_current_pgd()
/arch/arm64/kernel/
Dhibernate-asm.S36 .macro break_before_make_ttbr_switch zero_page, page_table argument
41 msr ttbr1_el1, \page_table
/arch/sparc/include/asm/
Dio-unit.h47 iopte_t __iomem *page_table; member
Diommu_32.h104 iopte_t *page_table; member
Diommu_64.h60 iopte_t *page_table; member
/arch/x86/mm/
Dinit_32.c99 pte_t *page_table = (pte_t *)alloc_low_page(); in one_page_table_init() local
101 paravirt_alloc_pte(&init_mm, __pa(page_table) >> PAGE_SHIFT); in one_page_table_init()
102 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in one_page_table_init()
103 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in one_page_table_init()
/arch/tile/include/hv/
Dhypervisor.h775 int hv_install_context(HV_PhysAddr page_table, HV_PTE access, HV_ASID asid,
817 HV_PhysAddr page_table; member
/arch/tile/kernel/
Dhvglue_trace.c208 HV_WRAP4(int, hv_install_context, HV_PhysAddr, page_table, HV_PTE, access,