Searched refs:sched_core_count (Results 1 – 1 of 1) sorted by relevance
364 static atomic_t sched_core_count; variable451 if (atomic_inc_not_zero(&sched_core_count)) in sched_core_get()455 if (!atomic_read(&sched_core_count)) in sched_core_get()459 atomic_inc(&sched_core_count); in sched_core_get()465 if (atomic_dec_and_mutex_lock(&sched_core_count, &sched_core_mutex)) { in __sched_core_put()482 if (!atomic_add_unless(&sched_core_count, -1, 1)) in sched_core_put()