Searched refs:imc_global_refc (Results 1 – 1 of 1) sorted by relevance
53 static struct imc_pmu_ref imc_global_refc = { variable54 .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 …]