Home
last modified time | relevance | path

Searched refs:k_mutex (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/osal_aos/rhino/
A Daos_mutex.c119 kmutex_t *k_mutex; in aos_mutex_is_valid() local
125 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()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmpthreadport.c184 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()
A Dmpthreadport.h32 void* k_mutex; member
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmpthreadport.c184 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()
A Dmpthreadport.h32 void* k_mutex; member
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmpthreadport.c206 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()
A Dmpthreadport.h35 void *k_mutex; member
/AliOS-Things-master/components/ble_host/include/
A Dble_os_port.h459 struct k_mutex { struct
530 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);
/AliOS-Things-master/components/ble_host/bt_host/port/aos/
A Daos_port.c212 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()
/AliOS-Things-master/components/ble_host/bt_host/port/core/settings/src/
A Dsettings_store.c26 extern struct k_mutex settings_lock;
A Dsettings.c29 struct k_mutex settings_lock;
/AliOS-Things-master/components/ble_host/bt_host/port/include/port/
A Dkport.h31 struct k_mutex name __in_section(_k_mutex, static, name) = \
/AliOS-Things-master/kernel/rhino/
A Dcsi.mk45 KERNEL_CSRC += $(KERNELDIR)/rhino/core/k_mutex.c
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dadv.c529 struct k_mutex mutex;
/AliOS-Things-master/hardware/chip/haas1000/
A D_haas1000_alios_sec_b.lds254 *:k_mutex.o(.text*)
344 *:k_mutex.o(.data*)
473 *:k_mutex.o(.bss*)
A D_haas1000_alios_sec_b_a7.lds253 *:k_mutex.o(.text*)
342 *:k_mutex.o(.data*)
470 *:k_mutex.o(.bss*)

Completed in 19 milliseconds