Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/kernel/
Dsmp.c61 if (!_current->base.global_lock_count) { in z_smp_global_lock()
67 _current->base.global_lock_count++; in z_smp_global_lock()
74 if (_current->base.global_lock_count != 0U) { in z_smp_global_unlock()
75 _current->base.global_lock_count--; in z_smp_global_unlock()
77 if (!_current->base.global_lock_count) { in z_smp_global_unlock()
88 if (!thread->base.global_lock_count) { in z_smp_release_global_lock()
/Zephyr-Core-3.7.0/tests/kernel/smp/src/
Dmain.c872 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
874 _current->base.global_lock_count); in t2_mutex_lock()
878 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
880 _current->base.global_lock_count); in t2_mutex_lock()
888 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
890 _current->base.global_lock_count); in t2_mutex_lock()
/Zephyr-Core-3.7.0/include/zephyr/kernel/
Dthread.h118 uint8_t global_lock_count; member