Lines Matching refs:pgd
68 static inline void radix__pgd_free(struct mm_struct *mm, pgd_t *pgd) in radix__pgd_free() argument
71 free_page((unsigned long)pgd); in radix__pgd_free()
73 free_pages((unsigned long)pgd, 4); in radix__pgd_free()
79 pgd_t *pgd; in pgd_alloc() local
84 pgd = kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), in pgd_alloc()
91 kmemleak_no_scan(pgd); in pgd_alloc()
102 memset(pgd, 0, PGD_TABLE_SIZE); in pgd_alloc()
104 return pgd; in pgd_alloc()
107 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() argument
110 return radix__pgd_free(mm, pgd); in pgd_free()
111 kmem_cache_free(PGT_CACHE(PGD_INDEX_SIZE), pgd); in pgd_free()
114 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate() argument
116 pgd_set(pgd, __pgtable_ptr_val(pud) | PGD_VAL_BITS); in pgd_populate()