Lines Matching refs:ptdesc

21 	struct ptdesc *ptdesc = pagetable_alloc_noprof(GFP_PGTABLE_KERNEL &  in __pte_alloc_one_kernel_noprof()  local
24 if (!ptdesc) in __pte_alloc_one_kernel_noprof()
26 if (!pagetable_pte_ctor(mm, ptdesc)) { in __pte_alloc_one_kernel_noprof()
27 pagetable_free(ptdesc); in __pte_alloc_one_kernel_noprof()
31 return ptdesc_address(ptdesc); in __pte_alloc_one_kernel_noprof()
73 struct ptdesc *ptdesc; in __pte_alloc_one_noprof() local
75 ptdesc = pagetable_alloc_noprof(gfp, 0); in __pte_alloc_one_noprof()
76 if (!ptdesc) in __pte_alloc_one_noprof()
78 if (!pagetable_pte_ctor(mm, ptdesc)) { in __pte_alloc_one_noprof()
79 pagetable_free(ptdesc); in __pte_alloc_one_noprof()
83 return ptdesc_page(ptdesc); in __pte_alloc_one_noprof()
115 struct ptdesc *ptdesc = page_ptdesc(pte_page); in pte_free() local
117 pagetable_dtor_free(ptdesc); in pte_free()
137 struct ptdesc *ptdesc; in pmd_alloc_one_noprof() local
142 ptdesc = pagetable_alloc_noprof(gfp, 0); in pmd_alloc_one_noprof()
143 if (!ptdesc) in pmd_alloc_one_noprof()
145 if (!pagetable_pmd_ctor(mm, ptdesc)) { in pmd_alloc_one_noprof()
146 pagetable_free(ptdesc); in pmd_alloc_one_noprof()
149 return ptdesc_address(ptdesc); in pmd_alloc_one_noprof()
157 struct ptdesc *ptdesc = virt_to_ptdesc(pmd); in pmd_free() local
160 pagetable_dtor_free(ptdesc); in pmd_free()
171 struct ptdesc *ptdesc; in __pud_alloc_one_noprof() local
177 ptdesc = pagetable_alloc_noprof(gfp, 0); in __pud_alloc_one_noprof()
178 if (!ptdesc) in __pud_alloc_one_noprof()
181 pagetable_pud_ctor(ptdesc); in __pud_alloc_one_noprof()
182 return ptdesc_address(ptdesc); in __pud_alloc_one_noprof()
205 struct ptdesc *ptdesc = virt_to_ptdesc(pud); in __pud_free() local
208 pagetable_dtor_free(ptdesc); in __pud_free()
225 struct ptdesc *ptdesc; in __p4d_alloc_one_noprof() local
231 ptdesc = pagetable_alloc_noprof(gfp, 0); in __p4d_alloc_one_noprof()
232 if (!ptdesc) in __p4d_alloc_one_noprof()
235 pagetable_p4d_ctor(ptdesc); in __p4d_alloc_one_noprof()
236 return ptdesc_address(ptdesc); in __p4d_alloc_one_noprof()
250 struct ptdesc *ptdesc = virt_to_ptdesc(p4d); in __p4d_free() local
253 pagetable_dtor_free(ptdesc); in __p4d_free()
269 struct ptdesc *ptdesc; in __pgd_alloc_noprof() local
275 ptdesc = pagetable_alloc_noprof(gfp, order); in __pgd_alloc_noprof()
276 if (!ptdesc) in __pgd_alloc_noprof()
279 pagetable_pgd_ctor(ptdesc); in __pgd_alloc_noprof()
280 return ptdesc_address(ptdesc); in __pgd_alloc_noprof()
286 struct ptdesc *ptdesc = virt_to_ptdesc(pgd); in __pgd_free() local
289 pagetable_dtor_free(ptdesc); in __pgd_free()