/Zephyr-latest/lib/libc/common/source/thrd/ |
D | mtx.c | 13 int mtx_init(mtx_t *mutex, int type) in mtx_init() 52 void mtx_destroy(mtx_t *mutex) in mtx_destroy() 57 int mtx_lock(mtx_t *mutex) in mtx_lock() 67 int mtx_timedlock(mtx_t *restrict mutex, const struct timespec *restrict time_point) in mtx_timedlock() 79 int mtx_trylock(mtx_t *mutex) in mtx_trylock() 91 int mtx_unlock(mtx_t *mutex) in mtx_unlock()
|
/Zephyr-latest/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-latest/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-latest/kernel/ |
D | mutex.c | 55 int z_impl_k_mutex_init(struct k_mutex *mutex) in z_impl_k_mutex_init() 74 static inline int z_vrfy_k_mutex_init(struct k_mutex *mutex) in z_vrfy_k_mutex_init() 91 static bool adjust_owner_prio(struct k_mutex *mutex, int32_t new_prio) in adjust_owner_prio() 105 int z_impl_k_mutex_lock(struct k_mutex *mutex, k_timeout_t timeout) in z_impl_k_mutex_lock() 202 static inline int z_vrfy_k_mutex_lock(struct k_mutex *mutex, in z_vrfy_k_mutex_lock() 211 int z_impl_k_mutex_unlock(struct k_mutex *mutex) in z_impl_k_mutex_unlock() 287 static inline int z_vrfy_k_mutex_unlock(struct k_mutex *mutex) in z_vrfy_k_mutex_unlock()
|
D | condvar.c | 109 int z_impl_k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex, in z_impl_k_condvar_wait() 128 int z_vrfy_k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex, in z_vrfy_k_condvar_wait()
|
/Zephyr-latest/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-latest/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-latest/tests/posix/common/src/ |
D | mutex.c | 15 static pthread_mutex_t mutex; variable 88 ZTEST(mutex, test_mutex_prioceiling_stubs) in ZTEST() argument 107 ZTEST(mutex, test_mutex_normal) in ZTEST() argument 119 ZTEST(mutex, test_mutex_recursive) in ZTEST() argument 129 ZTEST(mutex, test_mutex_resource_exhausted) in ZTEST() argument 153 ZTEST(mutex, test_mutex_resource_leak) in ZTEST() argument 192 ZTEST(mutex, test_mutex_timedlock) in ZTEST() argument
|
/Zephyr-latest/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-latest/modules/lvgl/ |
D | lvgl_zephyr_osal.c | 49 lv_result_t lv_mutex_init(lv_mutex_t *mutex) in lv_mutex_init() 55 lv_result_t lv_mutex_lock(lv_mutex_t *mutex) in lv_mutex_lock() 68 lv_result_t lv_mutex_lock_isr(lv_mutex_t *mutex) in lv_mutex_lock_isr() 81 lv_result_t lv_mutex_unlock(lv_mutex_t *mutex) in lv_mutex_unlock() 94 lv_result_t lv_mutex_delete(lv_mutex_t *mutex) in lv_mutex_delete()
|
/Zephyr-latest/lib/libc/arcmwdt/ |
D | threading.c | 56 void _mwmutex_lock(_lock_t mutex) in _mwmutex_lock() 62 void _mwmutex_unlock(_lock_t mutex) in _mwmutex_unlock()
|
/Zephyr-latest/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-latest/tests/kernel/mutex/sys_mutex/ |
D | CMakeLists.txt | 5 project(mutex) project
|
/Zephyr-latest/drivers/display/ |
D | display_sdl_bottom.c | 17 bool use_accelerator, void **window, void **renderer, void **mutex, in sdl_display_init_bottom() 106 const uint16_t y, void *renderer, void *mutex, void *texture, in sdl_display_write_bottom() 139 void *mutex, void *texture, void *read_texture) in sdl_display_read_bottom() 182 void sdl_display_cleanup_bottom(void **window, void **renderer, void **mutex, void **texture, in sdl_display_cleanup_bottom()
|
/Zephyr-latest/drivers/misc/ethos_u/ |
D | ethos_u.c | 29 struct k_mutex *mutex; in ethosu_mutex_create() local 42 int ethosu_mutex_lock(void *mutex) in ethosu_mutex_lock() 55 int ethosu_mutex_unlock(void *mutex) in ethosu_mutex_unlock()
|
/Zephyr-latest/tests/kernel/obj_tracking/src/ |
D | main.c | 35 struct k_mutex mutex; in ZTEST() local
|
/Zephyr-latest/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-latest/drivers/sensor/espressif/esp32_temp/ |
D | esp32_temp.c | 24 struct k_mutex mutex; member
|
/Zephyr-latest/drivers/flash/ |
D | flash_gd32.c | 21 struct k_sem mutex; member
|
/Zephyr-latest/include/zephyr/fs/ |
D | littlefs.h | 55 struct k_mutex mutex; member
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_b91.c | 27 struct k_sem mutex; member
|
/Zephyr-latest/drivers/wifi/nxp/ |
D | nxp_wifi_drv.h | 72 struct k_mutex mutex; member
|
/Zephyr-latest/lib/posix/options/ |
D | mutex.c | 419 int pthread_mutex_getprioceiling(const pthread_mutex_t *mutex, int *prioceiling) in pthread_mutex_getprioceiling() 427 int pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int prioceiling, int *old_ceiling) in pthread_mutex_setprioceiling()
|
/Zephyr-latest/include/zephyr/sys/internal/ |
D | kobject_internal.h | 34 struct k_mutex *mutex; member
|
/Zephyr-latest/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/ |
D | cyabs_rtos_zephyr.c | 331 cy_rslt_t cy_rtos_init_mutex2(cy_mutex_t *mutex, bool recursive) in cy_rtos_init_mutex2() 350 cy_rslt_t cy_rtos_get_mutex(cy_mutex_t *mutex, cy_time_t timeout_ms) in cy_rtos_get_mutex() 373 cy_rslt_t cy_rtos_set_mutex(cy_mutex_t *mutex) in cy_rtos_set_mutex() 392 cy_rslt_t cy_rtos_deinit_mutex(cy_mutex_t *mutex) in cy_rtos_deinit_mutex()
|