Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/perf/
Dimc-pmu.c29 static struct imc_pmu_ref *nest_imc_refc; variable
1523 nest_imc_refc = kcalloc(num_possible_nodes(), sizeof(*nest_imc_refc), in init_nest_pmu_ref()
1526 if (!nest_imc_refc) in init_nest_pmu_ref()
1535 spin_lock_init(&nest_imc_refc[i].lock); in init_nest_pmu_ref()
1543 nest_imc_refc[i++].id = nid; in init_nest_pmu_ref()
1553 if (nest_imc_refc[i].id == nid) { in init_nest_pmu_ref()
1554 per_cpu(local_nest_imc_refc, cpu) = &nest_imc_refc[i]; in init_nest_pmu_ref()
1635 kfree(nest_imc_refc); in imc_common_cpuhp_mem_free()
1812 kfree(nest_imc_refc); in init_imc_pmu()