Searched refs:to_book3s (Results 1 – 10 of 10) sorted by relevance
59 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_hpte_cache_map()103 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in invalidate_pte()134 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_flush_all()152 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_flush_page()171 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_flush_long()214 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_vflush_short()235 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_vflush_64k()257 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_vflush_long()300 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_pflush()322 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_hpte_cache_next()[all …]
686 to_book3s(vcpu)->sdr1 = spr_val; in kvmppc_core_emulate_mtspr_pr()695 to_book3s(vcpu)->hior = spr_val; in kvmppc_core_emulate_mtspr_pr()712 to_book3s(vcpu)->hid[0] = spr_val; in kvmppc_core_emulate_mtspr_pr()715 to_book3s(vcpu)->hid[1] = spr_val; in kvmppc_core_emulate_mtspr_pr()718 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()721 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()746 to_book3s(vcpu)->hid[4] = spr_val; in kvmppc_core_emulate_mtspr_pr()749 to_book3s(vcpu)->hid[5] = spr_val; in kvmppc_core_emulate_mtspr_pr()886 *spr_val = to_book3s(vcpu)->sdr1; in kvmppc_core_emulate_mfspr_pr()895 *spr_val = to_book3s(vcpu)->hior; in kvmppc_core_emulate_mfspr_pr()[all …]
88 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in find_sid_vsid()95 map = &to_book3s(vcpu)->sid_map[SID_MAP_MASK - sid_map_mask]; in find_sid_vsid()266 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in create_sid_map()280 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in create_sid_map()352 __destroy_context(to_book3s(vcpu)->context_id[i]); in kvmppc_mmu_destroy_pr()358 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init_pr()391 __destroy_context(to_book3s(vcpu)->context_id[j]); in kvmppc_mmu_init_pr()
55 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in find_sid_vsid()61 map = &to_book3s(vcpu)->sid_map[SID_MAP_MASK - sid_map_mask]; in find_sid_vsid()229 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in create_sid_map()243 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in create_sid_map()386 __destroy_context(to_book3s(vcpu)->context_id[0]); in kvmppc_mmu_destroy_pr()391 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init_pr()
116 new_pc = to_book3s(vcpu)->hior + vec; in kvmppc_inject_interrupt_pr()137 svcpu->slb_max = to_book3s(vcpu)->slb_shadow_max; in kvmppc_core_vcpu_load_pr()169 to_book3s(vcpu)->slb_shadow_max = svcpu->slb_max; in kvmppc_core_vcpu_put_pr()489 msr &= to_book3s(vcpu)->msr_mask; in kvmppc_set_msr_pr()559 if (!to_book3s(vcpu)->hior_explicit) in kvmppc_set_pvr_pr()560 to_book3s(vcpu)->hior = 0xfff00000; in kvmppc_set_pvr_pr()567 if (!to_book3s(vcpu)->hior_explicit) in kvmppc_set_pvr_pr()568 to_book3s(vcpu)->hior = 0; in kvmppc_set_pvr_pr()569 to_book3s(vcpu)->msr_mask = 0xffffffffULL; in kvmppc_set_pvr_pr()1465 sregs->u.s.sdr1 = to_book3s(vcpu)->sdr1; in kvm_arch_vcpu_ioctl_get_sregs_pr()[all …]
97 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_32_get_pteg()131 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_32_xlate_bat()279 to_book3s(vcpu)->sdr1, ptegp); in kvmppc_mmu_book3s_32_xlate_pte()
120 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_64_get_pteg()648 return (to_book3s(vcpu)->hid[5] & 0x80); in kvmppc_mmu_book3s_64_is_dcbz32()
134 __entry->count = to_book3s(vcpu)->hpte_cache_count;
25 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in get_pteg_addr()
387 static inline struct kvmppc_vcpu_book3s *to_book3s(struct kvm_vcpu *vcpu) in to_book3s() function