Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/perf/
Dimc-pmu.c53 static struct imc_pmu_ref imc_global_refc = { variable
54 .lock = __SPIN_LOCK_INITIALIZER(imc_global_refc.lock),
721 spin_lock(&imc_global_refc.lock); in ppc_core_imc_cpu_offline()
722 if (imc_global_refc.id == IMC_DOMAIN_CORE) in ppc_core_imc_cpu_offline()
723 imc_global_refc.refc--; in ppc_core_imc_cpu_offline()
725 spin_unlock(&imc_global_refc.lock); in ppc_core_imc_cpu_offline()
740 spin_lock(&imc_global_refc.lock); in reset_global_refc()
741 imc_global_refc.refc--; in reset_global_refc()
748 if (imc_global_refc.refc <= 0) { in reset_global_refc()
749 imc_global_refc.refc = 0; in reset_global_refc()
[all …]