Lines Matching refs:refc

55 	.refc = 0,
409 ref->refc = 0; in ppc_nest_imc_cpu_offline()
474 if (ref->refc == 0) { in nest_imc_counters_release()
488 ref->refc--; in nest_imc_counters_release()
489 if (ref->refc == 0) { in nest_imc_counters_release()
497 } else if (ref->refc < 0) { in nest_imc_counters_release()
499 ref->refc = 0; in nest_imc_counters_release()
568 if (ref->refc == 0) { in nest_imc_event_init()
578 ++ref->refc; in nest_imc_event_init()
717 ref->refc = 0; in ppc_core_imc_cpu_offline()
725 imc_global_refc.refc--; in ppc_core_imc_cpu_offline()
743 imc_global_refc.refc--; in reset_global_refc()
750 if (imc_global_refc.refc <= 0) { in reset_global_refc()
751 imc_global_refc.refc = 0; in reset_global_refc()
778 if (ref->refc == 0) { in core_imc_counters_release()
792 ref->refc--; in core_imc_counters_release()
793 if (ref->refc == 0) { in core_imc_counters_release()
801 } else if (ref->refc < 0) { in core_imc_counters_release()
803 ref->refc = 0; in core_imc_counters_release()
855 if (ref->refc == 0) { in core_imc_event_init()
865 ++ref->refc; in core_imc_event_init()
884 imc_global_refc.refc++; in core_imc_event_init()
963 imc_global_refc.refc--; in ppc_thread_imc_cpu_offline()
1011 imc_global_refc.refc++; in thread_imc_event_init()
1146 if (ref->refc == 0) { in thread_imc_event_add()
1155 ++ref->refc; in thread_imc_event_add()
1174 ref->refc--; in thread_imc_event_del()
1175 if (ref->refc == 0) { in thread_imc_event_del()
1183 } else if (ref->refc < 0) { in thread_imc_event_del()
1184 ref->refc = 0; in thread_imc_event_del()
1251 imc_global_refc.refc--; in ppc_trace_imc_cpu_offline()
1375 if (ref->refc == 0) { in trace_imc_event_add()
1383 ++ref->refc; in trace_imc_event_add()
1418 ref->refc--; in trace_imc_event_del()
1419 if (ref->refc == 0) { in trace_imc_event_del()
1426 } else if (ref->refc < 0) { in trace_imc_event_del()
1427 ref->refc = 0; in trace_imc_event_del()
1458 imc_global_refc.refc++; in trace_imc_event_init()