Home
last modified time | relevance | path

Searched refs:SemHandle (Results 1 – 6 of 6) sorted by relevance

/kernel/uniproton/src/include/uapi/
Dprt_sem.h195 typedef U16 SemHandle; typedef
255 extern U32 PRT_SemCreate(U32 count, SemHandle *semHandle);
272 extern U32 PRT_SemDelete(SemHandle semHandle);
290 extern U32 PRT_SemGetCount(SemHandle semHandle, U32 *semCnt);
316 extern U32 PRT_SemPend(SemHandle semHandle, U32 timeout);
340 extern U32 PRT_SemPost(SemHandle semHandle);
364 extern U32 PRT_SemGetPendList(SemHandle semHandle, U32 *tskCnt, U32 *pidBuf, U32 bufLen);
383 extern U32 PRT_SemGetInfo(SemHandle semHandle, struct SemInfo *semInfo);
/kernel/uniproton/src/core/ipc/sem/
Dprt_sem_minor.c20 OS_SEC_L4_TEXT U32 PRT_SemGetInfo(SemHandle semHandle, struct SemInfo *semInfo) in PRT_SemGetInfo()
29 if (semHandle >= (SemHandle)g_maxSem) { in PRT_SemGetInfo()
52 OS_SEC_L4_TEXT U32 PRT_SemGetCount(SemHandle semHandle, U32 *semCnt) in PRT_SemGetCount()
72 OS_SEC_L4_TEXT U32 PRT_SemGetPendList(SemHandle semHandle, U32 *tskCnt, U32 *pidBuf, U32 bufLen) in PRT_SemGetPendList()
89 if (semHandle >= (SemHandle)g_maxSem) { in PRT_SemGetPendList()
Dprt_sem_init.c66 OS_SEC_L4_TEXT U32 OsSemCreate(U32 count, enum SemMode semMode, SemHandle *semHandle, U32 cookie) in OsSemCreate()
98 *semHandle = (SemHandle)semCreated->semId; in OsSemCreate()
107 OS_SEC_L4_TEXT U32 PRT_SemCreate(U32 count, SemHandle *semHandle) in PRT_SemCreate()
122 OS_SEC_L4_TEXT U32 PRT_SemDelete(SemHandle semHandle) in PRT_SemDelete()
127 if (semHandle >= (SemHandle)g_maxSem) { in PRT_SemDelete()
Dprt_sem.c109 OS_SEC_L0_TEXT U32 PRT_SemPend(SemHandle semHandle, U32 timeout) in PRT_SemPend()
116 if (semHandle >= (SemHandle)g_maxSem) { in PRT_SemPend()
175 OS_SEC_ALW_INLINE INLINE U32 OsSemPostErrorCheck(struct TagSemCb *semPosted, SemHandle semHandle) in OsSemPostErrorCheck()
194 OS_SEC_L0_TEXT U32 PRT_SemPost(SemHandle semHandle) in PRT_SemPost()
200 if (semHandle >= (SemHandle)g_maxSem) { in PRT_SemPost()
/kernel/uniproton/src/net/lwip-2.1/src/
Dsys_arch.c283 U32 ret = PRT_SemCreate((U32)count, (SemHandle*)sem); in sys_sem_new()
297 (void)PRT_SemPost((SemHandle)(*sem)); in sys_sem_signal()
307 U32 ret = PRT_SemPend((SemHandle)(*sem), tick ? (U32)tick : OS_WAIT_FOREVER); in sys_arch_sem_wait()
326 (void)PRT_SemDelete((SemHandle)(*sem)); in sys_sem_free()
335 return (SemHandle)(*sem) != OS_SEM_MAX_SUPPORT_NUM; in sys_sem_valid()
357 U32 ret = PRT_SemCreate(1, (SemHandle*)(mutex)); in sys_mutex_new()
372 (void)PRT_SemPend((SemHandle)(*mutex), OS_WAIT_FOREVER); in sys_mutex_lock()
382 (void)PRT_SemPost((SemHandle)(*mutex)); in sys_mutex_unlock()
392 (void)PRT_SemDelete((SemHandle)(*mutex)); in sys_mutex_free()
/kernel/uniproton/doc/design/
Dinterface_description.md549 U32 PRT_SemCreate(U32 count, SemHandle *semHandle)
557 semHandle [OUT] 类型#SemHandle *,输出信号量句柄。
563 U32 PRT_SemDelete(SemHandle semHandle)
570 semHandle [IN] 类型#SemHandle,信号量句柄,来源于信号量创建成功的输出值。
576 U32 PRT_SemGetCount(SemHandle semHandle, U32 *semCnt)
583 semHandle [IN] 类型#SemHandle,信号量句柄,来源于信号量创建成功的输出值。
590 U32 PRT_SemPend(SemHandle semHandle, U32 timeout)
598 semHandle [IN] 类型#SemHandle,信号量句柄,来源于信号量创建成功的输出值。
609 U32 PRT_SemPost(SemHandle semHandle)
617 semHandle [IN] 类型#SemHandle,信号量句柄,来源于信号量创建成功的输出值。
[all …]