Lines Matching refs:pgtable
167 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level);
236 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level) in __kvm_pgtable_walk() argument
246 kvm_pteref_t pteref = &pgtable[idx]; in __kvm_pgtable_walk()
1398 kvm_pte_t *pgtable; in kvm_pgtable_stage2_create_unlinked() local
1408 pgtable = mm_ops->zalloc_page(mc); in kvm_pgtable_stage2_create_unlinked()
1409 if (!pgtable) in kvm_pgtable_stage2_create_unlinked()
1412 ret = __kvm_pgtable_walk(&data, mm_ops, (kvm_pteref_t)pgtable, in kvm_pgtable_stage2_create_unlinked()
1415 kvm_pgtable_stage2_free_unlinked(mm_ops, pgtable, level); in kvm_pgtable_stage2_create_unlinked()
1419 return pgtable; in kvm_pgtable_stage2_create_unlinked()
1594 void kvm_pgtable_stage2_free_unlinked(struct kvm_pgtable_mm_ops *mm_ops, void *pgtable, s8 level) in kvm_pgtable_stage2_free_unlinked() argument
1596 kvm_pteref_t ptep = (kvm_pteref_t)pgtable; in kvm_pgtable_stage2_free_unlinked()
1616 WARN_ON(mm_ops->page_count(pgtable) != 1); in kvm_pgtable_stage2_free_unlinked()
1617 mm_ops->put_page(pgtable); in kvm_pgtable_stage2_free_unlinked()