Searched refs:trace_imc_refc (Results 1 – 1 of 1) sorted by relevance
44 static struct imc_pmu_ref *trace_imc_refc; variable1122 trace_imc_refc[core_id].id = core_id; in trace_imc_mem_alloc()1123 mutex_init(&trace_imc_refc[core_id].lock); in trace_imc_mem_alloc()1233 if (trace_imc_refc) in trace_imc_event_add()1234 ref = &trace_imc_refc[core_id]; in trace_imc_event_add()1281 if (trace_imc_refc) in trace_imc_event_del()1282 ref = &trace_imc_refc[core_id]; in trace_imc_event_del()1463 kfree(trace_imc_refc); in cleanup_all_trace_imc_memory()1601 trace_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), in imc_mem_init()1603 if (!trace_imc_refc) in imc_mem_init()