Home
last modified time | relevance | path

Searched refs:kernel_to_user_pgdp (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/arch/x86/mm/
Dpti.c142 kernel_to_user_pgdp(pgdp)->pgd = pgd.pgd; in __pti_set_user_pgtbl()
173 pgd_t *pgd = kernel_to_user_pgdp(pgd_offset_k(address)); in pti_user_pagetable_walk_p4d()
291 set_vsyscall_pgtable_user_bits(kernel_to_user_pgdp(swapper_pg_dir)); in pti_setup_vsyscall()
Dpgtable.c289 pgdp = kernel_to_user_pgdp(pgdp); in pgd_mop_up_pmds()
323 pgd_t *s_pgd = kernel_to_user_pgdp(swapper_pg_dir); in pgd_prepopulate_user_pmd()
324 pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd); in pgd_prepopulate_user_pmd()
Ddump_pagetables.c413 pgd = kernel_to_user_pgdp(pgd); in ptdump_walk_pgd_level_debugfs()
429 pgd = kernel_to_user_pgdp(pgd); in ptdump_walk_user_pgd_level_checkwx()
/Linux-v5.10/arch/x86/kernel/
Dldt.c237 pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd); in map_ldt_struct_to_user()
250 pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd); in sanity_check_ldt_mapping()
269 set_pgd(kernel_to_user_pgdp(pgd), *pgd); in map_ldt_struct_to_user()
276 bool had_user = (kernel_to_user_pgdp(pgd)->pgd != 0); in sanity_check_ldt_mapping()
/Linux-v5.10/arch/x86/include/asm/
Dpgtable.h1223 static inline pgd_t *kernel_to_user_pgdp(pgd_t *pgdp) in kernel_to_user_pgdp() function
1261 memcpy(kernel_to_user_pgdp(dst), kernel_to_user_pgdp(src), in clone_pgd_range()