Lines Matching refs:pxCurrentTCB

164 …listGET_OWNER_OF_NEXT_ENTRY( pxCurrentTCB[xPortGetCoreID()], &( pxReadyTasksLists[ uxTopPriority ]…
195 …listGET_OWNER_OF_NEXT_ENTRY( pxCurrentTCB[xPortGetCoreID()], &( pxReadyTasksLists[ uxTopPriority ]…
256 #define prvGetTCBFromHandle( pxHandle ) ( ( ( pxHandle ) == NULL ) ? (TaskHandle_t) pxCurrentTCB[0]…
367 PRIVILEGED_DATA TCB_t * volatile pxCurrentTCB[configNUM_CORES] = {NULL}; variable
643 …if ( pxCurrentTCB[ xCoreID ]->uxPriority < uxPriority ) { // NOLINT(clang-analyzer-core.NullDere… in taskYIELD_OTHER_CORE()
651 if (i != xPortGetCoreID() && pxCurrentTCB[ i ]->uxPriority < uxPriority) in taskYIELD_OTHER_CORE()
1210 tcb0 = pxCurrentTCB[0]; in prvAddNewTaskToReadyList()
1211 tcb1 = pxCurrentTCB[1]; 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()
1333 curTCB = pxCurrentTCB[core]; in vTaskDelete()
1367 (configNUM_CORES > 1 && pxTCB == pxCurrentTCB[ !core ]) || in vTaskDelete()
1391 if (configNUM_CORES > 1 && pxTCB == pxCurrentTCB[ !core ]) in vTaskDelete()
1612 if( pxTCB == pxCurrentTCB[xPortGetCoreID()]) in eTaskGetState()
1618 else if (pxTCB == pxCurrentTCB[!xPortGetCoreID()]) in eTaskGetState()
1810 if( pxTCB != pxCurrentTCB[xPortGetCoreID()] ) in vTaskPrioritySet()
1815 …if ( tskCAN_RUN_HERE(pxTCB->xCoreID) && uxNewPriority >= pxCurrentTCB[ xPortGetCoreID() ]->uxPrior… in vTaskPrioritySet()
1835 else if( pxTCB == pxCurrentTCB[xPortGetCoreID()] ) in vTaskPrioritySet()
1842 else if( pxTCB != pxCurrentTCB[xPortGetCoreID()] ) in vTaskPrioritySet()
1847 if( uxNewPriority >= pxCurrentTCB[xPortGetCoreID()]->uxPriority ) in vTaskPrioritySet()
1990 curTCB = pxCurrentTCB[ xPortGetCoreID() ]; in vTaskSuspend()
2050 pxCurrentTCB[ xPortGetCoreID() ] = NULL; in vTaskSuspend()
2141 if( ( pxTCB != pxCurrentTCB[xPortGetCoreID()] ) && ( pxTCB != NULL ) ) in vTaskResume()
2154 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority >= pxCurrentTCB[ xPortGetCoreID() ]->uxPr… in vTaskResume()
2227 …if( tskCAN_RUN_HERE( pxTCB->xCoreID ) && pxTCB->uxPriority >= pxCurrentTCB[ xPortGetCoreID() ]->ux… in xTaskResumeFromISR()
2469 if( pxCurrentTCB[ xPortGetCoreID() ]->uxPriority > tskIDLE_PRIORITY ) in prvGetExpectedIdleTime()
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()
3200 if( pxTCB->uxPriority >= pxCurrentTCB[xPortGetCoreID()]->uxPriority ) in xTaskIncrementTick()
3219 …if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ pxCurrentTCB[xPortGetCoreID()]->uxPriority ] ) … in xTaskIncrementTick()
3263 xTCB = ( TCB_t * ) pxCurrentTCB[xPortGetCoreID()]; in vTaskSetApplicationTaskTag()
3415 else if ( pxCurrentTCB[ux] == pxTCBCur ) in taskSelectHighestPriorityTaskSMP()
3429 pxCurrentTCB[ xCoreID ] = pxTCBCur; in taskSelectHighestPriorityTaskSMP()
3491pxCurrentTCB[ xPortGetCoreID() ]->ulRunTimeCounter += ( ulTotalRunTime - ulTaskSwitchedInTime[ xPo… in vTaskSwitchContext()
3512 pxCurrentTCB->iTaskErrno = FreeRTOS_errno; in vTaskSwitchContext()
3525 vPortSetStackWatchpoint(pxCurrentTCB[xPortGetCoreID()]->pxStack); in vTaskSwitchContext()
3531 FreeRTOS_errno = pxCurrentTCB->iTaskErrno; in vTaskSwitchContext()
3541 _impure_ptr = &( pxCurrentTCB->xNewLib_reent ); in vTaskSwitchContext()
3566 vListInsert( pxEventList, &( pxCurrentTCB[xPortGetCoreID()]->xEventListItem ) ); in vTaskPlaceOnEventList()
3583 …listSET_LIST_ITEM_VALUE( &( pxCurrentTCB[xPortGetCoreID()]->xEventListItem ), xItemValue | taskEVE… in vTaskPlaceOnUnorderedEventList()
3590 vListInsertEnd( pxEventList, &( pxCurrentTCB[xPortGetCoreID()]->xEventListItem ) ); in vTaskPlaceOnUnorderedEventList()
3614 vListInsertEnd( pxEventList, &( pxCurrentTCB[xPortGetCoreID()]->xEventListItem ) ); in vTaskPlaceOnEventListRestricted()
3696 …if ( tskCAN_RUN_HERE(pxUnblockedTCB->xCoreID) && pxUnblockedTCB->uxPriority >= pxCurrentTCB[ xPort… in xTaskRemoveFromEventList()
3758 …if ( tskCAN_RUN_HERE(pxUnblockedTCB->xCoreID) && pxUnblockedTCB->uxPriority >= pxCurrentTCB[ xPort… in vTaskRemoveFromUnorderedEventList()
3808 if( pxCurrentTCB[xPortGetCoreID()]->ucDelayAborted != ( uint8_t ) pdFALSE ) in xTaskCheckForTimeOut()
3812 pxCurrentTCB[xPortGetCoreID()]->ucDelayAborted = pdFALSE; in xTaskCheckForTimeOut()
4237 … if( pxCurrentTCB[core] == tgt_tcb || (configNUM_CORES > 1 && pxCurrentTCB[!core] == tgt_tcb) ){ in prvCheckTasksWaitingTermination()
4318 if( pxTCB == pxCurrentTCB[xPortGetCoreID()] ) in vTaskGetInfo()
4641 xReturn = pxCurrentTCB[ xPortGetCoreID() ]; in xTaskGetCurrentTaskHandle()
4653 xReturn = pxCurrentTCB[ cpuid ]; in xTaskGetCurrentTaskHandleForCPU()
4709 if( pxMutexHolderTCB->uxPriority < pxCurrentTCB[xPortGetCoreID()]->uxPriority ) in xTaskPriorityInherit()
4716 …EventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxCurrentTCB[xPortGetCoreID(… in xTaskPriorityInherit()
4740 pxMutexHolderTCB->uxPriority = pxCurrentTCB[xPortGetCoreID()]->uxPriority; in xTaskPriorityInherit()
4746 pxMutexHolderTCB->uxPriority = pxCurrentTCB[xPortGetCoreID()]->uxPriority; in xTaskPriorityInherit()
4749 … traceTASK_PRIORITY_INHERIT( pxMutexHolderTCB, pxCurrentTCB[xPortGetCoreID()]->uxPriority ); in xTaskPriorityInherit()
4756 if( pxMutexHolderTCB->uxBasePriority < pxCurrentTCB[xPortGetCoreID()]->uxPriority ) in xTaskPriorityInherit()
4799 configASSERT( pxTCB == pxCurrentTCB[xPortGetCoreID()] ); in xTaskPriorityDisinherit()
4908 configASSERT( pxTCB != pxCurrentTCB[xPortGetCoreID()] ); in vTaskPriorityDisinheritAfterTimeout()
4983 ( pxCurrentTCB[xPortGetCoreID()]->uxCriticalNesting )++; in vTaskEnterCritical()
4991 if( pxCurrentTCB[xPortGetCoreID()]->uxCriticalNesting == 1 ) in vTaskEnterCritical()
5011 if( pxCurrentTCB[xPortGetCoreID()]->uxCriticalNesting > 0U ) in vTaskExitCritical()
5013 ( pxCurrentTCB[xPortGetCoreID()]->uxCriticalNesting )--; in vTaskExitCritical()
5015 if( pxCurrentTCB[xPortGetCoreID()]->uxCriticalNesting == 0U ) in vTaskExitCritical()
5305 uxReturn = listGET_LIST_ITEM_VALUE( &( pxCurrentTCB[ xPortGetCoreID() ]->xEventListItem ) ); in uxTaskResetEventItemValue()
5309 …T_ITEM_VALUE( &( pxCurrentTCB[ xPortGetCoreID() ]->xEventListItem ), ( ( TickType_t ) configMAX_PR… in uxTaskResetEventItemValue()
5325 if( pxCurrentTCB[ xPortGetCoreID() ] != NULL ) in pvTaskIncrementMutexHeldCount()
5327 ( pxCurrentTCB[ xPortGetCoreID() ]->uxMutexesHeld )++; in pvTaskIncrementMutexHeldCount()
5329 curTCB = pxCurrentTCB[ xPortGetCoreID() ]; in pvTaskIncrementMutexHeldCount()
5361 if( pxCurrentTCB[xPortGetCoreID()]->ulNotifiedValue[ uxIndexToWait ] == 0UL ) in ulTaskGenericNotifyTake()
5364pxCurrentTCB[xPortGetCoreID()]->ucNotifyState[ uxIndexToWait ] = taskWAITING_NOTIFICATION; in ulTaskGenericNotifyTake()
5392 ulReturn = pxCurrentTCB[xPortGetCoreID()]->ulNotifiedValue[ uxIndexToWait ]; in ulTaskGenericNotifyTake()
5398 pxCurrentTCB[xPortGetCoreID()]->ulNotifiedValue[ uxIndexToWait ] = 0UL; in ulTaskGenericNotifyTake()
5402pxCurrentTCB[xPortGetCoreID()]->ulNotifiedValue[ uxIndexToWait ] = ulReturn - ( uint32_t ) 1; in ulTaskGenericNotifyTake()
5410pxCurrentTCB[xPortGetCoreID()]->ucNotifyState[ uxIndexToWait ] = taskNOT_WAITING_NOTIFICATION; in ulTaskGenericNotifyTake()
5447 … if( pxCurrentTCB[xPortGetCoreID()]->ucNotifyState[ uxIndexToWait ] != taskNOTIFICATION_RECEIVED ) in xTaskGenericNotifyWait()
5452pxCurrentTCB[xPortGetCoreID()]->ulNotifiedValue[ uxIndexToWait ] &= ~ulBitsToClearOnEntry; in xTaskGenericNotifyWait()
5455pxCurrentTCB[xPortGetCoreID()]->ucNotifyState[ uxIndexToWait ] = taskWAITING_NOTIFICATION; in xTaskGenericNotifyWait()
5488 … *pulNotificationValue = pxCurrentTCB[xPortGetCoreID()]->ulNotifiedValue[ uxIndexToWait ]; in xTaskGenericNotifyWait()
5495 … if( pxCurrentTCB[xPortGetCoreID()]->ucNotifyState[ uxIndexToWait ] != taskNOTIFICATION_RECEIVED ) in xTaskGenericNotifyWait()
5504pxCurrentTCB[xPortGetCoreID()]->ulNotifiedValue[ uxIndexToWait ] &= ~ulBitsToClearOnExit; in xTaskGenericNotifyWait()
5508pxCurrentTCB[xPortGetCoreID()]->ucNotifyState[ uxIndexToWait ] = taskNOT_WAITING_NOTIFICATION; in xTaskGenericNotifyWait()
5617 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority > pxCurrentTCB[ xPortGetCoreID() ]->uxPri… in xTaskGenericNotify()
5755 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority > pxCurrentTCB[ xPortGetCoreID() ]->uxPri… in xTaskGenericNotifyFromISR()
5845 …if( tskCAN_RUN_HERE(pxTCB->xCoreID) && pxTCB->uxPriority > pxCurrentTCB[ xPortGetCoreID() ]->uxPri… in vTaskGenericNotifyGiveFromISR()
5951 …if (configNUM_CORES > 1 && listIS_CONTAINED_WITHIN(&xTasksWaitingTermination, &( pxCurrentTCB[xCo… 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()