Home
last modified time | relevance | path

Searched refs:pgd_offset_k (Results 1 – 25 of 56) sorted by relevance

123

/linux/arch/x86/mm/
A Dkasan_init_64.c150 pgd = pgd_offset_k(addr); in kasan_populate_shadow()
176 pgd = pgd_offset_k(start); in clear_pgds()
187 pgd = pgd_offset_k(start); in clear_pgds()
271 pgd = pgd_offset_k(addr); in kasan_shallow_populate_pgds()
342 ptr = (void *)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_END)); in kasan_init()
A Dinit_64.c133 const pgd_t *pgd_ref = pgd_offset_k(addr); in sync_global_pgds_l5()
170 pgd_t *pgd_ref = pgd_offset_k(addr); in sync_global_pgds_l4()
327 pgd = pgd_offset_k(vaddr); in set_pte_vaddr()
344 pgd = pgd_offset_k(vaddr); in populate_extra_pmd()
374 pgd = pgd_offset_k((unsigned long)__va(phys)); in __init_extra_mapping()
740 pgd_t *pgd = pgd_offset_k(vaddr); in __kernel_physical_mapping_init()
1229 pgd = pgd_offset_k(addr); in remove_pagetable()
1291 pgd_t *pgd = pgd_offset_k(addr); in preallocate_vmalloc_pages()
1430 pgd = pgd_offset_k(addr); in kern_addr_valid()
1643 pgd = pgd_offset_k(addr); in register_page_bootmem_memmap()
A Dpti.c173 pgd_t *pgd = kernel_to_user_pgdp(pgd_offset_k(address)); in pti_user_pagetable_walk_p4d()
323 pgd = pgd_offset_k(addr); in pti_clone_pgtable()
426 kernel_pgd = pgd_offset_k(addr); in pti_clone_p4d()
A Dkaslr.c159 pgd = pgd_offset_k(vaddr); in init_trampoline_kaslr()
/linux/arch/arm64/mm/
A Dkasan_init.c161 pgdp = pgd_offset_k(addr); in kasan_pgd_populate()
194 pgdp = pgd_offset_k(KASAN_SHADOW_START); in kasan_copy_shadow()
195 pgdp_end = pgd_offset_k(KASAN_SHADOW_END); in kasan_copy_shadow()
211 set_pgd(pgd_offset_k(start), __pgd(0)); in clear_pgds()
A Dmmu.c706 READ_ONCE(*pgd_offset_k(FIXADDR_START))); in map_kernel()
763 pgdp = pgd_offset_k(addr); in kern_addr_valid()
953 pgdp = pgd_offset_k(addr); in unmap_hotplug_range()
1107 pgdp = pgd_offset_k(addr); in free_empty_tables()
1185 pgd_t *pgdp = pgd_offset_k(addr); in fixmap_pud()
1223 pgdp = pgd_offset_k(addr); in early_fixmap_init()
A Dpageattr.c217 pgdp = pgd_offset_k(addr); in kernel_page_present()
/linux/arch/riscv/mm/
A Dkasan_init.c42 pgd = pgd_offset_k(KASAN_SHADOW_START); in kasan_early_init()
114 pgd_t *pgdp = pgd_offset_k(vaddr); in kasan_populate_pgd()
153 pgd_t *pgd_k = pgd_offset_k(vaddr); in kasan_shallow_populate_pgd()
/linux/arch/powerpc/mm/nohash/
A Dbook3e_pgtable.c83 pgdp = pgd_offset_k(ea); in map_kernel_page()
95 pgdp = pgd_offset_k(ea); in map_kernel_page()
/linux/arch/m68k/mm/
A Dkmap.c69 pgd_dir = pgd_offset_k(virtaddr); in __free_io_area()
251 pgd_dir = pgd_offset_k(virtaddr); in __ioremap()
354 pgd_dir = pgd_offset_k(virtaddr); in kernel_set_cachemode()
/linux/arch/csky/mm/
A Dtcm.c45 pte_offset_kernel((pmd_t *)pgd_offset_k(vaddr), vaddr);
64 pte_offset_kernel((pmd_t *) pgd_offset_k(vaddr), vaddr);
/linux/arch/arm/mm/
A Dpgd.c47 init_pgd = pgd_offset_k(0); in pgd_alloc()
73 init_pgd = pgd_offset_k(TASK_SIZE); in pgd_alloc()
A Dkasan_init.c126 pgdp = pgd_offset_k(addr); in kasan_pgd_populate()
229 (void*)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_START)), in kasan_init()
/linux/arch/sparc/mm/
A Dsrmmu.c305 pgd = pgd_offset_k(vaddr); in srmmu_nocache_init()
332 pgd_t *init = pgd_offset_k(0); in get_pgd_fast()
504 pgdp = pgd_offset_k(virt_addr); in srmmu_mapioaddr()
542 pgdp = pgd_offset_k(virt_addr); in srmmu_unmapioaddr()
689 pgdp = pgd_offset_k(start); in srmmu_early_allocate_ptable_skeleton()
724 pgdp = pgd_offset_k(start); in srmmu_allocate_ptable_skeleton()
809 pgdp = pgd_offset_k(start); in srmmu_inherit_prom_mappings()
849 pgd_t *pgdp = pgd_offset_k(vaddr); in do_large_mapping()
962 pgd = pgd_offset_k(PKMAP_BASE); in srmmu_paging_init()
/linux/arch/parisc/mm/
A Dfixmap.c16 pgd_t *pgd = pgd_offset_k(vaddr); in set_fixmap()
/linux/arch/sh/mm/
A Dtlbex_32.c38 pgd = pgd_offset_k(address); in handle_tlbmiss()
/linux/arch/nds32/mm/
A Dmm-nds32.c29 init_pgd = pgd_offset_k(0); in pgd_alloc()
/linux/arch/powerpc/mm/book3s64/
A Dradix_pgtable.c81 pgdp = pgd_offset_k(ea); in early_map_kernel_page()
150 pgdp = pgd_offset_k(ea); in __map_kernel_page()
201 pgdp = pgd_offset_k(idx); in radix__change_memory_range()
842 pgd = pgd_offset_k(addr); in remove_pagetable()
/linux/arch/parisc/kernel/
A Dpci-dma.c133 dir = pgd_offset_k(vaddr); in map_uncached_pages()
221 dir = pgd_offset_k(vaddr); in unmap_uncached_pages()
/linux/arch/openrisc/mm/
A Dinit.c85 pge = pgd_offset_k(v); in map_ram()
/linux/arch/m68k/sun3x/
A Ddvma.c93 pgd = pgd_offset_k(vaddr); in dvma_map_cpu()
/linux/arch/arc/mm/
A Dfault.c37 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault()
/linux/mm/kasan/
A Dinit.c231 pgd_t *pgd = pgd_offset_k(addr); in kasan_populate_early_shadow()
457 pgd = pgd_offset_k(addr); in kasan_remove_zero_shadow()
/linux/arch/ia64/include/asm/
A Dpgtable.h369 #define pgd_offset_k(addr) \ macro
375 #define pgd_offset_gate(mm, addr) pgd_offset_k(addr)
/linux/arch/arc/include/asm/
A Dpgtable-levels.h103 #define pgd_offset_k(addr) pgd_offset(&init_mm, addr) macro

Completed in 62 milliseconds

123