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