Lines Matching refs:pgdp
164 static inline pgd_t *kernel_to_user_pgdp(pgd_t *pgdp) in kernel_to_user_pgdp() argument
166 return ptr_set_bit(pgdp, PTI_PGTABLE_SWITCH_BIT); in kernel_to_user_pgdp()
169 static inline pgd_t *user_to_kernel_pgdp(pgd_t *pgdp) in user_to_kernel_pgdp() argument
171 return ptr_clear_bit(pgdp, PTI_PGTABLE_SWITCH_BIT); in user_to_kernel_pgdp()
200 pgd_t __pti_set_user_pgd(pgd_t *pgdp, pgd_t pgd);
207 static inline pgd_t pti_set_user_pgd(pgd_t *pgdp, pgd_t pgd) in pti_set_user_pgd() argument
211 return __pti_set_user_pgd(pgdp, pgd); in pti_set_user_pgd()
214 static inline pgd_t pti_set_user_pgd(pgd_t *pgdp, pgd_t pgd) in pti_set_user_pgd() argument
238 static inline void native_set_pgd(pgd_t *pgdp, pgd_t pgd) in native_set_pgd() argument
241 WRITE_ONCE(*pgdp, pti_set_user_pgd(pgdp, pgd)); in native_set_pgd()
243 WRITE_ONCE(*pgdp, pgd); in native_set_pgd()