Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kernel/
Dldt.c153 pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd); in map_ldt_struct_to_user()
166 pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd); in sanity_check_ldt_mapping()
185 set_pgd(kernel_to_user_pgdp(pgd), *pgd); in map_ldt_struct_to_user()
192 bool had_user = (kernel_to_user_pgdp(pgd)->pgd != 0); in sanity_check_ldt_mapping()
/Linux-v5.4/arch/x86/mm/
Dpti.c143 kernel_to_user_pgdp(pgdp)->pgd = pgd.pgd; in __pti_set_user_pgtbl()
174 pgd_t *pgd = kernel_to_user_pgdp(pgd_offset_k(address)); in pti_user_pagetable_walk_p4d()
292 set_vsyscall_pgtable_user_bits(kernel_to_user_pgdp(swapper_pg_dir)); in pti_setup_vsyscall()
Dpgtable.c282 pgdp = kernel_to_user_pgdp(pgdp); in pgd_mop_up_pmds()
316 pgd_t *s_pgd = kernel_to_user_pgdp(swapper_pg_dir); in pgd_prepopulate_user_pmd()
317 pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd); in pgd_prepopulate_user_pmd()
Ddump_pagetables.c578 pgd = kernel_to_user_pgdp(pgd); in ptdump_walk_pgd_level_debugfs()
594 pgd = kernel_to_user_pgdp(pgd); in ptdump_walk_user_pgd_level_checkwx()
/Linux-v5.4/arch/x86/include/asm/
Dpgtable.h1266 static inline pgd_t *kernel_to_user_pgdp(pgd_t *pgdp) in kernel_to_user_pgdp() function
1304 memcpy(kernel_to_user_pgdp(dst), kernel_to_user_pgdp(src), in clone_pgd_range()