Home
last modified time | relevance | path

Searched refs:nest_imc_refc (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/arch/powerpc/perf/
Dimc-pmu.c27 static struct imc_pmu_ref *nest_imc_refc; variable
1515 nest_imc_refc = kcalloc(num_possible_nodes(), sizeof(*nest_imc_refc), in init_nest_pmu_ref()
1518 if (!nest_imc_refc) in init_nest_pmu_ref()
1527 mutex_init(&nest_imc_refc[i].lock); in init_nest_pmu_ref()
1535 nest_imc_refc[i++].id = nid; in init_nest_pmu_ref()
1545 if (nest_imc_refc[i].id == nid) { in init_nest_pmu_ref()
1546 per_cpu(local_nest_imc_refc, cpu) = &nest_imc_refc[i]; in init_nest_pmu_ref()
1627 kfree(nest_imc_refc); in imc_common_cpuhp_mem_free()
1804 kfree(nest_imc_refc); in init_imc_pmu()