Lines Matching refs:pmd
30 pmd_t *pmd,
34 pmd_t *pmd, unsigned long addr, unsigned long next);
37 pmd_t *pmd, unsigned long addr);
41 extern int mincore_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
47 extern int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
150 void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
183 extern spinlock_t *__pmd_trans_huge_lock(pmd_t *pmd,
188 static inline int is_swap_pmd(pmd_t pmd) in is_swap_pmd() argument
190 return !pmd_none(pmd) && !pmd_present(pmd); in is_swap_pmd()
194 static inline spinlock_t *pmd_trans_huge_lock(pmd_t *pmd, in pmd_trans_huge_lock() argument
198 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) in pmd_trans_huge_lock()
199 return __pmd_trans_huge_lock(pmd, vma); in pmd_trans_huge_lock()
220 pmd_t *pmd, int flags);
234 static inline bool is_huge_zero_pmd(pmd_t pmd) in is_huge_zero_pmd() argument
236 return READ_ONCE(huge_zero_pfn) == pmd_pfn(pmd) && pmd_present(pmd); in is_huge_zero_pmd()
300 static inline void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd() argument
320 static inline int is_swap_pmd(pmd_t pmd) in is_swap_pmd() argument
324 static inline spinlock_t *pmd_trans_huge_lock(pmd_t *pmd, in pmd_trans_huge_lock() argument
346 static inline bool is_huge_zero_pmd(pmd_t pmd) in is_huge_zero_pmd() argument
362 unsigned long addr, pmd_t *pmd, int flags) in follow_devmap_pmd() argument