Lines Matching refs:pgd
9 typedef struct { pgd_t pgd; } p4d_t;
20 * into the pgd entry)
22 static inline int pgd_none(pgd_t pgd) { return 0; }
23 static inline int pgd_bad(pgd_t pgd) { return 0; }
24 static inline int pgd_present(pgd_t pgd) { return 1; }
25 static inline void pgd_clear(pgd_t *pgd) { }
26 #define p4d_ERROR(p4d) (pgd_ERROR((p4d).pgd))
28 #define pgd_populate(mm, pgd, p4d) do { } while (0)
29 #define pgd_populate_safe(mm, pgd, p4d) do { } while (0)
36 static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
38 return (p4d_t *)pgd;
41 #define p4d_val(x) (pgd_val((x).pgd))
44 #define pgd_page(pgd) (p4d_page((p4d_t){ pgd }))
45 #define pgd_page_vaddr(pgd) ((unsigned long)(p4d_pgtable((p4d_t){ pgd })))
49 * inside the pgd, so has no extra memory associated with it.