Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 25 of 65) sorted by relevance

123

/Zephyr-Core-3.4.0/subsys/portability/cmsis_rtos_v2/
Dmutex.c26 struct cv2_mutex *mutex; in osMutexNew() local
66 struct cv2_mutex *mutex = (struct cv2_mutex *) mutex_id; in osMutexAcquire() local
100 struct cv2_mutex *mutex = (struct cv2_mutex *) mutex_id; in osMutexRelease() local
122 struct cv2_mutex *mutex = (struct cv2_mutex *)mutex_id; in osMutexDelete() local
144 struct cv2_mutex *mutex = (struct cv2_mutex *)mutex_id; in osMutexGetOwner() local
160 struct cv2_mutex *mutex = (struct cv2_mutex *)mutex_id; in osMutexGetName() local
/Zephyr-Core-3.4.0/lib/os/
Dmutex.c12 static struct k_mutex *get_k_mutex(struct sys_mutex *mutex) in get_k_mutex()
33 int z_impl_z_sys_mutex_kernel_lock(struct sys_mutex *mutex, k_timeout_t timeout) in z_impl_z_sys_mutex_kernel_lock()
44 static inline int z_vrfy_z_sys_mutex_kernel_lock(struct sys_mutex *mutex, in z_vrfy_z_sys_mutex_kernel_lock()
55 int z_impl_z_sys_mutex_kernel_unlock(struct sys_mutex *mutex) in z_impl_z_sys_mutex_kernel_unlock()
66 static inline int z_vrfy_z_sys_mutex_kernel_unlock(struct sys_mutex *mutex) in z_vrfy_z_sys_mutex_kernel_unlock()
/Zephyr-Core-3.4.0/kernel/
Dmutex.c49 int z_impl_k_mutex_init(struct k_mutex *mutex) in z_impl_k_mutex_init()
64 static inline int z_vrfy_k_mutex_init(struct k_mutex *mutex) in z_vrfy_k_mutex_init()
81 static bool adjust_owner_prio(struct k_mutex *mutex, int32_t new_prio) in adjust_owner_prio()
95 int z_impl_k_mutex_lock(struct k_mutex *mutex, k_timeout_t timeout) in z_impl_k_mutex_lock()
192 static inline int z_vrfy_k_mutex_lock(struct k_mutex *mutex, in z_vrfy_k_mutex_lock()
201 int z_impl_k_mutex_unlock(struct k_mutex *mutex) in z_impl_k_mutex_unlock()
277 static inline int z_vrfy_k_mutex_unlock(struct k_mutex *mutex) in z_vrfy_k_mutex_unlock()
Dcondvar.c100 int z_impl_k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex, in z_impl_k_condvar_wait()
119 int z_vrfy_k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex, in z_vrfy_k_condvar_wait()
/Zephyr-Core-3.4.0/subsys/portability/cmsis_rtos_v1/
Dcmsis_mutex.c19 struct k_mutex *mutex; in osMutexCreate() local
45 struct k_mutex *mutex = (struct k_mutex *) mutex_id; in osMutexWait() local
78 struct k_mutex *mutex = (struct k_mutex *) mutex_id; in osMutexRelease() local
100 struct k_mutex *mutex = (struct k_mutex *) mutex_id; in osMutexDelete() local
/Zephyr-Core-3.4.0/include/zephyr/sys/
Dmutex.h68 static inline void sys_mutex_init(struct sys_mutex *mutex) in sys_mutex_init()
102 static inline int sys_mutex_lock(struct sys_mutex *mutex, k_timeout_t timeout) in sys_mutex_lock()
125 static inline int sys_mutex_unlock(struct sys_mutex *mutex) in sys_mutex_unlock()
/Zephyr-Core-3.4.0/samples/arch/smp/pktqueue/src/
Dpktqueue.c11 struct k_mutex *mutex) in phdr_desc_enqueue()
31 struct k_mutex *mutex) in phdr_desc_dequeue()
/Zephyr-Core-3.4.0/lib/libc/arcmwdt/
Dthreading.c53 void _mwmutex_lock(_lock_t mutex) in _mwmutex_lock()
59 void _mwmutex_unlock(_lock_t mutex) in _mwmutex_unlock()
/Zephyr-Core-3.4.0/lib/libc/armstdc/src/
Dthreading_weak.c22 int __weak z_impl_k_mutex_init(struct k_mutex *mutex) in z_impl_k_mutex_init()
27 int __weak z_impl_k_mutex_lock(struct k_mutex *mutex, k_timeout_t timeout) in z_impl_k_mutex_lock()
32 int __weak z_impl_k_mutex_unlock(struct k_mutex *mutex) in z_impl_k_mutex_unlock()
/Zephyr-Core-3.4.0/tests/kernel/mutex/sys_mutex/
DCMakeLists.txt5 project(mutex) project
/Zephyr-Core-3.4.0/drivers/misc/ethos_u/
Dinit.c28 struct k_mutex *mutex; in ethosu_mutex_create() local
41 int ethosu_mutex_lock(void *mutex) in ethosu_mutex_lock()
54 int ethosu_mutex_unlock(void *mutex) in ethosu_mutex_unlock()
/Zephyr-Core-3.4.0/subsys/tracing/ctf/
Dctf_top.c228 void sys_trace_k_mutex_init(struct k_mutex *mutex, int ret) in sys_trace_k_mutex_init()
236 void sys_trace_k_mutex_lock_enter(struct k_mutex *mutex, k_timeout_t timeout) in sys_trace_k_mutex_lock_enter()
244 void sys_trace_k_mutex_lock_blocking(struct k_mutex *mutex, k_timeout_t timeout) in sys_trace_k_mutex_lock_blocking()
252 void sys_trace_k_mutex_lock_exit(struct k_mutex *mutex, k_timeout_t timeout, int ret) in sys_trace_k_mutex_lock_exit()
261 void sys_trace_k_mutex_unlock_enter(struct k_mutex *mutex) in sys_trace_k_mutex_unlock_enter()
268 void sys_trace_k_mutex_unlock_exit(struct k_mutex *mutex, int ret) in sys_trace_k_mutex_unlock_exit()
/Zephyr-Core-3.4.0/tests/kernel/obj_tracking/src/
Dmain.c35 struct k_mutex mutex; in ZTEST() local
/Zephyr-Core-3.4.0/include/zephyr/fs/
Dlittlefs.h39 struct k_mutex mutex; member
/Zephyr-Core-3.4.0/subsys/tracing/test/
Dtracing_string_format_test.c237 void sys_trace_k_condvar_wait_enter(struct k_condvar *condvar, struct k_mutex *mutex, in sys_trace_k_condvar_wait_enter()
243 void sys_trace_k_condvar_wait_exit(struct k_condvar *condvar, struct k_mutex *mutex, in sys_trace_k_condvar_wait_exit()
279 void sys_trace_k_mutex_init(struct k_mutex *mutex, int ret) in sys_trace_k_mutex_init()
284 void sys_trace_k_mutex_lock_enter(struct k_mutex *mutex, k_timeout_t timeout) in sys_trace_k_mutex_lock_enter()
289 void sys_trace_k_mutex_lock_exit(struct k_mutex *mutex, k_timeout_t timeout, int ret) in sys_trace_k_mutex_lock_exit()
295 void sys_trace_k_mutex_lock_blocking(struct k_mutex *mutex, k_timeout_t timeout) in sys_trace_k_mutex_lock_blocking()
300 void sys_trace_k_mutex_unlock_enter(struct k_mutex *mutex) in sys_trace_k_mutex_unlock_enter()
306 void sys_trace_k_mutex_unlock_exit(struct k_mutex *mutex, int ret) in sys_trace_k_mutex_unlock_exit()
/Zephyr-Core-3.4.0/drivers/sensor/esp32_temp/
Desp32_temp.c24 struct k_mutex mutex; member
/Zephyr-Core-3.4.0/drivers/flash/
Dflash_gd32.c21 struct k_sem mutex; member
/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_b91.c27 struct k_sem mutex; member
/Zephyr-Core-3.4.0/drivers/sensor/stm32_vbat/
Dstm32_vbat.c25 struct k_mutex mutex; member
/Zephyr-Core-3.4.0/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/
Dcyabs_rtos_zephyr.c334 cy_rslt_t cy_rtos_init_mutex2(cy_mutex_t *mutex, bool recursive) in cy_rtos_init_mutex2()
353 cy_rslt_t cy_rtos_get_mutex(cy_mutex_t *mutex, cy_time_t timeout_ms) in cy_rtos_get_mutex()
376 cy_rslt_t cy_rtos_set_mutex(cy_mutex_t *mutex) in cy_rtos_set_mutex()
395 cy_rslt_t cy_rtos_deinit_mutex(cy_mutex_t *mutex) in cy_rtos_deinit_mutex()
/Zephyr-Core-3.4.0/drivers/sensor/nrf5/
Dtemp_nrf5.c28 struct k_mutex mutex; member
/Zephyr-Core-3.4.0/tests/kernel/mutex/mutex_api/src/
Dtest_mutex_apis.c20 static struct k_mutex mutex; variable
393 struct k_mutex *mutex = (struct k_mutex *)p1; in tThread_mutex_lock_should_fail() local
/Zephyr-Core-3.4.0/lib/posix/
Dpthread_barrier.c15 struct k_mutex mutex; member
/Zephyr-Core-3.4.0/drivers/sensor/stm32_vref/
Dstm32_vref.c24 struct k_mutex mutex; member
/Zephyr-Core-3.4.0/drivers/sensor/ntc_thermistor/
Dntc_thermistor.c15 struct k_mutex mutex; member

123