Lines Matching refs:xCoreID

291     BaseType_t xCoreID;                         /*< Core this task is pinned to */  member
525 static void prvAddCurrentTaskToDelayedList( const portBASE_TYPE xCoreID,
610 BaseType_t xCoreID ) PRIVILEGED_FUNCTION;
618 BaseType_t xCoreID ) PRIVILEGED_FUNCTION;
638 void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority ) in taskYIELD_OTHER_CORE() argument
642 if (xCoreID != tskNO_AFFINITY) { in taskYIELD_OTHER_CORE()
643 …if ( pxCurrentTCB[ xCoreID ]->uxPriority < uxPriority ) { // NOLINT(clang-analyzer-core.NullDere… in taskYIELD_OTHER_CORE()
644 vPortYieldOtherCore( xCoreID ); in taskYIELD_OTHER_CORE()
671 const BaseType_t xCoreID ) in xTaskCreateStaticPinnedToCore() argument
678 configASSERT( (xCoreID>=0 && xCoreID<configNUM_CORES) || (xCoreID==tskNO_AFFINITY) ); in xTaskCreateStaticPinnedToCore()
707 …k( pvTaskCode, pcName, ulStackDepth, pvParameters, uxPriority, &xReturn, pxNewTCB, NULL, xCoreID ); in xTaskCreateStaticPinnedToCore()
708 prvAddNewTaskToReadyList( pxNewTCB, pvTaskCode, xCoreID ); in xTaskCreateStaticPinnedToCore()
828 const BaseType_t xCoreID) in xTaskCreatePinnedToCore() argument
899 …ame, ( uint32_t ) usStackDepth, pvParameters, uxPriority, pvCreatedTask, pxNewTCB, NULL, xCoreID ); in xTaskCreatePinnedToCore()
900 prvAddNewTaskToReadyList( pxNewTCB, pvTaskCode, xCoreID); in xTaskCreatePinnedToCore()
922 BaseType_t xCoreID ) in prvInitialiseNewTask() argument
928 xCoreID = 0; in prvInitialiseNewTask()
1037 pxNewTCB->xCoreID = xCoreID; in prvInitialiseNewTask()
1185 BaseType_t xCoreID ) in prvAddNewTaskToReadyList() argument
1190 xCoreID = 0; in prvAddNewTaskToReadyList()
1199 if ( xCoreID == tskNO_AFFINITY ) in prvAddNewTaskToReadyList()
1203 xCoreID = 0; in prvAddNewTaskToReadyList()
1214 xCoreID = 0; in prvAddNewTaskToReadyList()
1218 xCoreID = 1; in prvAddNewTaskToReadyList()
1222 xCoreID = 0; in prvAddNewTaskToReadyList()
1226 xCoreID = 1; in prvAddNewTaskToReadyList()
1230xCoreID = xPortGetCoreID(); // Both CPU have higher priority tasks running on them, so this won't … in prvAddNewTaskToReadyList()
1235 if( pxCurrentTCB[xCoreID] == NULL ) in prvAddNewTaskToReadyList()
1239 pxCurrentTCB[xCoreID] = pxNewTCB; in prvAddNewTaskToReadyList()
1260 … if( pxCurrentTCB[xCoreID] == NULL || pxCurrentTCB[xCoreID]->uxPriority <= pxNewTCB->uxPriority ) in prvAddNewTaskToReadyList()
1262 pxCurrentTCB[xCoreID] = pxNewTCB; in prvAddNewTaskToReadyList()
1297 curTCB = pxCurrentTCB[ xCoreID ]; in prvAddNewTaskToReadyList()
1300 if( xCoreID == xPortGetCoreID() ) in prvAddNewTaskToReadyList()
1305 taskYIELD_OTHER_CORE(xCoreID, pxNewTCB->uxPriority); in prvAddNewTaskToReadyList()
1370 (configNUM_CORES > 1 && pxTCB->xCoreID == (!core)) ) in vTaskDelete()
1815 …if ( tskCAN_RUN_HERE(pxTCB->xCoreID) && uxNewPriority >= pxCurrentTCB[ xPortGetCoreID() ]->uxPrior… in vTaskPrioritySet()
1819 else if ( pxTCB->xCoreID != xPortGetCoreID() ) in vTaskPrioritySet()
1821 taskYIELD_OTHER_CORE( pxTCB->xCoreID, uxNewPriority ); in vTaskPrioritySet()
1851 …else if ( pxTCB->xCoreID != xPortGetCoreID() ) //Need to check if not currently running on ot… in vTaskPrioritySet()
1853 taskYIELD_OTHER_CORE( pxTCB->xCoreID, uxNewPriority ); in vTaskPrioritySet()
2154 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority >= pxCurrentTCB[ xPortGetCoreID() ]->uxPr… in vTaskResume()
2161 else if( pxTCB->xCoreID != xPortGetCoreID() ) in vTaskResume()
2163 taskYIELD_OTHER_CORE( pxTCB->xCoreID, pxTCB->uxPriority ); in vTaskResume()
2227 …if( tskCAN_RUN_HERE( pxTCB->xCoreID ) && pxTCB->uxPriority >= pxCurrentTCB[ xPortGetCoreID() ]->ux… in xTaskResumeFromISR()
2231 else if ( pxTCB->xCoreID != xPortGetCoreID() ) in xTaskResumeFromISR()
2233 taskYIELD_OTHER_CORE( pxTCB->xCoreID, pxTCB->uxPriority); in xTaskResumeFromISR()
2268 for(BaseType_t xCoreID = 0; xCoreID < configNUM_CORES; xCoreID++) in vTaskStartScheduler() local
2280 xIdleTaskHandle[ xCoreID ] = xTaskCreateStaticPinnedToCore( prvIdleTask, in vTaskStartScheduler()
2287xCoreID ); /*lint !e961 MISRA exception, justified as it is not a redundant explicit cast to all s… in vTaskStartScheduler()
2289 if( xIdleTaskHandle[ xCoreID ] != NULL ) in vTaskStartScheduler()
2306 &xIdleTaskHandle[ xCoreID ], in vTaskStartScheduler()
2307xCoreID ); /*lint !e961 MISRA exception, justified as it is not a redundant explicit cast to all s… in vTaskStartScheduler()
2309 if( xIdleTaskHandle[ xCoreID ] != NULL ) in vTaskStartScheduler()
2537 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority >= pxCurrentTCB[ xPortGetCoreID() ]->uxPr… in xTaskResumeAll()
3049 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority >= pxCurrentTCB[ xPortGetCoreID() ]->uxPr… in xTaskAbortDelay()
3055 else if ( pxTCB->xCoreID != xPortGetCoreID() ) in xTaskAbortDelay()
3057 taskYIELD_OTHER_CORE( pxTCB->xCoreID, pxTCB->uxPriority ); in xTaskAbortDelay()
3372 BaseType_t xCoreID = xPortGetCoreID(); /* Optimization: Read once */ in taskSelectHighestPriorityTaskSMP() local
3411 if ( ux == xCoreID ) in taskSelectHighestPriorityTaskSMP()
3423 if ( ( pxTCBCur->xCoreID != xCoreID ) && ( pxTCBCur->xCoreID != tskNO_AFFINITY ) ) in taskSelectHighestPriorityTaskSMP()
3429 pxCurrentTCB[ xCoreID ] = pxTCBCur; in taskSelectHighestPriorityTaskSMP()
3666 if ( pxUnblockedTCB->xCoreID == tskNO_AFFINITY ) in xTaskRemoveFromEventList()
3680 uxTargetCPU = pxUnblockedTCB->xCoreID; in xTaskRemoveFromEventList()
3696 …if ( tskCAN_RUN_HERE(pxUnblockedTCB->xCoreID) && pxUnblockedTCB->uxPriority >= pxCurrentTCB[ xPort… in xTaskRemoveFromEventList()
3707 else if ( pxUnblockedTCB->xCoreID != xPortGetCoreID() ) in xTaskRemoveFromEventList()
3709 taskYIELD_OTHER_CORE( pxUnblockedTCB->xCoreID, pxUnblockedTCB->uxPriority ); in xTaskRemoveFromEventList()
3758 …if ( tskCAN_RUN_HERE(pxUnblockedTCB->xCoreID) && pxUnblockedTCB->uxPriority >= pxCurrentTCB[ xPort… in vTaskRemoveFromUnorderedEventList()
3764 else if ( pxUnblockedTCB->xCoreID != xPortGetCoreID() ) in vTaskRemoveFromUnorderedEventList()
3766 taskYIELD_OTHER_CORE( pxUnblockedTCB->xCoreID, pxUnblockedTCB->uxPriority ); in vTaskRemoveFromUnorderedEventList()
4235 int affinity = tgt_tcb->xCoreID; in prvCheckTasksWaitingTermination()
4290 pxTaskStatus->xCoreID = pxTCB->xCoreID; in vTaskGetInfo()
4388 return pxTCB->xCoreID; in xTaskGetAffinity()
5153 …ark, ( unsigned int ) pxTaskStatusArray[ x ].xTaskNumber, ( int ) pxTaskStatusArray[ x ].xCoreID ); in vTaskList()
5617 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority > pxCurrentTCB[ xPortGetCoreID() ]->uxPri… in xTaskGenericNotify()
5623 else if ( pxTCB->xCoreID != xPortGetCoreID() ) in xTaskGenericNotify()
5625 taskYIELD_OTHER_CORE(pxTCB->xCoreID, pxTCB->uxPriority); in xTaskGenericNotify()
5755 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority > pxCurrentTCB[ xPortGetCoreID() ]->uxPri… in xTaskGenericNotifyFromISR()
5764 else if ( pxTCB->xCoreID != xPortGetCoreID() ) in xTaskGenericNotifyFromISR()
5766 taskYIELD_OTHER_CORE( pxTCB->xCoreID, pxTCB->uxPriority ); in xTaskGenericNotifyFromISR()
5845 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority > pxCurrentTCB[ xPortGetCoreID() ]->uxPri… in vTaskGenericNotifyGiveFromISR()
5854 else if ( pxTCB->xCoreID != xPortGetCoreID() ) in vTaskGenericNotifyGiveFromISR()
5856 taskYIELD_OTHER_CORE( pxTCB->xCoreID, pxTCB->uxPriority ); in vTaskGenericNotifyGiveFromISR()
5946 static void prvAddCurrentTaskToDelayedList( const portBASE_TYPE xCoreID, const TickType_t xTicksToW… in prvAddCurrentTaskToDelayedList() argument
5951 …1 && listIS_CONTAINED_WITHIN(&xTasksWaitingTermination, &( pxCurrentTCB[xCoreID]->xStateListItem)… in prvAddCurrentTaskToDelayedList()
5963 pxCurrentTCB[xCoreID]->ucDelayAborted = pdFALSE; in prvAddCurrentTaskToDelayedList()
5969 if( uxListRemove( &( pxCurrentTCB[xCoreID]->xStateListItem ) ) == ( UBaseType_t ) 0 ) in prvAddCurrentTaskToDelayedList()
5973 …portRESET_READY_PRIORITY( pxCurrentTCB[xCoreID]->uxPriority, uxTopReadyPriority ); /*lint !e931 px… in prvAddCurrentTaskToDelayedList()
5987 vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB[xCoreID]->xStateListItem ) ); in prvAddCurrentTaskToDelayedList()
5997 listSET_LIST_ITEM_VALUE( &( pxCurrentTCB[xCoreID]->xStateListItem ), xTimeToWake ); in prvAddCurrentTaskToDelayedList()
6003 … vListInsert( pxOverflowDelayedTaskList, &( pxCurrentTCB[xCoreID]->xStateListItem ) ); in prvAddCurrentTaskToDelayedList()
6009 vListInsert( pxDelayedTaskList, &( pxCurrentTCB[xCoreID]->xStateListItem ) ); in prvAddCurrentTaskToDelayedList()
6033 listSET_LIST_ITEM_VALUE( &( pxCurrentTCB[xCoreID]->xStateListItem ), xTimeToWake ); in prvAddCurrentTaskToDelayedList()
6038 … vListInsert( pxOverflowDelayedTaskList, &( pxCurrentTCB[xCoreID]->xStateListItem ) ); in prvAddCurrentTaskToDelayedList()
6043 vListInsert( pxDelayedTaskList, &( pxCurrentTCB[xCoreID]->xStateListItem ) ); in prvAddCurrentTaskToDelayedList()