Lines Matching full:shared
130 mtspr(SPRN_GSPRG0, (unsigned long)vcpu->arch.shared->sprg0); in kvmppc_core_vcpu_load_e500mc()
131 mtspr(SPRN_GSPRG1, (unsigned long)vcpu->arch.shared->sprg1); in kvmppc_core_vcpu_load_e500mc()
132 mtspr(SPRN_GSPRG2, (unsigned long)vcpu->arch.shared->sprg2); in kvmppc_core_vcpu_load_e500mc()
133 mtspr(SPRN_GSPRG3, (unsigned long)vcpu->arch.shared->sprg3); in kvmppc_core_vcpu_load_e500mc()
135 mtspr(SPRN_GSRR0, vcpu->arch.shared->srr0); in kvmppc_core_vcpu_load_e500mc()
136 mtspr(SPRN_GSRR1, vcpu->arch.shared->srr1); in kvmppc_core_vcpu_load_e500mc()
139 mtspr(SPRN_GDEAR, vcpu->arch.shared->dar); in kvmppc_core_vcpu_load_e500mc()
140 mtspr(SPRN_GESR, vcpu->arch.shared->esr); in kvmppc_core_vcpu_load_e500mc()
154 vcpu->arch.shared->sprg0 = mfspr(SPRN_GSPRG0); in kvmppc_core_vcpu_put_e500mc()
155 vcpu->arch.shared->sprg1 = mfspr(SPRN_GSPRG1); in kvmppc_core_vcpu_put_e500mc()
156 vcpu->arch.shared->sprg2 = mfspr(SPRN_GSPRG2); in kvmppc_core_vcpu_put_e500mc()
157 vcpu->arch.shared->sprg3 = mfspr(SPRN_GSPRG3); in kvmppc_core_vcpu_put_e500mc()
159 vcpu->arch.shared->srr0 = mfspr(SPRN_GSRR0); in kvmppc_core_vcpu_put_e500mc()
160 vcpu->arch.shared->srr1 = mfspr(SPRN_GSRR1); in kvmppc_core_vcpu_put_e500mc()
163 vcpu->arch.shared->dar = mfspr(SPRN_GDEAR); in kvmppc_core_vcpu_put_e500mc()
164 vcpu->arch.shared->esr = mfspr(SPRN_GESR); in kvmppc_core_vcpu_put_e500mc()
319 vcpu->arch.shared = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in kvmppc_core_vcpu_create_e500mc()
320 if (!vcpu->arch.shared) { in kvmppc_core_vcpu_create_e500mc()
336 free_page((unsigned long)vcpu->arch.shared); in kvmppc_core_vcpu_free_e500mc()