Searched refs:p4d (Results 1 – 5 of 5) sorted by relevance
/include/asm-generic/ |
D | 5level-fixup.h | 16 #define pud_alloc(mm, p4d, address) \ argument 17 ((unlikely(pgd_none(*(p4d))) && __pud_alloc(mm, p4d, address)) ? \ 18 NULL : pud_offset(p4d, address)) 24 static inline int p4d_none(p4d_t p4d) in p4d_none() argument 29 static inline int p4d_bad(p4d_t p4d) in p4d_bad() argument 34 static inline int p4d_present(p4d_t p4d) in p4d_present() argument 40 #define p4d_ERROR(p4d) do { } while (0) argument 41 #define p4d_clear(p4d) pgd_clear(p4d) argument 42 #define p4d_val(p4d) pgd_val(p4d) argument 43 #define p4d_populate(mm, p4d, pud) pgd_populate(mm, p4d, pud) argument [all …]
|
D | pgtable-nopud.h | 19 typedef struct { p4d_t p4d; } pud_t; member 31 static inline int p4d_none(p4d_t p4d) { return 0; } in p4d_none() argument 32 static inline int p4d_bad(p4d_t p4d) { return 0; } in p4d_bad() argument 33 static inline int p4d_present(p4d_t p4d) { return 1; } in p4d_present() argument 34 static inline void p4d_clear(p4d_t *p4d) { } in p4d_clear() argument 35 #define pud_ERROR(pud) (p4d_ERROR((pud).p4d)) 37 #define p4d_populate(mm, p4d, pud) do { } while (0) argument 38 #define p4d_populate_safe(mm, p4d, pud) do { } while (0) argument 45 static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address) in pud_offset() argument 47 return (pud_t *)p4d; in pud_offset() [all …]
|
D | pgtable-nop4d.h | 26 #define p4d_ERROR(p4d) (pgd_ERROR((p4d).pgd)) argument 28 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument 29 #define pgd_populate_safe(mm, pgd, p4d) do { } while (0) argument
|
D | pgtable.h | 368 #define p4d_access_permitted(p4d, write) \ argument 369 (p4d_present(p4d) && (!(write) || p4d_write(p4d))) 429 #define set_p4d_safe(p4dp, p4d) \ argument 431 WARN_ON_ONCE(p4d_present(*p4dp) && !p4d_same(*p4dp, p4d)); \ 432 set_p4d(p4dp, p4d); \ 576 static inline int p4d_none_or_clear_bad(p4d_t *p4d) in p4d_none_or_clear_bad() argument 578 if (p4d_none(*p4d)) in p4d_none_or_clear_bad() 580 if (unlikely(p4d_bad(*p4d))) { in p4d_none_or_clear_bad() 581 p4d_clear_bad(p4d); in p4d_none_or_clear_bad() 1042 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot); [all …]
|
/include/linux/ |
D | mm.h | 1768 static inline int __pud_alloc(struct mm_struct *mm, p4d_t *p4d, in __pud_alloc() argument 1777 int __pud_alloc(struct mm_struct *mm, p4d_t *p4d, unsigned long address); 1871 static inline pud_t *pud_alloc(struct mm_struct *mm, p4d_t *p4d, in pud_alloc() argument 1874 return (unlikely(p4d_none(*p4d)) && __pud_alloc(mm, p4d, address)) ? in pud_alloc() 1875 NULL : pud_offset(p4d, address); in pud_alloc() 2770 pud_t *vmemmap_pud_populate(p4d_t *p4d, unsigned long addr, int node);
|