srnum 400 arch/powerpc/include/asm/kvm_host.h void (*mtsrin)(struct kvm_vcpu *vcpu, u32 srnum, ulong value); srnum 401 arch/powerpc/include/asm/kvm_host.h u32 (*mfsrin)(struct kvm_vcpu *vcpu, u32 srnum); srnum 331 arch/powerpc/kvm/book3s_32_mmu.c static u32 kvmppc_mmu_book3s_32_mfsrin(struct kvm_vcpu *vcpu, u32 srnum) srnum 333 arch/powerpc/kvm/book3s_32_mmu.c return kvmppc_get_sr(vcpu, srnum); srnum 336 arch/powerpc/kvm/book3s_32_mmu.c static void kvmppc_mmu_book3s_32_mtsrin(struct kvm_vcpu *vcpu, u32 srnum, srnum 339 arch/powerpc/kvm/book3s_32_mmu.c kvmppc_set_sr(vcpu, srnum, value); srnum 340 arch/powerpc/kvm/book3s_32_mmu.c kvmppc_mmu_map_segment(vcpu, srnum << SID_SHIFT); srnum 504 arch/powerpc/kvm/book3s_64_mmu.c static void kvmppc_mmu_book3s_64_mtsrin(struct kvm_vcpu *vcpu, u32 srnum, srnum 527 arch/powerpc/kvm/book3s_64_mmu.c dprintk("KVM MMU: mtsrin(0x%x, 0x%lx)\n", srnum, value); srnum 530 arch/powerpc/kvm/book3s_64_mmu.c rb |= (srnum & 0xf) << 28; srnum 534 arch/powerpc/kvm/book3s_64_mmu.c rb |= srnum; srnum 318 arch/powerpc/kvm/book3s_emulate.c int srnum; srnum 320 arch/powerpc/kvm/book3s_emulate.c srnum = kvmppc_get_field(inst, 12 + 32, 15 + 32); srnum 323 arch/powerpc/kvm/book3s_emulate.c sr = vcpu->arch.mmu.mfsrin(vcpu, srnum); srnum 330 arch/powerpc/kvm/book3s_emulate.c int srnum; srnum 332 arch/powerpc/kvm/book3s_emulate.c srnum = (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf; srnum 335 arch/powerpc/kvm/book3s_emulate.c sr = vcpu->arch.mmu.mfsrin(vcpu, srnum);