Lines Matching refs:threshold_banks
61 static DEFINE_PER_CPU(struct threshold_bank **, threshold_banks);
616 if (per_cpu(threshold_banks, cpu)[bank]->blocks) { in allocate_threshold_blocks() local
618 &per_cpu(threshold_banks, cpu)[bank]->blocks->miscj); in allocate_threshold_blocks()
620 per_cpu(threshold_banks, cpu)[bank]->blocks = b; in allocate_threshold_blocks() local
624 per_cpu(threshold_banks, cpu)[bank]->kobj, in allocate_threshold_blocks()
702 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank() local
723 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank() local
758 per_cpu(threshold_banks, cpu) = bp; in threshold_create_device()
780 struct threshold_bank *head = per_cpu(threshold_banks, cpu)[bank]; in deallocate_threshold_block()
809 b = per_cpu(threshold_banks, cpu)[bank]; in threshold_remove_bank()
819 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank() local
837 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank() local
849 kfree(per_cpu(threshold_banks, cpu)); in threshold_remove_device()