Searched refs:k_mutex (Results 1 – 16 of 16) sorted by relevance
119 kmutex_t *k_mutex; in aos_mutex_is_valid() local125 k_mutex = (kmutex_t *)*mutex; in aos_mutex_is_valid()127 if (k_mutex == NULL) { in aos_mutex_is_valid()131 if (k_mutex->blk_obj.obj_type != RHINO_MUTEX_OBJ_TYPE) { in aos_mutex_is_valid()
184 mp_sal_mutex_create(&(mutex->k_mutex)); in mp_thread_mutex_init()188 if((mutex->k_mutex) == NULL) in mp_thread_mutex_lock()193 return mp_sal_mutex_lock(&(mutex->k_mutex), wait ? AOS_WAIT_FOREVER : 0); in mp_thread_mutex_lock()197 if((mutex->k_mutex) == NULL) in mp_thread_mutex_unlock()202 mp_sal_mutex_unlock(&(mutex->k_mutex)); in mp_thread_mutex_unlock()
32 void* k_mutex; member
206 aos_mutex_new((aos_mutex_t *)&(mutex->k_mutex)); in mp_thread_mutex_init()211 if (mutex->k_mutex == NULL) { in mp_thread_mutex_lock()216 int status = aos_mutex_lock(&(mutex->k_mutex), wait ? AOS_WAIT_FOREVER : 0); in mp_thread_mutex_lock()222 if ((mutex->k_mutex) == NULL) { in mp_thread_mutex_unlock()226 mp_sal_mutex_unlock(&(mutex->k_mutex)); in mp_thread_mutex_unlock()
35 void *k_mutex; member
459 struct k_mutex { struct530 void k_mutex_init(struct k_mutex *mutex);531 int k_mutex_lock(struct k_mutex *mutex, bt_s32_t timeout);532 void k_mutex_unlock(struct k_mutex *mutex);
212 void k_mutex_init(struct k_mutex *mutex) in k_mutex_init()231 int k_mutex_lock(struct k_mutex *mutex, bt_s32_t timeout) in k_mutex_lock()249 void k_mutex_unlock(struct k_mutex *mutex) in k_mutex_unlock()
26 extern struct k_mutex settings_lock;
29 struct k_mutex settings_lock;
31 struct k_mutex name __in_section(_k_mutex, static, name) = \
45 KERNEL_CSRC += $(KERNELDIR)/rhino/core/k_mutex.c
529 struct k_mutex mutex;
254 *:k_mutex.o(.text*)344 *:k_mutex.o(.data*)473 *:k_mutex.o(.bss*)
253 *:k_mutex.o(.text*)342 *:k_mutex.o(.data*)470 *:k_mutex.o(.bss*)
Completed in 19 milliseconds