Searched refs:OS_PCB_FROM_TCB (Results 1 – 8 of 8) sorted by relevance
161 #define OS_PCB_FROM_TCB(taskCB) ((LosProcessCB *)((taskCB)->processCB)) macro395 LosProcessCB *runProcess = OS_PCB_FROM_TCB(OsCurrTaskGet()); in OsCurrProcessGet()417 LosProcessCB *process = OS_PCB_FROM_TCB(taskCB); in OsProcessUserIDGet()428 return (OS_PCB_FROM_TCB(taskCB)->threadGroup == taskCB); in OsIsProcessThreadGroup()433 return OS_PCB_FROM_TCB(taskCB)->threadNumber; in OsProcessThreadNumberGet()
364 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in OsTaskResourcesToFree()498 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in TaskCBDeInit()865 OsProcessResourcesToFree(OS_PCB_FROM_TCB(runTask)); in OsRunningTaskToExit()869 OsProcessNaturalExit(OS_PCB_FROM_TCB(runTask), status); in OsRunningTaskToExit()1306 err = (INT32)OsSetProcessName(OS_PCB_FROM_TCB(taskCB), (const CHAR *)taskCB->taskName); in OsSetTaskName()
86 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in OsDeleteTaskFromProcess()2361 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in ThreadGroupActiveTaskKilled()
135 processCB = OS_PCB_FROM_TCB(runTask); in OsCpupGuard()254 OsCpupBase *processCpup = OS_PCB_FROM_TCB(runTask)->processCpup; in OsCpupCycleEndStart()
354 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in BasePriorityModify()
138 if (!OsTaskIsPending(taskCB) || !OsProcessIsUserMode(OS_PCB_FROM_TCB(taskCB))) { in OsPendingTaskWake()
595 LosProcessCB *pcb = OS_PCB_FROM_TCB(taskCB); in LiteIpcRemoveServiceHandle()1051 LosProcessCB *pcb = OS_PCB_FROM_TCB(tcb); in LiteIpcWrite()
1179 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in SysSetThreadArea()