Searched refs:currVal (Results 1 – 5 of 5) sorted by relevance
156 int sem_getvalue(sem_t *sem, int *currVal) in sem_getvalue() argument160 if ((sem == NULL) || (currVal == NULL)) { in sem_getvalue()169 *currVal = val; in sem_getvalue()
192 int sem_getvalue(sem_t *sem, int *currVal) in sem_getvalue() argument196 if ((sem == NULL) || (sem->s_magic != (INT32)_SEM_MAGIC)|| (currVal == NULL)) { in sem_getvalue()201 ret = LOS_SemGetValue(sem->s_handle, currVal); in sem_getvalue()
55 int sem_getvalue(sem_t *__restrict sem, int *__restrict currVal);
318 LITE_OS_SEC_TEXT UINT32 LOS_SemGetValue(UINT32 semHandle, INT32 *currVal) in LOS_SemGetValue() argument326 *currVal = sem->semCount; in LOS_SemGetValue()
297 extern UINT32 LOS_SemGetValue(UINT32 semHandle, INT32 *currVal);