Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dpaging_tmpl.h77 struct kvm_shadow_walk walker; member
132 static int FNAME(walk_addr)(struct guest_walker *walker, in FNAME()
143 walker->level = vcpu->arch.mmu.root_level; in FNAME()
150 --walker->level; in FNAME()
159 index = PT_INDEX(addr, walker->level); in FNAME()
164 walker->table_gfn[walker->level - 1] = table_gfn; in FNAME()
165 walker->pte_gpa[walker->level - 1] = pte_gpa; in FNAME()
167 walker->level - 1, table_gfn); in FNAME()
196 walker->ptes[walker->level - 1] = pte; in FNAME()
198 if (walker->level == PT_PAGE_TABLE_LEVEL) { in FNAME()
[all …]
Dmmu.c1258 static int walk_shadow(struct kvm_shadow_walk *walker, in walk_shadow() argument
1280 r = walker->entry(walker, vcpu, addr, sptep, level); in walk_shadow()
1824 struct kvm_shadow_walk walker; member
1836 container_of(_walk, struct direct_shadow_walk, walker); in direct_map_entry()
1872 struct direct_shadow_walk walker = { in __direct_map() local
1873 .walker = { .entry = direct_map_entry, }, in __direct_map()
1880 r = walk_shadow(&walker.walker, vcpu, gfn << PAGE_SHIFT); in __direct_map()
1883 return walker.pt_write; in __direct_map()