Lines Matching refs:per_cpu
283 per_cpu(bank_map, cpu) |= (1 << bank); in mce_amd_feature_init()
394 if (!(per_cpu(bank_map, cpu) & (1 << bank))) in amd_threshold_interrupt()
613 if (per_cpu(threshold_banks, cpu)[bank]->blocks) { in allocate_threshold_blocks()
615 &per_cpu(threshold_banks, cpu)[bank]->blocks->miscj); in allocate_threshold_blocks()
617 per_cpu(threshold_banks, cpu)[bank]->blocks = b; in allocate_threshold_blocks()
621 per_cpu(threshold_banks, cpu)[bank]->kobj, in allocate_threshold_blocks()
679 struct device *dev = per_cpu(mce_device, cpu); in threshold_create_bank()
696 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank()
717 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank()
752 per_cpu(threshold_banks, cpu) = bp; in threshold_create_device()
755 if (!(per_cpu(bank_map, cpu) & (1 << bank))) in threshold_create_device()
770 struct threshold_bank *head = per_cpu(threshold_banks, cpu)[bank]; in deallocate_threshold_block()
781 kfree(per_cpu(threshold_banks, cpu)[bank]->blocks); in deallocate_threshold_block()
782 per_cpu(threshold_banks, cpu)[bank]->blocks = NULL; in deallocate_threshold_block()
801 b = per_cpu(threshold_banks, cpu)[bank]; in threshold_remove_bank()
811 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank()
829 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank()
837 if (!(per_cpu(bank_map, cpu) & (1 << bank))) in threshold_remove_device()
841 kfree(per_cpu(threshold_banks, cpu)); in threshold_remove_device()