Home
last modified time | relevance | path

Searched refs:currVal (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_a/compat/posix/src/
Dsemaphore.c156 int sem_getvalue(sem_t *sem, int *currVal) in sem_getvalue() argument
160 if ((sem == NULL) || (currVal == NULL)) { in sem_getvalue()
169 *currVal = val; in sem_getvalue()
/kernel/liteos_m/kal/posix/src/
Dsemaphore.c192 int sem_getvalue(sem_t *sem, int *currVal) in sem_getvalue() argument
196 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()
/kernel/liteos_m/kal/libc/newlib/porting/include/
Dsemaphore.h55 int sem_getvalue(sem_t *__restrict sem, int *__restrict currVal);
/kernel/liteos_m/kernel/src/
Dlos_sem.c318 LITE_OS_SEC_TEXT UINT32 LOS_SemGetValue(UINT32 semHandle, INT32 *currVal) in LOS_SemGetValue() argument
326 *currVal = sem->semCount; in LOS_SemGetValue()
/kernel/liteos_m/kernel/include/
Dlos_sem.h297 extern UINT32 LOS_SemGetValue(UINT32 semHandle, INT32 *currVal);