Searched refs:sched_core_count (Results 1 – 1 of 1) sorted by relevance
308 static atomic_t sched_core_count; variable395 if (atomic_inc_not_zero(&sched_core_count)) in sched_core_get()399 if (!atomic_read(&sched_core_count)) in sched_core_get()403 atomic_inc(&sched_core_count); in sched_core_get()409 if (atomic_dec_and_mutex_lock(&sched_core_count, &sched_core_mutex)) { in __sched_core_put()426 if (!atomic_add_unless(&sched_core_count, -1, 1)) in sched_core_put()