Home
last modified time | relevance | path

Searched refs:sched_core_count (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/kernel/sched/
Dcore.c329 static atomic_t sched_core_count; variable
416 if (atomic_inc_not_zero(&sched_core_count)) in sched_core_get()
420 if (!atomic_read(&sched_core_count)) in sched_core_get()
424 atomic_inc(&sched_core_count); in sched_core_get()
430 if (atomic_dec_and_mutex_lock(&sched_core_count, &sched_core_mutex)) { in __sched_core_put()
447 if (!atomic_add_unless(&sched_core_count, -1, 1)) in sched_core_put()