Searched refs:pmc_refcount (Results 1 – 1 of 1) sorted by relevance
187 static atomic_t pmc_refcount; variable399 if (!atomic_inc_not_zero(&pmc_refcount)) { in x86_reserve_hardware()401 if (atomic_read(&pmc_refcount) == 0) { in x86_reserve_hardware()410 atomic_inc(&pmc_refcount); in x86_reserve_hardware()419 if (atomic_dec_and_mutex_lock(&pmc_refcount, &pmc_reserve_mutex)) { in x86_release_hardware()