Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/arm64/mm/
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()
Dfixmap.c103 pgd_t *pgdp = pgd_offset_k(addr); in early_fixmap_init()
183 READ_ONCE(*pgd_offset_k(FIXADDR_TOT_START))); in fixmap_copy()
/linux-6.6.21/arch/powerpc/mm/nohash/
Dbook3e_pgtable.c84 pgdp = pgd_offset_k(ea); in map_kernel_page()
96 pgdp = pgd_offset_k(ea); in map_kernel_page()
/linux-6.6.21/arch/x86/mm/
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()
365 ptr = (void *)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_END)); in kasan_init()
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()
Dinit_64.c138 const pgd_t *pgd_ref = pgd_offset_k(addr); in sync_global_pgds_l5()
175 pgd_t *pgd_ref = pgd_offset_k(addr); in sync_global_pgds_l4()
332 pgd = pgd_offset_k(vaddr); in set_pte_vaddr()
349 pgd = pgd_offset_k(vaddr); in populate_extra_pmd()
379 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()
1230 pgd = pgd_offset_k(addr); in remove_pagetable()
1292 pgd_t *pgd = pgd_offset_k(addr); in preallocate_vmalloc_pages()
1575 pgd = pgd_offset_k(addr); in register_page_bootmem_memmap()
Dkaslr.c159 pgd = pgd_offset_k(vaddr); in init_trampoline_kaslr()
/linux-6.6.21/arch/csky/mm/
Dtcm.c45 pte_offset_kernel((pmd_t *)pgd_offset_k(vaddr), vaddr);
64 pte_offset_kernel((pmd_t *) pgd_offset_k(vaddr), vaddr);
/linux-6.6.21/arch/m68k/mm/
Dkmap.c69 pgd_dir = pgd_offset_k(virtaddr); in __free_io_area()
257 pgd_dir = pgd_offset_k(virtaddr); in __ioremap()
363 pgd_dir = pgd_offset_k(virtaddr); in kernel_set_cachemode()
/linux-6.6.21/arch/riscv/mm/
Dkasan_init.c360 kasan_early_populate_pgd(pgd_offset_k(KASAN_SHADOW_START), in kasan_swapper_init()
371 kasan_populate_pgd(pgd_offset_k(vaddr), vaddr, vend); in kasan_populate()
418 pgd_t *pgd_k = pgd_offset_k(vaddr); in kasan_shallow_populate_pgd()
454 ptr = (p4d_t *)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_END)); in create_tmp_mapping()
480 kasan_early_clear_pgd(pgd_offset_k(KASAN_SHADOW_START), in kasan_init()
Dpageattr.c258 return __split_linear_mapping_pgd(pgd_offset_k(start), start, end); in split_linear_mapping()
413 pgd = pgd_offset_k(addr); in kernel_page_present()
/linux-6.6.21/arch/powerpc/mm/kasan/
Dinit_book3e_64.c40 pgdp = pgd_offset_k(ea); in kasan_map_kernel_page()
86 pgd_t *pgd = pgd_offset_k(KASAN_SHADOW_START); in kasan_early_init()
/linux-6.6.21/arch/arm/mm/
Dpgd.c47 init_pgd = pgd_offset_k(0); in pgd_alloc()
73 init_pgd = pgd_offset_k(TASK_SIZE); in pgd_alloc()
Dkasan_init.c125 pgdp = pgd_offset_k(addr); in kasan_pgd_populate()
228 (void*)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_START)), in kasan_init()
/linux-6.6.21/arch/sparc/mm/
Dsrmmu.c305 pgd = pgd_offset_k(vaddr); in srmmu_nocache_init()
332 pgd_t *init = pgd_offset_k(0); in get_pgd_fast()
505 pgdp = pgd_offset_k(virt_addr); in srmmu_mapioaddr()
543 pgdp = pgd_offset_k(virt_addr); in srmmu_unmapioaddr()
690 pgdp = pgd_offset_k(start); in srmmu_early_allocate_ptable_skeleton()
725 pgdp = pgd_offset_k(start); in srmmu_allocate_ptable_skeleton()
810 pgdp = pgd_offset_k(start); in srmmu_inherit_prom_mappings()
850 pgd_t *pgdp = pgd_offset_k(vaddr); in do_large_mapping()
963 pgd = pgd_offset_k(PKMAP_BASE); in srmmu_paging_init()
/linux-6.6.21/arch/parisc/mm/
Dfixmap.c16 pgd_t *pgd = pgd_offset_k(vaddr); in set_fixmap()
/linux-6.6.21/arch/sh/mm/
Dtlbex_32.c38 pgd = pgd_offset_k(address); in handle_tlbmiss()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dradix_pgtable.c82 pgdp = pgd_offset_k(ea); in early_map_kernel_page()
151 pgdp = pgd_offset_k(ea); in __map_kernel_page()
202 pgdp = pgd_offset_k(idx); in radix__change_memory_range()
843 pgd = pgd_offset_k(addr); in remove_pagetable()
1062 pgd = pgd_offset_k(addr); in radix__vmemmap_populate()
1144 pgd = pgd_offset_k(addr); in radix__vmemmap_populate_address()
1179 pgd = pgd_offset_k(map_addr); in vmemmap_compound_tail_page()
1241 pgd = pgd_offset_k(addr); in vmemmap_populate_compound_pages()
/linux-6.6.21/arch/loongarch/mm/
Dkasan_init.c202 pgdp = pgd_offset_k(addr); in kasan_pgd_populate()
237 kasan_set_pgd((pgd_t *)pgd_offset_k(start), __pgd(0)); in clear_pgds()
/linux-6.6.21/arch/m68k/sun3x/
Ddvma.c93 pgd = pgd_offset_k(vaddr); in dvma_map_cpu()
/linux-6.6.21/arch/arc/mm/
Dfault.c38 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault()
/linux-6.6.21/arch/parisc/kernel/
Dpci-dma.c133 dir = pgd_offset_k(vaddr); in map_uncached_pages()
221 dir = pgd_offset_k(vaddr); in unmap_uncached_pages()
/linux-6.6.21/arch/openrisc/mm/
Dinit.c83 pge = pgd_offset_k(v); in map_ram()
/linux-6.6.21/arch/ia64/mm/
Dfault.c37 pgd = pgd_offset_k(address); in mapped_kernel_page_is_present()
/linux-6.6.21/mm/kasan/
Dinit.c241 pgd_t *pgd = pgd_offset_k(addr); in kasan_populate_early_shadow()
470 pgd = pgd_offset_k(addr); in kasan_remove_zero_shadow()

123