/include/asm-generic/ |
D | pgtable-nopmd.h | 18 typedef struct { pud_t pud; } pmd_t; member 30 static inline int pud_none(pud_t pud) { return 0; } in pud_none() argument 31 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad() argument 32 static inline int pud_present(pud_t pud) { return 1; } in pud_present() argument 33 static inline void pud_clear(pud_t *pud) { } in pud_clear() argument 34 #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud)) 44 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset() argument 46 return (pmd_t *)pud; in pmd_offset() 50 #define pmd_val(x) (pud_val((x).pud)) 53 #define pud_page(pud) (pmd_page((pmd_t){ pud })) argument [all …]
|
D | pgtable-nopud.h | 32 #define pud_ERROR(pud) (p4d_ERROR((pud).p4d)) argument 34 #define p4d_populate(mm, p4d, pud) do { } while (0) argument 35 #define p4d_populate_safe(mm, p4d, pud) do { } while (0) argument
|
D | pgalloc.h | 170 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() argument 172 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in pud_free() 173 free_page((unsigned long)pud); in pud_free()
|
/include/linux/ |
D | pgtable.h | 108 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) in pmd_offset() argument 110 return pud_pgtable(*pud) + pmd_index(address); in pmd_offset() 382 pud_t pud = *pudp; in pudp_huge_get_and_clear() local 385 return pud; in pudp_huge_get_and_clear() 627 #define pud_access_permitted(pud, write) \ argument 628 (pud_present(pud) && (!(write) || pud_write(pud))) 687 #define set_pud_safe(pudp, pud) \ argument 689 WARN_ON_ONCE(pud_present(*pudp) && !pud_same(*pudp, pud)); \ 690 set_pud(pudp, pud); \ 860 static inline int pud_none_or_clear_bad(pud_t *pud) in pud_none_or_clear_bad() argument [all …]
|
D | huge_mm.h | 35 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud, 212 void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud, 228 spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma); 244 static inline spinlock_t *pud_trans_huge_lock(pud_t *pud, in pud_trans_huge_lock() argument 247 if (pud_trans_huge(*pud) || pud_devmap(*pud)) in pud_trans_huge_lock() 248 return __pud_trans_huge_lock(pud, vma); in pud_trans_huge_lock() 289 pud_t *pud, int flags, struct dev_pagemap **pgmap); 306 static inline bool is_huge_zero_pud(pud_t pud) in is_huge_zero_pud() argument 438 static inline spinlock_t *pud_trans_huge_lock(pud_t *pud, in pud_trans_huge_lock() argument 459 static inline bool is_huge_zero_pud(pud_t pud) in is_huge_zero_pud() argument [all …]
|
D | pagewalk.h | 42 int (*pud_entry)(pud_t *pud, unsigned long addr,
|
D | pfn_t.h | 116 pud_t pud_mkdevmap(pud_t pud);
|
D | hugetlb.h | 180 unsigned long addr, pud_t *pud); 205 pud_t *pud, int flags); 210 int pud_huge(pud_t pud); 297 unsigned long address, pud_t *pud, int flags) in follow_huge_pud() argument 319 static inline int pud_huge(pud_t pud) in pud_huge() argument
|
D | mm.h | 555 pud_t *pud; /* Pointer to pud entry matching member 2163 static inline int __pmd_alloc(struct mm_struct *mm, pud_t *pud, in __pmd_alloc() argument 2173 int __pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address); 2241 static inline pmd_t *pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address) in pmd_alloc() argument 2243 return (unlikely(pud_none(*pud)) && __pmd_alloc(mm, pud, address))? in pmd_alloc() 2244 NULL: pmd_offset(pud, address); in pmd_alloc() 2435 static inline spinlock_t *pud_lockptr(struct mm_struct *mm, pud_t *pud) in pud_lockptr() argument 2440 static inline spinlock_t *pud_lock(struct mm_struct *mm, pud_t *pud) in pud_lock() argument 2442 spinlock_t *ptl = pud_lockptr(mm, pud); in pud_lock() 3173 pmd_t *vmemmap_pmd_populate(pud_t *pud, unsigned long addr, int node);
|