Lines Matching refs:threshold_banks
59 static DEFINE_PER_CPU(struct threshold_bank **, threshold_banks);
512 if (per_cpu(threshold_banks, cpu)[bank]->blocks) { in allocate_threshold_blocks() local
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() local
520 per_cpu(threshold_banks, cpu)[bank]->kobj, in allocate_threshold_blocks()
595 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank() local
616 per_cpu(threshold_banks, cpu)[bank] = b; in threshold_create_bank() local
651 per_cpu(threshold_banks, cpu) = bp; 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() local
700 b = per_cpu(threshold_banks, cpu)[bank]; in threshold_remove_bank()
710 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank() local
728 per_cpu(threshold_banks, cpu)[bank] = NULL; in threshold_remove_bank() local
740 kfree(per_cpu(threshold_banks, cpu)); in threshold_remove_device()