Lines Matching refs:ptdesc
17 struct ptdesc *ptdesc = pagetable_alloc((GFP_DMA | __GFP_ZERO) & in pte_alloc_one_kernel() local
20 if (!ptdesc) in pte_alloc_one_kernel()
22 if (!pagetable_pte_ctor(mm, ptdesc)) { in pte_alloc_one_kernel()
23 pagetable_free(ptdesc); in pte_alloc_one_kernel()
27 return ptdesc_address(ptdesc); in pte_alloc_one_kernel()
42 struct ptdesc *ptdesc = virt_to_ptdesc(pgtable); in __pte_free_tlb() local
44 pagetable_dtor(ptdesc); in __pte_free_tlb()
45 pagetable_free(ptdesc); in __pte_free_tlb()
50 struct ptdesc *ptdesc = pagetable_alloc(GFP_DMA | __GFP_ZERO, 0); in pte_alloc_one() local
53 if (!ptdesc) in pte_alloc_one()
55 if (!pagetable_pte_ctor(mm, ptdesc)) { in pte_alloc_one()
56 pagetable_free(ptdesc); in pte_alloc_one()
60 pte = ptdesc_address(ptdesc); in pte_alloc_one()
66 struct ptdesc *ptdesc = virt_to_ptdesc(pgtable); in pte_free() local
68 pagetable_dtor(ptdesc); in pte_free()
69 pagetable_free(ptdesc); in pte_free()
86 struct ptdesc *ptdesc = pagetable_alloc((GFP_DMA | __GFP_NOWARN) & in pgd_alloc() local
89 if (!ptdesc) in pgd_alloc()
91 pagetable_pgd_ctor(ptdesc); in pgd_alloc()
92 new_pgd = ptdesc_address(ptdesc); in pgd_alloc()