Lines Matching refs:pgd
138 static inline pgd_t *pgd_offset_pgd(pgd_t *pgd, unsigned long address) in pgd_offset_pgd() argument
140 return (pgd + pgd_index(address)); in pgd_offset_pgd()
147 #define pgd_offset(mm, address) pgd_offset_pgd((mm)->pgd, (address))
1028 #define pgd_access_permitted(pgd, write) \ argument
1029 (pgd_present(pgd) && (!(write) || pgd_write(pgd)))
1093 #define set_pgd_safe(pgdp, pgd) \ argument
1095 WARN_ON_ONCE(pgd_present(*pgdp) && !pgd_same(*pgdp, pgd)); \
1096 set_pgd(pgdp, pgd); \
1246 static inline int pgd_none_or_clear_bad(pgd_t *pgd) in pgd_none_or_clear_bad() argument
1248 if (pgd_none(*pgd)) in pgd_none_or_clear_bad()
1250 if (unlikely(pgd_bad(*pgd))) { in pgd_none_or_clear_bad()
1251 pgd_clear_bad(pgd); in pgd_none_or_clear_bad()
1646 static inline int pgd_devmap(pgd_t pgd) in pgd_devmap() argument
1896 #define p4d_offset_lockless(pgdp, pgd, address) p4d_offset(&(pgd), address) argument