Lines Matching refs:threshold_banks
61 static DEFINE_PER_CPU(struct threshold_bank **, threshold_banks);
613 if (per_cpu(threshold_banks, cpu)[bank]->blocks) { in allocate_threshold_blocks() local
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() local
621 per_cpu(threshold_banks, cpu)[bank]->kobj, in allocate_threshold_blocks()
696 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank() local
717 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank() local
752 per_cpu(threshold_banks, cpu) = bp; 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() local
801 b = per_cpu(threshold_banks, cpu)[bank]; in threshold_remove_bank()
811 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank() local
829 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank() local
841 kfree(per_cpu(threshold_banks, cpu)); in threshold_remove_device()