Home
last modified time | relevance | path

Searched refs:vcpu_44x (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/kvm/
D44x_tlb.c56 for (i = 0; i < ARRAY_SIZE(vcpu_44x->guest_tlb); i++) { in kvmppc_dump_tlbs()
57 tlbe = &vcpu_44x->guest_tlb[i]; in kvmppc_dump_tlbs()
142 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_44x_tlb_load() local
146 struct kvmppc_44x_tlbe *stlbe = &vcpu_44x->shadow_tlb[i]; in kvmppc_44x_tlb_load()
153 static void kvmppc_44x_tlbe_set_modified(struct kvmppc_vcpu_44x *vcpu_44x, in kvmppc_44x_tlbe_set_modified() argument
156 vcpu_44x->shadow_tlb_mod[i] = 1; in kvmppc_44x_tlbe_set_modified()
162 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_44x_tlb_put() local
166 struct kvmppc_44x_tlbe *stlbe = &vcpu_44x->shadow_tlb[i]; in kvmppc_44x_tlb_put()
168 if (vcpu_44x->shadow_tlb_mod[i]) in kvmppc_44x_tlb_put()
181 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_44x_tlb_index() local
[all …]
D44x.c121 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_core_vcpu_setup() local
122 struct kvmppc_44x_tlbe *tlbe = &vcpu_44x->guest_tlb[0]; in kvmppc_core_vcpu_setup()
142 for (i = 0; i < ARRAY_SIZE(vcpu_44x->shadow_refs); i++) in kvmppc_core_vcpu_setup()
143 vcpu_44x->shadow_refs[i].gtlb_index = -1; in kvmppc_core_vcpu_setup()
152 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_core_vcpu_translate() local
169 gtlbe = &vcpu_44x->guest_tlb[index]; in kvmppc_core_vcpu_translate()
180 struct kvmppc_vcpu_44x *vcpu_44x; in kvmppc_core_vcpu_create() local
184 vcpu_44x = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvmppc_core_vcpu_create()
185 if (!vcpu_44x) { in kvmppc_core_vcpu_create()
190 vcpu = &vcpu_44x->vcpu; in kvmppc_core_vcpu_create()
[all …]
Dbooke.c289 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_handle_exit() local
307 gtlbe = &vcpu_44x->guest_tlb[gtlb_index]; in kvmppc_handle_exit()
334 struct kvmppc_vcpu_44x *vcpu_44x = to_44x(vcpu); in kvmppc_handle_exit() local
354 gtlbe = &vcpu_44x->guest_tlb[gtlb_index]; in kvmppc_handle_exit()