Searched refs:sched_core_count (Results 1 – 1 of 1) sorted by relevance
311 static atomic_t sched_core_count; variable401 if (atomic_inc_not_zero(&sched_core_count)) in sched_core_get()405 if (!atomic_read(&sched_core_count)) in sched_core_get()409 atomic_inc(&sched_core_count); in sched_core_get()415 if (atomic_dec_and_mutex_lock(&sched_core_count, &sched_core_mutex)) { in __sched_core_put()432 if (!atomic_add_unless(&sched_core_count, -1, 1)) in sched_core_put()