Home
last modified time | relevance | path

Searched refs:kmutex_t (Results 1 – 20 of 20) sorted by relevance

/AliOS-Things-master/components/osal_aos/rhino/
A Daos_mutex.c22 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 Dk_mutex.h38 } 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 Dk_trace.h118 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 Dk_internal.h91 extern kmutex_t g_workqueue_mutex;
201 uint8_t mutex_pri_look(ktask_t *tcb, kmutex_t *mutex_rel);
A Dk_mm.h189 kmutex_t mm_mutex;
/AliOS-Things-master/components/vfs/
A Dvfs_adapt.c14 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 Dk_mutex.c16 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 Dk_obj.c79 kmutex_t g_workqueue_mutex;
A Dk_task.c564 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 Dkv_adapt.c114 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 Dcpp_mutex.h66 kmutex_t *self(void);
72 kmutex_t _mutex_def;
/AliOS-Things-master/components/trace/
A Dk_trace.c148 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 Dffconf.h228 #define FF_SYNC_t kmutex_t
/AliOS-Things-master/components/cplusplus/
A Dmutex.cpp64 kmutex_t *Mutex::self(void) in self()
/AliOS-Things-master/components/mbmaster/include/
A Dauxiliary.h23 #define MB_MUTEX_T kmutex_t
/AliOS-Things-master/hardware/chip/haas1000/drivers/rtos/rhino/cmsis/
A Dcmsis_os.h182 typedef kmutex_t *osMutexId;
227 kmutex_t *mutex;
/AliOS-Things-master/hardware/board/c906/adapter/
A Dcsi_rhino.c820 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 Ddebug_overview.c393 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 Dble_os_port.h293 typedef kmutex_t _mutex_t;
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Duart.c37 kmutex_t rx_cb_mutex;

Completed in 27 milliseconds