Lines Matching refs:pxCurrentTCBs

320 …#define portGET_CRITICAL_NESTING_COUNT()          ( pxCurrentTCBs[ portGET_CORE_ID() ]->uxCritical…
321 …#define portSET_CRITICAL_NESTING_COUNT( x ) ( pxCurrentTCBs[ portGET_CORE_ID() ]->uxCritical…
322 …#define portINCREMENT_CRITICAL_NESTING_COUNT() ( pxCurrentTCBs[ portGET_CORE_ID() ]->uxCritical…
323 …#define portDECREMENT_CRITICAL_NESTING_COUNT() ( pxCurrentTCBs[ portGET_CORE_ID() ]->uxCritical…
343 if( pxCurrentTCBs[ ( xCoreID ) ]->xTaskRunState != taskTASK_SCHEDULED_TO_YIELD ) \
346 pxCurrentTCBs[ ( xCoreID ) ]->xTaskRunState = taskTASK_SCHEDULED_TO_YIELD; \
451 portDONT_DISCARD PRIVILEGED_DATA TCB_t * volatile pxCurrentTCBs[ configNUMBER_OF_CORES ]; variable
815 pxThisTCB = pxCurrentTCBs[ portGET_CORE_ID() ]; in prvCheckForRunStateChange()
901 xCurrentCoreTaskPriority = ( BaseType_t ) pxCurrentTCBs[ xCoreID ]->uxPriority; in prvYieldForTask()
904 if( ( pxCurrentTCBs[ xCoreID ]->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) != 0U ) in prvYieldForTask()
909 …if( ( taskTASK_IS_RUNNING( pxCurrentTCBs[ xCoreID ] ) != pdFALSE ) && ( xYieldPendings[ xCoreID ] … in prvYieldForTask()
922 if( pxCurrentTCBs[ xCoreID ]->xPreemptionDisable == pdFALSE ) in prvYieldForTask()
970 … if( ( ( pxCurrentTCBs[ portGET_CORE_ID() ]->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) == 0U ) && in prvYieldForTask()
971 ( pxTCB->uxPriority > pxCurrentTCBs[ portGET_CORE_ID() ]->uxPriority ) ) in prvYieldForTask()
974 … ( taskTASK_IS_RUNNING( pxCurrentTCBs[ portGET_CORE_ID() ] ) == pdFALSE ) ); in prvYieldForTask()
1010 if( listIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ pxCurrentTCBs[ xCoreID ]->uxPriority ] ), in prvSelectHighestPriorityTask()
1011 &pxCurrentTCBs[ xCoreID ]->xStateListItem ) == pdTRUE ) in prvSelectHighestPriorityTask()
1013 ( void ) uxListRemove( &pxCurrentTCBs[ xCoreID ]->xStateListItem ); in prvSelectHighestPriorityTask()
1014 vListInsertEnd( &( pxReadyTasksLists[ pxCurrentTCBs[ xCoreID ]->uxPriority ] ), in prvSelectHighestPriorityTask()
1015 &pxCurrentTCBs[ xCoreID ]->xStateListItem ); in prvSelectHighestPriorityTask()
1071 pxCurrentTCBs[ xCoreID ]->xTaskRunState = taskTASK_NOT_RUNNING; in prvSelectHighestPriorityTask()
1073 pxPreviousTCB = pxCurrentTCBs[ xCoreID ]; in prvSelectHighestPriorityTask()
1076 pxCurrentTCBs[ xCoreID ] = pxTCB; in prvSelectHighestPriorityTask()
1080 else if( pxTCB == pxCurrentTCBs[ xCoreID ] ) in prvSelectHighestPriorityTask()
1148 if( ( pxCurrentTCBs[ x ]->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) != 0U ) in prvSelectHighestPriorityTask()
1196 uxCoreMap &= ~( pxCurrentTCBs[ xCoreID ]->uxCoreAffinityMask ); in prvSelectHighestPriorityTask()
1214 xTaskPriority = ( BaseType_t ) pxCurrentTCBs[ uxCore ]->uxPriority; in prvSelectHighestPriorityTask()
1216 … if( ( pxCurrentTCBs[ uxCore ]->uxTaskAttributes & taskATTRIBUTE_IS_IDLE ) != 0U ) in prvSelectHighestPriorityTask()
1224 ( taskTASK_IS_RUNNING( pxCurrentTCBs[ uxCore ] ) != pdFALSE ) && in prvSelectHighestPriorityTask()
1228 if( pxCurrentTCBs[ uxCore ]->xPreemptionDisable == pdFALSE ) in prvSelectHighestPriorityTask()
3654 pxCurrentTCBs[ xCoreID ] = xIdleTaskHandles[ xCoreID ]; in prvCreateIdleTasks()
4829 …if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ pxCurrentTCBs[ xCoreID ]->uxPriority ] ) ) > 1U… in xTaskIncrementTick()
4880 if( pxCurrentTCBs[ xCoreID ]->xPreemptionDisable == pdFALSE ) in xTaskIncrementTick()
5189pxCurrentTCBs[ xCoreID ]->ulRunTimeCounter += ( ulTotalRunTime[ xCoreID ] - ulTaskSwitchedInTime[ … in vTaskSwitchContext()
5206 pxCurrentTCBs[ xCoreID ]->iTaskErrno = FreeRTOS_errno; in vTaskSwitchContext()
5217 portTASK_SWITCH_HOOK( pxCurrentTCBs[ portGET_CORE_ID() ] ); in vTaskSwitchContext()
5222 FreeRTOS_errno = pxCurrentTCBs[ xCoreID ]->iTaskErrno; in vTaskSwitchContext()
5230 configSET_TLS_BLOCK( pxCurrentTCBs[ xCoreID ]->xTLSBlock ); in vTaskSwitchContext()
6505 xReturn = pxCurrentTCBs[ portGET_CORE_ID() ]; in xTaskGetCurrentTaskHandle()
6526 xReturn = pxCurrentTCBs[ xCoreID ]; in xTaskGetCurrentTaskHandleForCore()