Searched refs:mce_banks (Results 1 – 4 of 4) sorted by relevance
66 struct mce_bank *mce_banks __read_mostly;606 if (!mce_banks[i].ctl || !test_bit(i, *b)) in machine_check_poll()1079 if (!mce_banks[i].ctl) in do_machine_check()1394 mce_banks = kzalloc(num_banks * sizeof(struct mce_bank), GFP_KERNEL); in __mcheck_cpu_mce_banks_init()1395 if (!mce_banks) in __mcheck_cpu_mce_banks_init()1399 struct mce_bank *b = &mce_banks[i]; in __mcheck_cpu_mce_banks_init()1431 if (!mce_banks) { in __mcheck_cpu_cap_init()1471 struct mce_bank *b = &mce_banks[i]; in __mcheck_cpu_init_generic()1526 clear_bit(10, (unsigned long *)&mce_banks[4].ctl); in __mcheck_cpu_apply_quirks()1540 mce_banks[0].ctl = 0; in __mcheck_cpu_apply_quirks()[all …]
29 extern struct mce_bank *mce_banks;
1867 vcpu->arch.mce_banks[offset] = data; in set_msr_mce()2380 data = vcpu->arch.mce_banks[offset]; in get_msr_mce()2977 vcpu->arch.mce_banks[bank*4] = ~(u64)0; in kvm_vcpu_ioctl_x86_setup_mce()2987 u64 *banks = vcpu->arch.mce_banks; in kvm_vcpu_ioctl_x86_set_mce()7291 vcpu->arch.mce_banks = kzalloc(KVM_MAX_MCE_BANKS * sizeof(u64) * 4, in kvm_arch_vcpu_init()7293 if (!vcpu->arch.mce_banks) { in kvm_arch_vcpu_init()7321 kfree(vcpu->arch.mce_banks); in kvm_arch_vcpu_init()7337 kfree(vcpu->arch.mce_banks); in kvm_arch_vcpu_uninit()
477 u64 *mce_banks; member