Lines Matching refs:pmd
349 pmd_t *pmd; /* Pointer to pmd entry matching member
480 static inline int pmd_devmap(pmd_t pmd) in pmd_devmap() argument
1349 pmd_t pmd);
1385 int (*pmd_entry)(pmd_t *pmd, unsigned long addr,
1823 int __pte_alloc(struct mm_struct *mm, pmd_t *pmd, unsigned long address);
1824 int __pte_alloc_kernel(pmd_t *pmd, unsigned long address);
1885 static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) in pte_lockptr() argument
1887 return ptlock_ptr(pmd_page(*pmd)); in pte_lockptr()
1917 static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) in pte_lockptr() argument
1948 #define pte_offset_map_lock(mm, pmd, address, ptlp) \ argument
1950 spinlock_t *__ptl = pte_lockptr(mm, pmd); \
1951 pte_t *__pte = pte_offset_map(pmd, address); \
1962 #define pte_alloc(mm, pmd, address) \ argument
1963 (unlikely(pmd_none(*(pmd))) && __pte_alloc(mm, pmd, address))
1965 #define pte_alloc_map(mm, pmd, address) \ argument
1966 (pte_alloc(mm, pmd, address) ? NULL : pte_offset_map(pmd, address))
1968 #define pte_alloc_map_lock(mm, pmd, address, ptlp) \ argument
1969 (pte_alloc(mm, pmd, address) ? \
1970 NULL : pte_offset_map_lock(mm, pmd, address, ptlp))
1972 #define pte_alloc_kernel(pmd, address) \ argument
1973 ((unlikely(pmd_none(*(pmd))) && __pte_alloc_kernel(pmd, address))? \
1974 NULL: pte_offset_kernel(pmd, address))
1978 static struct page *pmd_to_page(pmd_t *pmd) in pmd_to_page() argument
1981 return virt_to_page((void *)((unsigned long) pmd & mask)); in pmd_to_page()
1984 static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd) in pmd_lockptr() argument
1986 return ptlock_ptr(pmd_to_page(pmd)); in pmd_lockptr()
2005 #define pmd_huge_pte(mm, pmd) (pmd_to_page(pmd)->pmd_huge_pte) argument
2009 static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd) in pmd_lockptr() argument
2017 #define pmd_huge_pte(mm, pmd) ((mm)->pmd_huge_pte) argument
2021 static inline spinlock_t *pmd_lock(struct mm_struct *mm, pmd_t *pmd) in pmd_lock() argument
2023 spinlock_t *ptl = pmd_lockptr(mm, pmd); in pmd_lock()
2715 pte_t *vmemmap_pte_populate(pmd_t *pmd, unsigned long addr, int node);