/AliOS-Things-master/components/osal_aos/rhino/ |
A D | aos_mutex.c | 22 kmutex_t *m; in aos_mutex_new() 28 m = aos_malloc(sizeof(kmutex_t)); in aos_mutex_new() 47 kmutex_t *m; in aos_mutex_create() 54 m = aos_malloc(sizeof(kmutex_t)); in aos_mutex_create() 75 krhino_mutex_del((kmutex_t *)*mutex); in aos_mutex_free() 89 ret = krhino_mutex_lock((kmutex_t *)*mutex, RHINO_WAIT_FOREVER); in aos_mutex_lock() 91 ret = krhino_mutex_lock((kmutex_t *)*mutex, MS2TICK(timeout)); in aos_mutex_lock() 108 ret = krhino_mutex_unlock((kmutex_t *)*mutex); in aos_mutex_unlock() 119 kmutex_t *k_mutex; in aos_mutex_is_valid() 125 k_mutex = (kmutex_t *)*mutex; in aos_mutex_is_valid()
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_mutex.h | 38 } kmutex_t; typedef 48 kstat_t krhino_mutex_create(kmutex_t *mutex, const name_t *name); 57 kstat_t krhino_mutex_del(kmutex_t *mutex); 68 kstat_t krhino_mutex_dyn_create(kmutex_t **mutex, const name_t *name); 77 kstat_t krhino_mutex_dyn_del(kmutex_t *mutex); 88 kstat_t krhino_mutex_lock(kmutex_t *mutex, tick_t ticks); 97 kstat_t krhino_mutex_unlock(kmutex_t *mutex);
|
A D | k_trace.h | 118 void trace_mutex_create(ktask_t *task, kmutex_t *mutex, const name_t *name); 120 void trace_mutex_get(ktask_t *task, kmutex_t *mutex, tick_t wait_option); 122 void trace_mutex_get_blk(ktask_t *task, kmutex_t *mutex, tick_t wait_option); 123 void trace_mutex_release_success(ktask_t *task, kmutex_t *mutex); 124 void trace_mutex_task_wake(ktask_t *task, ktask_t *task_waked_up, kmutex_t *mutex); 125 void trace_mutex_del(ktask_t *task, kmutex_t *mutex);
|
A D | k_internal.h | 91 extern kmutex_t g_workqueue_mutex; 201 uint8_t mutex_pri_look(ktask_t *tcb, kmutex_t *mutex_rel);
|
A D | k_mm.h | 189 kmutex_t mm_mutex;
|
/AliOS-Things-master/components/vfs/ |
A D | vfs_adapt.c | 14 kmutex_t *m; in vfs_lock_create() 16 m = krhino_mm_alloc(sizeof(kmutex_t)); in vfs_lock_create() 34 kmutex_t *m = (kmutex_t *)lock; in vfs_lock_free() 52 int ret = krhino_mutex_lock((kmutex_t *)lock, RHINO_WAIT_FOREVER); in vfs_lock() 63 int ret = krhino_mutex_unlock((kmutex_t *)lock); in vfs_unlock()
|
/AliOS-Things-master/kernel/rhino/ |
A D | k_mutex.c | 16 memset(mutex, 0, sizeof(kmutex_t)); in mutex_create() 62 kstat_t krhino_mutex_del(kmutex_t *mutex) in krhino_mutex_del() 115 kmutex_t *mutex_obj; in krhino_mutex_dyn_create() 123 mutex_obj = krhino_mm_alloc(sizeof(kmutex_t)); in krhino_mutex_dyn_create() 139 kstat_t krhino_mutex_dyn_del(kmutex_t *mutex) in krhino_mutex_dyn_del() 194 kmutex_t *mutex_tmp; in mutex_pri_limit() 225 kmutex_t *mutex_tmp; in mutex_pri_look() 226 kmutex_t **prev; in mutex_pri_look() 268 kmutex_t *mutex_tmp; in mutex_task_pri_reset() 272 mutex_tmp = (kmutex_t *)(task->blk_obj); in mutex_task_pri_reset() [all …]
|
A D | k_obj.c | 79 kmutex_t g_workqueue_mutex;
|
A D | k_task.c | 564 kmutex_t *mutex_tmp; in task_pri_change() 614 mutex_tmp = (kmutex_t *)(task->blk_obj); in task_pri_change() 762 kmutex_t *mutex; in task_mutex_free() 763 kmutex_t *next_mutex; in task_mutex_free()
|
/AliOS-Things-master/components/kv/src/ |
A D | kv_adapt.c | 114 kmutex_t *m; in kv_lock_create() 116 m = krhino_mm_alloc(sizeof(kmutex_t)); in kv_lock_create() 134 kmutex_t *m = (kmutex_t *)lock; in kv_lock_free() 152 return krhino_mutex_lock((kmutex_t *)lock, RHINO_WAIT_FOREVER); in kv_lock() 157 return krhino_mutex_unlock((kmutex_t *)lock); in kv_unlock()
|
/AliOS-Things-master/components/cplusplus/include/ |
A D | cpp_mutex.h | 66 kmutex_t *self(void); 72 kmutex_t _mutex_def;
|
/AliOS-Things-master/components/trace/ |
A D | k_trace.c | 148 void trace_mutex_create(ktask_t *task, kmutex_t *mutex, const name_t *name) in trace_mutex_create() 158 void trace_mutex_get(ktask_t *task, kmutex_t *mutex, tick_t wait_option) in trace_mutex_get() 168 void trace_mutex_get_blk(ktask_t *task, kmutex_t *mutex, tick_t wait_option) in trace_mutex_get_blk() 173 void trace_mutex_release_success(ktask_t *task, kmutex_t *mutex) in trace_mutex_release_success() 178 void trace_mutex_task_wake(ktask_t *task, ktask_t *task_waked_up, kmutex_t *mutex) in trace_mutex_task_wake() 183 void trace_mutex_del(ktask_t *task, kmutex_t *mutex) in trace_mutex_del()
|
/AliOS-Things-master/components/fatfs/include/ |
A D | ffconf.h | 228 #define FF_SYNC_t kmutex_t
|
/AliOS-Things-master/components/cplusplus/ |
A D | mutex.cpp | 64 kmutex_t *Mutex::self(void) in self()
|
/AliOS-Things-master/components/mbmaster/include/ |
A D | auxiliary.h | 23 #define MB_MUTEX_T kmutex_t
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/rtos/rhino/cmsis/ |
A D | cmsis_os.h | 182 typedef kmutex_t *osMutexId; 227 kmutex_t *mutex;
|
/AliOS-Things-master/hardware/board/c906/adapter/ |
A D | csi_rhino.c | 820 kmutex_t *mutex_handle; in csi_kernel_mutex_new() 821 kstat_t ret = krhino_mutex_dyn_create((kmutex_t **)&mutex_handle, "UserMutex"); in csi_kernel_mutex_new() 900 kmutex_t *handle = (kmutex_t *)mutex_handle; in csi_kernel_mutex_get_owner()
|
/AliOS-Things-master/components/debug/src/ |
A D | debug_overview.c | 393 kmutex_t *mutex; in debug_mutex_overview() 412 mutex = krhino_list_entry(listnode, kmutex_t, mutex_item); in debug_mutex_overview()
|
/AliOS-Things-master/components/ble_host/include/ |
A D | ble_os_port.h | 293 typedef kmutex_t _mutex_t;
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | uart.c | 37 kmutex_t rx_cb_mutex;
|