• Home
  • Raw
  • Download

Lines Matching refs:stackSize

249         peakUsed = OS_TCB_FROM_TID(taskID)->stackSize -  in OsGetTaskWaterLine()
314 taskCB->stackSize, 0, 0, 0, 0, 0); in PrintTskInfo()
321 taskCB->stackSize, OsGetTaskWaterLine(taskCB->taskID), in PrintTskInfo()
612 UINT32 endOfStack = g_losTask.newTask->topOfStack + g_losTask.newTask->stackSize; in OsTaskSwitchCheck()
720 taskCB->stackSize = taskInitParam->uwStackSize; in OsNewTaskInit()
745 taskCB->stackSize = ALIGN(taskInitParam->uwStackSize, OS_TASK_STACK_ADDR_ALIGN); in OsNewTaskInit()
747 UINT32 stackSize = taskCB->stackSize + OS_TASK_STACK_PROTECT_SIZE; in OsNewTaskInit() local
748 …UINTPTR stackPtr = (UINTPTR)LOS_MemAllocAlign(OS_TASK_STACK_ADDR, stackSize, OS_TASK_STACK_PROTECT… in OsNewTaskInit()
751 taskCB->topOfStack = (UINTPTR)LOS_MemAllocAlign(OS_TASK_STACK_ADDR, taskCB->stackSize, in OsNewTaskInit()
760 … taskCB->stackSize = taskInitParam->uwStackSize - (taskCB->topOfStack - taskInitParam->stackAddr); in OsNewTaskInit()
761 taskCB->stackSize = TRUNCATE(taskCB->stackSize, OS_TASK_STACK_ADDR_ALIGN); in OsNewTaskInit()
765 (VOID)memset_s((VOID *)taskCB->topOfStack, taskCB->stackSize, in OsNewTaskInit()
766 (INT32)(OS_TASK_STACK_INIT & 0xFF), taskCB->stackSize); in OsNewTaskInit()
769 …taskCB->stackPointer = ArchTskStackInit(taskCB->taskID, taskCB->stackSize, (VOID *)taskCB->topOfSt… in OsNewTaskInit()
1373 taskInfo->uwStackSize = taskCB->stackSize; in LOS_TaskInfoGet()
1388 taskInfo->uwBottomOfStack = TRUNCATE(((UINT32)(taskCB->topOfStack) + (taskCB->stackSize)), in LOS_TaskInfoGet()