Lines Matching refs:per_cpu
241 per_cpu(bank_map, cpu) |= (1 << bank); in mce_amd_feature_init()
285 if (!(per_cpu(bank_map, cpu) & (1 << bank))) in amd_threshold_interrupt()
512 if (per_cpu(threshold_banks, cpu)[bank]->blocks) { in allocate_threshold_blocks()
514 &per_cpu(threshold_banks, cpu)[bank]->blocks->miscj); in allocate_threshold_blocks()
516 per_cpu(threshold_banks, cpu)[bank]->blocks = b; in allocate_threshold_blocks()
520 per_cpu(threshold_banks, cpu)[bank]->kobj, in allocate_threshold_blocks()
578 struct device *dev = per_cpu(mce_device, cpu); in threshold_create_bank()
595 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank()
616 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank()
651 per_cpu(threshold_banks, cpu) = bp; in threshold_create_device()
654 if (!(per_cpu(bank_map, cpu) & (1 << bank))) in threshold_create_device()
669 struct threshold_bank *head = per_cpu(threshold_banks, cpu)[bank]; in deallocate_threshold_block()
680 kfree(per_cpu(threshold_banks, cpu)[bank]->blocks); in deallocate_threshold_block()
681 per_cpu(threshold_banks, cpu)[bank]->blocks = NULL; in deallocate_threshold_block()
700 b = per_cpu(threshold_banks, cpu)[bank]; in threshold_remove_bank()
710 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank()
728 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank()
736 if (!(per_cpu(bank_map, cpu) & (1 << bank))) in threshold_remove_device()
740 kfree(per_cpu(threshold_banks, cpu)); in threshold_remove_device()