Home
last modified time | relevance | path

Searched refs:OS_PCB_FROM_TCB (Results 1 – 8 of 8) sorted by relevance

/kernel/liteos_a/kernel/base/include/
Dlos_process_pri.h161 #define OS_PCB_FROM_TCB(taskCB) ((LosProcessCB *)((taskCB)->processCB)) macro
395 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()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c364 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()
Dlos_process.c86 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in OsDeleteTaskFromProcess()
2361 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in ThreadGroupActiveTaskKilled()
/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c135 processCB = OS_PCB_FROM_TCB(runTask); in OsCpupGuard()
254 OsCpupBase *processCpup = OS_PCB_FROM_TCB(runTask)->processCpup; in OsCpupCycleEndStart()
/kernel/liteos_a/kernel/base/sched/
Dlos_priority.c354 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in BasePriorityModify()
/kernel/liteos_a/kernel/base/ipc/
Dlos_signal.c138 if (!OsTaskIsPending(taskCB) || !OsProcessIsUserMode(OS_PCB_FROM_TCB(taskCB))) { in OsPendingTaskWake()
/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c595 LosProcessCB *pcb = OS_PCB_FROM_TCB(taskCB); in LiteIpcRemoveServiceHandle()
1051 LosProcessCB *pcb = OS_PCB_FROM_TCB(tcb); in LiteIpcWrite()
/kernel/liteos_a/syscall/
Dprocess_syscall.c1179 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in SysSetThreadArea()