Searched refs:vcpu3s (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_mmu_hpte.c | 70 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_hpte_cache_map() local 74 spin_lock(&vcpu3s->mmu_lock); in kvmppc_mmu_hpte_cache_map() 78 hlist_add_head_rcu(&pte->list_pte, &vcpu3s->hpte_hash_pte[index]); in kvmppc_mmu_hpte_cache_map() 83 &vcpu3s->hpte_hash_pte_long[index]); in kvmppc_mmu_hpte_cache_map() 87 hlist_add_head_rcu(&pte->list_vpte, &vcpu3s->hpte_hash_vpte[index]); in kvmppc_mmu_hpte_cache_map() 92 &vcpu3s->hpte_hash_vpte_long[index]); in kvmppc_mmu_hpte_cache_map() 98 &vcpu3s->hpte_hash_vpte_64k[index]); in kvmppc_mmu_hpte_cache_map() 101 vcpu3s->hpte_cache_count++; in kvmppc_mmu_hpte_cache_map() 103 spin_unlock(&vcpu3s->mmu_lock); in kvmppc_mmu_hpte_cache_map() 114 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in invalidate_pte() local [all …]
|
D | book3s_64_mmu_host.c | 391 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init() local 397 vcpu3s->context_id[0] = err; in kvmppc_mmu_init() 399 vcpu3s->proto_vsid_max = ((u64)(vcpu3s->context_id[0] + 1) in kvmppc_mmu_init() 401 vcpu3s->proto_vsid_first = (u64)vcpu3s->context_id[0] << ESID_BITS; in kvmppc_mmu_init() 402 vcpu3s->proto_vsid_next = vcpu3s->proto_vsid_first; in kvmppc_mmu_init()
|
D | book3s_32_mmu_host.c | 373 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init() local 383 vcpu3s->context_id[i] = err; in kvmppc_mmu_init() 387 vcpu3s->vsid_pool[(i * 16) + j] = CTX_TO_VSID(err, j); in kvmppc_mmu_init() 390 vcpu3s->vsid_next = 0; in kvmppc_mmu_init() 403 if (!vcpu3s->context_id[j]) in kvmppc_mmu_init()
|
D | book3s_pr.c | 1256 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvm_arch_vcpu_ioctl_get_sregs_pr() local 1272 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1273 sregs->u.s.ppc32.dbat[i] = vcpu3s->dbat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1283 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvm_arch_vcpu_ioctl_set_sregs_pr() local 1288 vcpu3s->sdr1 = sregs->u.s.sdr1; in kvm_arch_vcpu_ioctl_set_sregs_pr() 1299 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1301 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1303 kvmppc_set_bat(vcpu, &(vcpu3s->dbat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1305 kvmppc_set_bat(vcpu, &(vcpu3s->dbat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr()
|