Lines Matching defs:pgdp
68 #define set_pgd(pgdp, pgd) native_set_pgd(pgdp, pgd)
905 pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd);
908 * Take a PGD location (pgdp) and a pgd value that needs to be set there.
912 static inline pgd_t pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd)
916 return __pti_set_user_pgtbl(pgdp, pgd);
919 static inline pgd_t pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd)
1439 static inline pgd_t *kernel_to_user_pgdp(pgd_t *pgdp)
1441 return ptr_set_bit(pgdp, PTI_PGTABLE_SWITCH_BIT);
1444 static inline pgd_t *user_to_kernel_pgdp(pgd_t *pgdp)
1446 return ptr_clear_bit(pgdp, PTI_PGTABLE_SWITCH_BIT);
1743 #define set_pgd_safe(pgdp, pgd) \
1745 WARN_ON_ONCE(pgd_present(*pgdp) && !pgd_same(*pgdp, pgd)); \
1746 set_pgd(pgdp, pgd); \