Lines Matching refs:refc

54 	.refc = 0,
402 ref->refc = 0; in ppc_nest_imc_cpu_offline()
467 if (ref->refc == 0) { in nest_imc_counters_release()
481 ref->refc--; in nest_imc_counters_release()
482 if (ref->refc == 0) { in nest_imc_counters_release()
490 } else if (ref->refc < 0) { in nest_imc_counters_release()
492 ref->refc = 0; in nest_imc_counters_release()
561 if (ref->refc == 0) { in nest_imc_event_init()
571 ++ref->refc; in nest_imc_event_init()
710 ref->refc = 0; in ppc_core_imc_cpu_offline()
718 imc_global_refc.refc--; in ppc_core_imc_cpu_offline()
736 imc_global_refc.refc--; in reset_global_refc()
743 if (imc_global_refc.refc <= 0) { in reset_global_refc()
744 imc_global_refc.refc = 0; in reset_global_refc()
771 if (ref->refc == 0) { in core_imc_counters_release()
785 ref->refc--; in core_imc_counters_release()
786 if (ref->refc == 0) { in core_imc_counters_release()
794 } else if (ref->refc < 0) { in core_imc_counters_release()
796 ref->refc = 0; in core_imc_counters_release()
848 if (ref->refc == 0) { in core_imc_event_init()
858 ++ref->refc; in core_imc_event_init()
877 imc_global_refc.refc++; in core_imc_event_init()
956 imc_global_refc.refc--; in ppc_thread_imc_cpu_offline()
1004 imc_global_refc.refc++; in thread_imc_event_init()
1139 if (ref->refc == 0) { in thread_imc_event_add()
1148 ++ref->refc; in thread_imc_event_add()
1167 ref->refc--; in thread_imc_event_del()
1168 if (ref->refc == 0) { in thread_imc_event_del()
1176 } else if (ref->refc < 0) { in thread_imc_event_del()
1177 ref->refc = 0; in thread_imc_event_del()
1244 imc_global_refc.refc--; in ppc_trace_imc_cpu_offline()
1368 if (ref->refc == 0) { in trace_imc_event_add()
1376 ++ref->refc; in trace_imc_event_add()
1411 ref->refc--; in trace_imc_event_del()
1412 if (ref->refc == 0) { in trace_imc_event_del()
1419 } else if (ref->refc < 0) { in trace_imc_event_del()
1420 ref->refc = 0; in trace_imc_event_del()
1451 imc_global_refc.refc++; in trace_imc_event_init()