Searched refs:imc_global_refc (Results 1 – 1 of 1) sorted by relevance
51 static struct imc_pmu_ref imc_global_refc = { variable52 .lock = __MUTEX_INITIALIZER(imc_global_refc.lock),716 mutex_lock(&imc_global_refc.lock); in ppc_core_imc_cpu_offline()717 if (imc_global_refc.id == IMC_DOMAIN_CORE) in ppc_core_imc_cpu_offline()718 imc_global_refc.refc--; in ppc_core_imc_cpu_offline()720 mutex_unlock(&imc_global_refc.lock); in ppc_core_imc_cpu_offline()735 mutex_lock(&imc_global_refc.lock); in reset_global_refc()736 imc_global_refc.refc--; in reset_global_refc()743 if (imc_global_refc.refc <= 0) { in reset_global_refc()744 imc_global_refc.refc = 0; in reset_global_refc()[all …]