Lines Matching refs:ptdesc

20 	struct ptdesc *ptdesc;  in crst_table_alloc_noprof()  local
25 ptdesc = pagetable_alloc_noprof(gfp, CRST_ALLOC_ORDER); in crst_table_alloc_noprof()
26 if (!ptdesc) in crst_table_alloc_noprof()
28 table = ptdesc_address(ptdesc); in crst_table_alloc_noprof()
119 struct ptdesc *page_table_alloc_pgste_noprof(struct mm_struct *mm) in page_table_alloc_pgste_noprof()
121 struct ptdesc *ptdesc; in page_table_alloc_pgste_noprof() local
124 ptdesc = pagetable_alloc_noprof(GFP_KERNEL_ACCOUNT, 0); in page_table_alloc_pgste_noprof()
125 if (ptdesc) { in page_table_alloc_pgste_noprof()
126 table = (u64 *)ptdesc_address(ptdesc); in page_table_alloc_pgste_noprof()
131 return ptdesc; in page_table_alloc_pgste_noprof()
134 void page_table_free_pgste(struct ptdesc *ptdesc) in page_table_free_pgste() argument
136 pagetable_free(ptdesc); in page_table_free_pgste()
144 struct ptdesc *ptdesc; in page_table_alloc_noprof() local
149 ptdesc = pagetable_alloc_noprof(gfp, 0); in page_table_alloc_noprof()
150 if (!ptdesc) in page_table_alloc_noprof()
152 if (!pagetable_pte_ctor(mm, ptdesc)) { in page_table_alloc_noprof()
153 pagetable_free(ptdesc); in page_table_alloc_noprof()
156 table = ptdesc_address(ptdesc); in page_table_alloc_noprof()
165 struct ptdesc *ptdesc = virt_to_ptdesc(table); in page_table_free() local
167 pagetable_dtor_free(ptdesc); in page_table_free()
173 struct ptdesc *ptdesc = container_of(head, struct ptdesc, pt_rcu_head); in pte_free_now() local
175 pagetable_dtor_free(ptdesc); in pte_free_now()
180 struct ptdesc *ptdesc = virt_to_ptdesc(pgtable); in pte_free_defer() local
182 call_rcu(&ptdesc->pt_rcu_head, pte_free_now); in pte_free_defer()
211 struct ptdesc *ptdesc; in base_crst_alloc() local
213 ptdesc = pagetable_alloc(GFP_KERNEL, CRST_ALLOC_ORDER); in base_crst_alloc()
214 if (!ptdesc) in base_crst_alloc()
216 table = ptdesc_address(ptdesc); in base_crst_alloc()