Searched refs:trace_imc_refc (Results 1 – 1 of 1) sorted by relevance
44 static struct imc_pmu_ref *trace_imc_refc; variable1221 trace_imc_refc[core_id].id = core_id; in trace_imc_mem_alloc()1222 mutex_init(&trace_imc_refc[core_id].lock); in trace_imc_mem_alloc()1359 if (trace_imc_refc) in trace_imc_event_add()1360 ref = &trace_imc_refc[core_id]; in trace_imc_event_add()1403 if (trace_imc_refc) in trace_imc_event_del()1404 ref = &trace_imc_refc[core_id]; in trace_imc_event_del()1604 kfree(trace_imc_refc); in cleanup_all_trace_imc_memory()1742 trace_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), in imc_mem_init()1744 if (!trace_imc_refc) in imc_mem_init()