Searched refs:vcpu3s (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_mmu_hpte.c | 63 spin_lock(&vcpu3s->mmu_lock); in kvmppc_mmu_hpte_cache_map() 90 vcpu3s->hpte_cache_count++; in kvmppc_mmu_hpte_cache_map() 92 spin_unlock(&vcpu3s->mmu_lock); in kvmppc_mmu_hpte_cache_map() 110 spin_lock(&vcpu3s->mmu_lock); in invalidate_pte() 114 spin_unlock(&vcpu3s->mmu_lock); in invalidate_pte() 125 vcpu3s->hpte_cache_count--; in invalidate_pte() 127 spin_unlock(&vcpu3s->mmu_lock); in invalidate_pte() 176 list = &vcpu3s->hpte_hash_pte_long[ in kvmppc_mmu_pte_flush_long() 240 list = &vcpu3s->hpte_hash_vpte_64k[ in kvmppc_mmu_pte_vflush_64k() 262 list = &vcpu3s->hpte_hash_vpte_long[ in kvmppc_mmu_pte_vflush_long() [all …]
|
A D | book3s_64_mmu_host.c | 391 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init_pr() local 397 vcpu3s->context_id[0] = err; in kvmppc_mmu_init_pr() 399 vcpu3s->proto_vsid_max = ((u64)(vcpu3s->context_id[0] + 1) in kvmppc_mmu_init_pr() 401 vcpu3s->proto_vsid_first = (u64)vcpu3s->context_id[0] << ESID_BITS; in kvmppc_mmu_init_pr() 402 vcpu3s->proto_vsid_next = vcpu3s->proto_vsid_first; in kvmppc_mmu_init_pr()
|
A D | book3s_32_mmu_host.c | 358 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init_pr() local 368 vcpu3s->context_id[i] = err; in kvmppc_mmu_init_pr() 372 vcpu3s->vsid_pool[(i * 16) + j] = CTX_TO_VSID(err, j); in kvmppc_mmu_init_pr() 375 vcpu3s->vsid_next = 0; in kvmppc_mmu_init_pr() 388 if (!vcpu3s->context_id[j]) in kvmppc_mmu_init_pr()
|
A D | book3s_pr.c | 1463 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvm_arch_vcpu_ioctl_get_sregs_pr() local 1479 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1480 sregs->u.s.ppc32.dbat[i] = vcpu3s->dbat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1490 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvm_arch_vcpu_ioctl_set_sregs_pr() local 1495 vcpu3s->sdr1 = sregs->u.s.sdr1; in kvm_arch_vcpu_ioctl_set_sregs_pr() 1516 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1518 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1520 kvmppc_set_bat(vcpu, &(vcpu3s->dbat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1522 kvmppc_set_bat(vcpu, &(vcpu3s->dbat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr()
|
Completed in 10 milliseconds