Home
last modified time | relevance | path

Searched refs:taskID (Results 1 - 10 of 10) sorted by relevance

/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dpthread.c54 /* translate pthread_t id to taskID */
60 /* translate taskID to pthread_t id */
71 static inline BOOL IsValidTask(UINT32 taskID) in IsValidTask() argument
73 return (taskID < g_taskMaxNum) && in IsValidTask()
74 !(OS_TCB_FROM_TID(taskID)->taskStatus & OS_TASK_STATUS_UNUSED); in IsValidTask()
78 static inline BOOL IsPthread(UINT32 taskID) in IsPthread() argument
80 return IsValidTask(taskID) && in IsPthread()
81 (OS_TCB_FROM_TID(taskID)->taskEntry == PthreadEntry); in IsPthread()
84 static inline struct PthreadData *GetPthreadData(UINT32 taskID) in GetPthreadData() argument
86 return IsPthread(taskID) in GetPthreadData()
95 UINT32 taskID = LOS_CurTaskIDGet(); PthreadEntry() local
124 UINT32 taskID; pthread_create() local
175 UINT32 taskID = P2T(thread); pthread_setschedparam() local
205 UINT32 taskID = P2T(thread); pthread_getschedparam() local
227 UINT32 taskID = LOS_CurTaskIDGet(); pthread_self() local
233 UINT32 taskID = P2T(thread); pthread_cancel() local
288 UINT32 taskID; CleanupTaskResource() local
302 UINT32 taskID = P2T(thread); pthread_join() local
342 UINT32 taskID = P2T(thread); pthread_detach() local
371 UINT32 taskID = LOS_CurTaskIDGet(); pthread_exit() local
395 UINT32 taskID = P2T(thread); pthread_setname_np() local
419 UINT32 taskID = P2T(thread); pthread_getname_np() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_task.h490 * @param taskID [OUT] Type #UINT32 * Task ID.
508 extern UINT32 LOS_TaskCreateOnly(UINT32 *taskID, TSK_INIT_PARAM_S *taskInitParam);
537 * @param taskID [OUT] Type #UINT32 * Task ID.
555 extern UINT32 LOS_TaskCreate(UINT32 *taskID, TSK_INIT_PARAM_S *taskInitParam);
571 * @param taskID [IN] Type #UINT32 Task ID. The task id value is obtained from task creation.
581 extern UINT32 LOS_TaskResume(UINT32 taskID);
596 * @param taskID [IN] Type #UINT32 Task ID. The task id value is obtained from task creation.
610 extern UINT32 LOS_TaskSuspend(UINT32 taskID);
627 * @param taskID [IN] Type #UINT32 Task ID. The task id value is obtained from task creation.
638 extern UINT32 LOS_TaskDelete(UINT32 taskID);
[all...]
H A Dlos_runstop.h64 UINT32 taskID; member
77 UINT32 taskID; member
H A Dlos_track.h414 #define LOS_TRACK_TASK(type, taskID) \
417 OsTrackhook(type, taskID, 0, 0); \
421 #define LOS_TRACK_TASK(type, taskID)
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/base/include/
H A Dlos_task_pri.h231 * @param taskID [IN] Task ID.
238 #define OS_TSK_GET_INDEX(taskID) (taskID)
265 * @param taskID [IN] task ID.
272 #define OS_TCB_FROM_TID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID))
285 UINT32 taskID; /**< Task ID */ member
555 * @param taskID [IN] Type #UINT32 task id.
562 extern VOID OsTaskEntry(UINT32 taskID);
622 * @param taskID [I
[all...]
H A Dlos_memstat_pri.h44 extern VOID OsTaskMemUsedInc(UINT32 usedSize, UINT32 taskID);
45 extern VOID OsTaskMemUsedDec(UINT32 usedSize, UINT32 taskID);
46 extern UINT32 OsTaskMemUsage(UINT32 taskID);
H A Dlos_memory_pri.h42 #define OS_MEM_ADD_USED(size, taskID) OsTaskMemUsedInc(size, taskID)
43 #define OS_MEM_REDUCE_USED(size, taskID) OsTaskMemUsedDec(size, taskID)
45 #define OS_MEM_ADD_USED(size, taskID)
46 #define OS_MEM_REDUCE_USED(size, taskID)
/device/soc/rockchip/rk2206/sdk_liteos/platform/main/
H A Dmain.c62 UINT32 taskID; in IotInit() local
70 uwRet = LOS_TaskCreate(&taskID, &stTask); in IotInit()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/
H A Dcmsis_liteos2.c80 uint32_t osTaskStackWaterMarkGet(UINT32 taskID);
428 uint32_t osTaskStackWaterMarkGet(UINT32 taskID) in osTaskStackWaterMarkGet() argument
435 if (taskID > LOSCFG_BASE_CORE_TSK_LIMIT) { in osTaskStackWaterMarkGet()
441 pstTaskCB = OS_TCB_FROM_TID(taskID); in osTaskStackWaterMarkGet()
472 return osTaskStackWaterMarkGet(pstTaskCB->taskID); in osThreadGetStackSpace()
496 uwRet = LOS_TaskPriSet(pstTaskCB->taskID, usPriority); in osThreadSetPriority()
522 usRet = LOS_TaskPriGet(pstTaskCB->taskID); in osThreadGetPriority()
564 uwRet = LOS_TaskSuspend(pstTaskCB->taskID); in osThreadSuspend()
596 uwRet = LOS_TaskResume(pstTaskCB->taskID); in osThreadResume()
626 uwRet = LOS_TaskDelete(pstTaskCB->taskID); in osThreadTerminate()
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_thread.h73 #define uwTaskID taskID

Completed in 8 milliseconds