Lines Matching refs:sca

2391 		free_pages_exact(kvm->arch.sca, sizeof(struct esca_block));  in sca_dispose()
2393 free_page((unsigned long)(kvm->arch.sca)); in sca_dispose()
2394 kvm->arch.sca = NULL; in sca_dispose()
2425 kvm->arch.sca = (struct bsca_block *) get_zeroed_page(alloc_flags); in kvm_arch_init_vm()
2426 if (!kvm->arch.sca) in kvm_arch_init_vm()
2432 kvm->arch.sca = (struct bsca_block *) in kvm_arch_init_vm()
2433 ((char *) kvm->arch.sca + sca_offset); in kvm_arch_init_vm()
2589 struct esca_block *sca = vcpu->kvm->arch.sca; in sca_del_vcpu() local
2591 clear_bit_inv(vcpu->vcpu_id, (unsigned long *) sca->mcn); in sca_del_vcpu()
2592 sca->cpu[vcpu->vcpu_id].sda = 0; in sca_del_vcpu()
2594 struct bsca_block *sca = vcpu->kvm->arch.sca; in sca_del_vcpu() local
2596 clear_bit_inv(vcpu->vcpu_id, (unsigned long *) &sca->mcn); in sca_del_vcpu()
2597 sca->cpu[vcpu->vcpu_id].sda = 0; in sca_del_vcpu()
2605 struct bsca_block *sca = vcpu->kvm->arch.sca; in sca_add_vcpu() local
2608 vcpu->arch.sie_block->scaoh = (__u32)(((__u64)sca) >> 32); in sca_add_vcpu()
2609 vcpu->arch.sie_block->scaol = (__u32)(__u64)sca; in sca_add_vcpu()
2614 struct esca_block *sca = vcpu->kvm->arch.sca; in sca_add_vcpu() local
2616 sca->cpu[vcpu->vcpu_id].sda = (__u64) vcpu->arch.sie_block; in sca_add_vcpu()
2617 vcpu->arch.sie_block->scaoh = (__u32)(((__u64)sca) >> 32); in sca_add_vcpu()
2618 vcpu->arch.sie_block->scaol = (__u32)(__u64)sca & ~0x3fU; in sca_add_vcpu()
2620 set_bit_inv(vcpu->vcpu_id, (unsigned long *) sca->mcn); in sca_add_vcpu()
2622 struct bsca_block *sca = vcpu->kvm->arch.sca; in sca_add_vcpu() local
2624 sca->cpu[vcpu->vcpu_id].sda = (__u64) vcpu->arch.sie_block; in sca_add_vcpu()
2625 vcpu->arch.sie_block->scaoh = (__u32)(((__u64)sca) >> 32); in sca_add_vcpu()
2626 vcpu->arch.sie_block->scaol = (__u32)(__u64)sca; in sca_add_vcpu()
2627 set_bit_inv(vcpu->vcpu_id, (unsigned long *) &sca->mcn); in sca_add_vcpu()
2652 struct bsca_block *old_sca = kvm->arch.sca; in sca_switch_to_extended()
2675 kvm->arch.sca = new_sca; in sca_switch_to_extended()
2684 old_sca, kvm->arch.sca); in sca_switch_to_extended()