Home
last modified time | relevance | path

Searched refs:walker (Results 1 – 7 of 7) sorted by relevance

/arch/x86/kvm/mmu/
Dpaging_tmpl.h234 struct guest_walker *walker, in FNAME()
247 for (level = walker->max_level; level >= walker->level; --level) { in FNAME()
248 pte = orig_pte = walker->ptes[level - 1]; in FNAME()
249 table_gfn = walker->table_gfn[level - 1]; in FNAME()
250 ptep_user = walker->ptep_user[level - 1]; in FNAME()
256 if (level == walker->level && write_fault && in FNAME()
281 if (unlikely(!walker->pte_writable[level - 1])) in FNAME()
289 walker->ptes[level - 1] = pte; in FNAME()
337 static int FNAME(walk_addr_generic)(struct guest_walker *walker, in FNAME()
361 walker->level = mmu->root_level; in FNAME()
[all …]
/arch/arm64/kvm/hyp/
Dpgtable.c51 struct kvm_pgtable_walker *walker; member
171 struct kvm_pgtable_walker *walker = data->walker; in kvm_pgtable_visitor_cb() local
172 return walker->cb(addr, data->end, level, ptep, flag, walker->arg); in kvm_pgtable_visitor_cb()
185 enum kvm_pgtable_walk_flags flags = data->walker->flags; in __kvm_pgtable_visit()
270 struct kvm_pgtable_walker *walker) in kvm_pgtable_walk() argument
276 .walker = walker, in kvm_pgtable_walk()
302 struct kvm_pgtable_walker walker = { in kvm_pgtable_get_leaf() local
310 PAGE_SIZE, &walker); in kvm_pgtable_get_leaf()
430 struct kvm_pgtable_walker walker = { in kvm_pgtable_hyp_map() local
440 ret = kvm_pgtable_walk(pgt, addr, size, &walker); in kvm_pgtable_hyp_map()
[all …]
/arch/arm64/kvm/hyp/nvhe/
Dsetup.c249 struct kvm_pgtable_walker walker = { in fix_host_ownership() local
259 ret = kvm_pgtable_walk(&pkvm_pgtable, start, reg->size, &walker); in fix_host_ownership()
269 struct kvm_pgtable_walker walker = { in fix_hyp_pgtable_refcnt() local
276 &walker); in fix_hyp_pgtable_refcnt()
Dmm.c231 struct kvm_pgtable_walker walker = { in hyp_pin_pgtable_pages() local
236 return kvm_pgtable_walk(&pkvm_pgtable, addr, PAGE_SIZE, &walker); in hyp_pin_pgtable_pages()
Diommu.c199 struct kvm_pgtable_walker walker = { in snapshot_host_stage2() local
209 return kvm_pgtable_walk(pgt, 0, BIT(pgt->ia_bits), &walker); in snapshot_host_stage2()
Dmem_protect.c312 struct kvm_pgtable_walker walker = { in reclaim_guest_pages() local
322 BUG_ON(kvm_pgtable_walk(&vm->pgt, 0, BIT(vm->pgt.ia_bits), &walker)); in reclaim_guest_pages()
801 struct kvm_pgtable_walker walker = { in check_page_state_range() local
807 return kvm_pgtable_walk(pgt, addr, size, &walker); in check_page_state_range()
/arch/arm64/include/asm/
Dkvm_pgtable.h519 struct kvm_pgtable_walker *walker);