Lines Matching refs:p4d
12 * Having the pud type consist of a p4d gets the size right, and allows
13 * us to conceptually access the p4d entry that this pud is folded into
16 typedef struct { p4d_t p4d; } pud_t;
26 * into the p4d entry)
28 static inline int p4d_none(p4d_t p4d) { return 0; }
29 static inline int p4d_bad(p4d_t p4d) { return 0; }
30 static inline int p4d_present(p4d_t p4d) { return 1; }
31 static inline void p4d_clear(p4d_t *p4d) { }
32 #define pud_ERROR(pud) (p4d_ERROR((pud).p4d))
34 #define p4d_populate(mm, p4d, pud) do { } while (0)
35 #define p4d_populate_safe(mm, p4d, pud) do { } while (0)
42 static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address)
44 return (pud_t *)p4d;
48 #define pud_val(x) (p4d_val((x).p4d))
51 #define p4d_page(p4d) (pud_page((pud_t){ p4d }))
52 #define p4d_pgtable(p4d) ((pud_t *)(pud_pgtable((pud_t){ p4d })))
56 * inside the p4d, so has no extra memory associated with it.