Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/kernel/mutex/sys_mutex/src/
Dmain.c114 rv = sys_mutex_lock(&mutex_4, K_SECONDS(1)); in thread_05()
148 rv = sys_mutex_lock(&mutex_4, K_SECONDS(2)); in thread_06()
182 rv = sys_mutex_lock(&mutex_3, K_SECONDS(3)); in thread_07()
208 rv = sys_mutex_lock(&mutex_2, K_FOREVER); in thread_08()
235 rv = sys_mutex_lock(&mutex_1, K_NO_WAIT); in thread_09()
244 rv = sys_mutex_lock(&mutex_1, K_FOREVER); in thread_09()
269 rv = sys_mutex_lock(&mutex_3, K_FOREVER); in thread_11()
359 rv = sys_mutex_lock(mutexes[i], K_NO_WAIT); in ZTEST_USER_OR_NOT()
414 rv = sys_mutex_lock(&private_mutex, K_NO_WAIT); in ZTEST_USER_OR_NOT()
417 rv = sys_mutex_lock(&private_mutex, K_NO_WAIT); in ZTEST_USER_OR_NOT()
[all …]
Dthread_competition.c37 sys_mutex_lock(pmutex, K_FOREVER); in low_prio_wait_for_mutex()
52 sys_mutex_lock(pmutex, K_FOREVER); in high_prio_t1_wait_for_mutex()
67 sys_mutex_lock(pmutex, K_FOREVER); in high_prio_t2_wait_for_mutex()
99 sys_mutex_lock(&mutex, K_NO_WAIT); in ZTEST()
Dthread_12.c42 rv = sys_mutex_lock(&private_mutex, K_FOREVER); in thread_12()
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dmutex.h102 static inline int sys_mutex_lock(struct sys_mutex *mutex, k_timeout_t timeout) in sys_mutex_lock() function
151 static inline int sys_mutex_lock(struct sys_mutex *mutex, k_timeout_t timeout)
/Zephyr-Core-3.7.0/subsys/net/lib/mqtt/
Dmqtt_os.h49 int ret = sys_mutex_lock(&client->internal.mutex, K_FOREVER); in mqtt_mutex_lock()
/Zephyr-Core-3.7.0/tests/lib/ringbuffer/src/
Dconcurrent.c35 sys_mutex_lock(&mutex, K_FOREVER); in data_write()
48 sys_mutex_lock(&mutex, K_FOREVER); in data_read()
/Zephyr-Core-3.7.0/lib/libc/common/source/stdlib/
Dmalloc.c126 lock_ret = sys_mutex_lock(&z_malloc_heap_mutex, K_FOREVER); in malloc_lock()
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/
Dmain.c1105 if (sys_mutex_lock(&wait_data, WAIT_TIME)) { in ZTEST_USER()