Home | History | Annotate | Download | only in asm-mips

Lines Matching defs:pmd

16 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd,
19 set_pmd(pmd, __pmd((unsigned long)pte));
22 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd,
25 set_pmd(pmd, __pmd((unsigned long)page_address(pte)));
27 #define pmd_pgtable(pmd) pmd_page(pmd)
30 * Initialize a new pmd table with invalid pointers.
36 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)
38 set_pud(pud, __pud((unsigned long)pmd));
43 * Initialize a new pgd / pmd table with invalid pointers.
110 * allocating and freeing a pmd is trivial: the 1-entry pmd is
122 pmd_t *pmd;
124 pmd = (pmd_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT, PMD_ORDER);
125 if (pmd)
126 pmd_init((unsigned long)pmd, (unsigned long)invalid_pte_table);
127 return pmd;
130 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd)
132 free_pages((unsigned long)pmd, PMD_ORDER);