Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/kernel/
Dsmp.c20 if (!_current->base.global_lock_count) { in z_smp_global_lock()
25 _current->base.global_lock_count++; in z_smp_global_lock()
32 if (_current->base.global_lock_count) { in z_smp_global_unlock()
33 _current->base.global_lock_count--; in z_smp_global_unlock()
35 if (!_current->base.global_lock_count) { in z_smp_global_unlock()
46 if (!thread->base.global_lock_count) { in z_smp_release_global_lock()
/Zephyr-Core-2.7.6/tests/kernel/smp/src/
Dmain.c744 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
746 _current->base.global_lock_count); in t2_mutex_lock()
750 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
752 _current->base.global_lock_count); in t2_mutex_lock()
760 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
762 _current->base.global_lock_count); in t2_mutex_lock()
/Zephyr-Core-2.7.6/include/kernel/
Dthread.h103 uint8_t global_lock_count; member