/Zephyr-Core-3.4.0/subsys/portability/cmsis_rtos_v2/ |
D | mutex.c | 26 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/ |
D | mutex.c | 12 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/ |
D | mutex.c | 49 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()
|
D | condvar.c | 100 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/ |
D | cmsis_mutex.c | 19 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/ |
D | mutex.h | 68 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/ |
D | pktqueue.c | 11 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/ |
D | threading.c | 53 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/ |
D | threading_weak.c | 22 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/ |
D | CMakeLists.txt | 5 project(mutex) project
|
/Zephyr-Core-3.4.0/drivers/misc/ethos_u/ |
D | init.c | 28 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/ |
D | ctf_top.c | 228 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/ |
D | main.c | 35 struct k_mutex mutex; in ZTEST() local
|
/Zephyr-Core-3.4.0/include/zephyr/fs/ |
D | littlefs.h | 39 struct k_mutex mutex; member
|
/Zephyr-Core-3.4.0/subsys/tracing/test/ |
D | tracing_string_format_test.c | 237 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/ |
D | esp32_temp.c | 24 struct k_mutex mutex; member
|
/Zephyr-Core-3.4.0/drivers/flash/ |
D | flash_gd32.c | 21 struct k_sem mutex; member
|
/Zephyr-Core-3.4.0/drivers/i2c/ |
D | i2c_b91.c | 27 struct k_sem mutex; member
|
/Zephyr-Core-3.4.0/drivers/sensor/stm32_vbat/ |
D | stm32_vbat.c | 25 struct k_mutex mutex; member
|
/Zephyr-Core-3.4.0/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/ |
D | cyabs_rtos_zephyr.c | 334 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/ |
D | temp_nrf5.c | 28 struct k_mutex mutex; member
|
/Zephyr-Core-3.4.0/tests/kernel/mutex/mutex_api/src/ |
D | test_mutex_apis.c | 20 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/ |
D | pthread_barrier.c | 15 struct k_mutex mutex; member
|
/Zephyr-Core-3.4.0/drivers/sensor/stm32_vref/ |
D | stm32_vref.c | 24 struct k_mutex mutex; member
|
/Zephyr-Core-3.4.0/drivers/sensor/ntc_thermistor/ |
D | ntc_thermistor.c | 15 struct k_mutex mutex; member
|