Lines Matching refs:blocks
1023 first_block = per_cpu(threshold_banks, cpu)[bank]->blocks; in amd_threshold_interrupt()
1244 if (per_cpu(threshold_banks, cpu)[bank]->blocks) { in allocate_threshold_blocks()
1246 &per_cpu(threshold_banks, cpu)[bank]->blocks->miscj); in allocate_threshold_blocks()
1248 per_cpu(threshold_banks, cpu)[bank]->blocks = b; in allocate_threshold_blocks()
1281 struct list_head *head = &b->blocks->miscj; in __threshold_add_blocks()
1286 err = kobject_add(&b->blocks->kobj, b->kobj, b->blocks->kobj.name); in __threshold_add_blocks()
1379 list_for_each_entry_safe(pos, tmp, &head->blocks->miscj, miscj) { in deallocate_threshold_block()
1385 kfree(per_cpu(threshold_banks, cpu)[bank]->blocks); in deallocate_threshold_block()
1386 per_cpu(threshold_banks, cpu)[bank]->blocks = NULL; in deallocate_threshold_block()
1396 list_for_each_entry_safe(pos, tmp, &b->blocks->miscj, miscj) in __threshold_remove_blocks()
1409 if (!b->blocks) in threshold_remove_bank()