Searched refs:semId (Results 1 - 8 of 8) sorted by relevance
/kernel/uniproton/src/core/kernel/task/ |
H A D | prt_task_sem.c | 22 OS_SEC_L4_TEXT U32 PRT_TaskGetPendSem(TskHandle taskId, U16 *semId, U16 *pendState) in PRT_TaskGetPendSem() argument 27 if ((semId == NULL) || (pendState == NULL)) { in PRT_TaskGetPendSem() 32 *semId = (U16)OS_INVALID; in PRT_TaskGetPendSem() 50 *semId = ((struct TagSemCb *)taskCb->taskSem)->semId; in PRT_TaskGetPendSem()
|
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_procfd.c | 349 static struct fd_table_s *GetProcessFTable(unsigned int pid, sem_t *semId) in GetProcessFTable() argument 367 *semId = procFiles->fdt->ft_sem; in GetProcessFTable() 381 sem_t semId; in CopyFdToProc() 393 fdt = GetProcessFTable(targetPid, &semId); in CopyFdToProc() 400 if (sem_wait(&semId) != 0) { in CopyFdToProc() 408 if (sem_post(&semId) == -1) { in CopyFdToProc() 418 if (sem_post(&semId) == -1) { in CopyFdToProc() 433 sem_t semId; in CloseProcFd() 439 fdt = GetProcessFTable(targetPid, &semId); in CloseProcFd() 445 if (sem_wait(&semId) ! in CloseProcFd() [all...] |
/kernel/liteos_m/components/trace/ |
H A D | los_trace.h | 356 #define SEM_CREATE_PARAMS(semId, type, count) semId, type, count 357 #define SEM_DELETE_PARAMS(semId, delRetCode) semId, delRetCode 358 #define SEM_PEND_PARAMS(semId, count, timeout) semId, count, timeout 359 #define SEM_POST_PARAMS(semId, type, count) semId, type, count
|
/kernel/liteos_a/kernel/include/ |
H A D | los_trace.h | 383 #define SEM_CREATE_PARAMS(semId, type, count) semId, type, count 384 #define SEM_DELETE_PARAMS(semId, delRetCode) semId, delRetCode 385 #define SEM_PEND_PARAMS(semId, count, timeout) semId, count, timeout 386 #define SEM_POST_PARAMS(semId, type, count) semId, type, count
|
/kernel/uniproton/src/core/ipc/sem/ |
H A D | prt_sem_init.c | 56 semNode->semId = (U16)idx; in OsSemInit() 98 *semHandle = (SemHandle)semCreated->semId; in OsSemCreate()
|
/kernel/uniproton/src/core/ipc/include/ |
H A D | prt_sem_external.h | 36 U16 semId; member
|
/kernel/uniproton/src/include/uapi/ |
H A D | prt_task.h | 1258 * @param semId [OUT] 类型#U16 *,任务PEND的信号量ID或者#OS_INVALID。 1267 extern U32 PRT_TaskGetPendSem(TskHandle taskId, U16 *semId, U16 *pendState);
|
/kernel/liteos_m/kal/cmsis/ |
H A D | cmsis_liteos2.c | 1123 UINT32 semId;
in osSemaphoreNew() local 1132 ret = LOS_BinarySemCreate((UINT16)initial_count, &semId);
in osSemaphoreNew() 1134 ret = LOS_SemCreate((UINT16)initial_count, &semId);
in osSemaphoreNew() 1138 return (osSemaphoreId_t)(GET_SEM(semId));
in osSemaphoreNew()
|
Completed in 7 milliseconds