Lines Matching refs:UBaseType_t
173 UBaseType_t uxTopPriority = uxTopReadyPriority; \
214 UBaseType_t uxTopPriority; \
229 … if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ ( uxPriority ) ] ) ) == ( UBaseType_t ) 0 ) \
310 #define taskATTRIBUTE_IS_IDLE ( UBaseType_t ) ( 1UL << 0UL )
360 …UBaseType_t uxCoreAffinityMask; /**< Used to link the task to certain cores. UBaseType_t must hav…
365 …UBaseType_t uxPriority; /**< The priority of the task. 0 is the lowest priori…
369 …UBaseType_t uxTaskAttributes; /**< Task's attributes - currently used to identify the id…
382 …UBaseType_t uxCriticalNesting; /**< Holds the critical section nesting depth for ports that do not…
386 …UBaseType_t uxTCBNumber; /**< Stores a number that increments each time a TCB is created. It all…
387 … UBaseType_t uxTaskNumber; /**< Stores a number specifically for use by third party trace code. */
391 …UBaseType_t uxBasePriority; /**< The priority last assigned to the task - used by the priority inh…
392 UBaseType_t uxMutexesHeld;
462 PRIVILEGED_DATA static volatile UBaseType_t uxDeletedTasksWaitingCleanUp = ( UBaseType_t ) 0U;
479 PRIVILEGED_DATA static volatile UBaseType_t uxCurrentNumberOfTasks = ( UBaseType_t ) 0U;
481 PRIVILEGED_DATA static volatile UBaseType_t uxTopReadyPriority = tskIDLE_PRIORITY;
486 PRIVILEGED_DATA static UBaseType_t uxTaskNumber = ( UBaseType_t ) 0U;
493 static const volatile UBaseType_t uxTopUsedPriority = configMAX_PRIORITIES - 1U;
507 PRIVILEGED_DATA static volatile UBaseType_t uxSchedulerSuspended = ( UBaseType_t ) 0U;
628 static UBaseType_t prvListTasksWithinSingleList( TaskStatus_t * pxTaskStatusArray,
696 UBaseType_t uxPriority,
716 UBaseType_t uxPriority,
750 UBaseType_t uxPriority,
800 UBaseType_t uxPrevCriticalNesting; in prvCheckForRunStateChange()
911 … if( ( pxTCB->uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvYieldForTask()
978 UBaseType_t uxCurrentPriority = uxTopReadyPriority; in prvSelectHighestPriorityTask()
1059 … if( ( pxTCB->uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvSelectHighestPriorityTask()
1077 … if( ( pxTCB->uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvSelectHighestPriorityTask()
1158 UBaseType_t uxCoreMap = pxPreviousTCB->uxCoreAffinityMask; in prvSelectHighestPriorityTask()
1168 if( ( uxCoreMap & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvSelectHighestPriorityTask()
1201 UBaseType_t uxCore = ( UBaseType_t ) x; in prvSelectHighestPriorityTask()
1204 if( ( uxCoreMap & ( ( UBaseType_t ) 1U << uxCore ) ) != 0U ) in prvSelectHighestPriorityTask()
1213 uxCoreMap &= ~( ( UBaseType_t ) 1U << uxCore ); in prvSelectHighestPriorityTask()
1250 UBaseType_t uxPriority, in prvCreateStaticTask()
1305 UBaseType_t uxPriority, in xTaskCreateStatic()
1343 UBaseType_t uxPriority, in xTaskCreateStaticAffinitySet()
1346 UBaseType_t uxCoreAffinityMask ) in xTaskCreateStaticAffinitySet()
1458 UBaseType_t uxCoreAffinityMask, in xTaskCreateRestrictedStaticAffinitySet()
1577 UBaseType_t uxCoreAffinityMask, in xTaskCreateRestrictedAffinitySet()
1616 UBaseType_t uxPriority, in prvCreateTask()
1714 UBaseType_t uxPriority, in xTaskCreate()
1752 UBaseType_t uxPriority, in xTaskCreateAffinitySet()
1753 UBaseType_t uxCoreAffinityMask, in xTaskCreateAffinitySet()
1789 UBaseType_t uxPriority, in prvInitialiseNewTask()
1795 UBaseType_t x; in prvInitialiseNewTask()
1857 for( x = ( UBaseType_t ) 0; x < ( UBaseType_t ) configMAX_TASK_NAME_LEN; x++ ) in prvInitialiseNewTask()
1886 if( uxPriority >= ( UBaseType_t ) configMAX_PRIORITIES ) in prvInitialiseNewTask()
1888 uxPriority = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) 1U; in prvInitialiseNewTask()
2025 if( uxCurrentNumberOfTasks == ( UBaseType_t ) 1 ) in prvAddNewTaskToReadyList()
2099 if( uxCurrentNumberOfTasks == ( UBaseType_t ) 1 ) in prvAddNewTaskToReadyList()
2216 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskDelete()
2622 UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask ) in uxTaskPriorityGet()
2625 UBaseType_t uxReturn; in uxTaskPriorityGet()
2648 UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ) in uxTaskPriorityGetFromISR()
2651 UBaseType_t uxReturn; in uxTaskPriorityGetFromISR()
2652 UBaseType_t uxSavedInterruptStatus; in uxTaskPriorityGetFromISR()
2693 UBaseType_t uxTaskBasePriorityGet( const TaskHandle_t xTask ) in uxTaskBasePriorityGet()
2696 UBaseType_t uxReturn; in uxTaskBasePriorityGet()
2719 UBaseType_t uxTaskBasePriorityGetFromISR( const TaskHandle_t xTask ) in uxTaskBasePriorityGetFromISR()
2722 UBaseType_t uxReturn; in uxTaskBasePriorityGetFromISR()
2723 UBaseType_t uxSavedInterruptStatus; in uxTaskBasePriorityGetFromISR()
2765 UBaseType_t uxNewPriority ) in vTaskPrioritySet()
2768 UBaseType_t uxCurrentBasePriority, uxPriorityUsedOnEntry; in vTaskPrioritySet()
2780 if( uxNewPriority >= ( UBaseType_t ) configMAX_PRIORITIES ) in vTaskPrioritySet()
2782 uxNewPriority = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) 1U; in vTaskPrioritySet()
2911 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskPrioritySet()
2978 UBaseType_t uxCoreAffinityMask ) in vTaskCoreAffinitySet()
2982 UBaseType_t uxPrevCoreAffinityMask; in vTaskCoreAffinitySet()
2985 UBaseType_t uxPrevNotAllowedCores; in vTaskCoreAffinitySet()
3005 … if( ( uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) == 0U ) in vTaskCoreAffinitySet()
3042 UBaseType_t vTaskCoreAffinityGet( ConstTaskHandle_t xTask ) in vTaskCoreAffinityGet()
3045 UBaseType_t uxCoreAffinityMask; in vTaskCoreAffinityGet()
3144 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskSuspend()
3423 UBaseType_t uxSavedInterruptStatus; in xTaskResumeFromISR()
3454 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskResumeFromISR()
3667 configASSERT( ( sizeof( UBaseType_t ) * taskBITS_PER_BYTE ) >= configNUMBER_OF_CORES ); in vTaskStartScheduler()
3800 UBaseType_t ulState; in vTaskSuspendAll()
3865 UBaseType_t uxHigherPriorityReadyTasks = pdFALSE; in prvGetExpectedIdleTime()
3880 const UBaseType_t uxLeastSignificantBit = ( UBaseType_t ) 0x01; in prvGetExpectedIdleTime()
3952 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskResumeAll()
3954 if( uxCurrentNumberOfTasks > ( UBaseType_t ) 0U ) in xTaskResumeAll()
4096 UBaseType_t uxSavedInterruptStatus; in xTaskGetTickCountFromISR()
4128 UBaseType_t uxTaskGetNumberOfTasks( void ) in uxTaskGetNumberOfTasks()
4166 UBaseType_t x; in prvSearchForNameWithinSingleList()
4172 if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 ) in prvSearchForNameWithinSingleList()
4190 for( x = ( UBaseType_t ) 0; x < ( UBaseType_t ) configMAX_TASK_NAME_LEN; x++ ) in prvSearchForNameWithinSingleList()
4236 UBaseType_t x; in prvSearchForNameWithinSingleList()
4244 if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 ) in prvSearchForNameWithinSingleList()
4257 for( x = ( UBaseType_t ) 0; x < ( UBaseType_t ) configMAX_TASK_NAME_LEN; x++ ) in prvSearchForNameWithinSingleList()
4307 UBaseType_t uxQueue = configMAX_PRIORITIES; in xTaskGetHandle()
4328 } while( uxQueue > ( UBaseType_t ) tskIDLE_PRIORITY ); in xTaskGetHandle()
4427 UBaseType_t uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray, in uxTaskGetSystemState()
4428 const UBaseType_t uxArraySize, in uxTaskGetSystemState()
4431 UBaseType_t uxTask = 0, uxQueue = configMAX_PRIORITIES; in uxTaskGetSystemState()
4445 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4446 } while( uxQueue > ( UBaseType_t ) tskIDLE_PRIORITY ); in uxTaskGetSystemState()
4450 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4451 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4457 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4465 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4563 configASSERT( uxSchedulerSuspended != ( UBaseType_t ) 0U ); in vTaskStepTick()
4596 configASSERT( uxSchedulerSuspended == ( UBaseType_t ) 0U ); in xTaskCatchUpTicks()
4733 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskIncrementTick()
5034 UBaseType_t uxSavedInterruptStatus; in xTaskGetApplicationTaskTagFromISR()
5099 if( uxSchedulerSuspended != ( UBaseType_t ) 0U ) in vTaskSwitchContext()
5200 if( uxSchedulerSuspended != ( UBaseType_t ) 0U ) in vTaskSwitchContext()
5321 configASSERT( uxSchedulerSuspended != ( UBaseType_t ) 0U ); in vTaskPlaceOnUnorderedEventList()
5407 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskRemoveFromEventList()
5482 configASSERT( uxSchedulerSuspended != ( UBaseType_t ) 0U ); in vTaskRemoveFromUnorderedEventList()
5655 UBaseType_t uxTaskGetTaskNumber( TaskHandle_t xTask ) in uxTaskGetTaskNumber()
5657 UBaseType_t uxReturn; in uxTaskGetTaskNumber()
5683 const UBaseType_t uxHandle ) in vTaskSetTaskNumber()
5747 …tCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ tskIDLE_PRIORITY ] ) ) > ( UBaseType_t ) configNUMBER_… in portTASK_FUNCTION()
5836 …tCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ tskIDLE_PRIORITY ] ) ) > ( UBaseType_t ) configNUMBER_… in portTASK_FUNCTION()
5927 const UBaseType_t uxNonApplicationTasks = configNUMBER_OF_CORES; in eTaskConfirmSleepModeStatus()
6052 UBaseType_t uxPriority; in prvInitialiseTaskLists()
6054 …for( uxPriority = ( UBaseType_t ) 0U; uxPriority < ( UBaseType_t ) configMAX_PRIORITIES; uxPriorit… in prvInitialiseTaskLists()
6092 while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U ) in prvCheckTasksWaitingTermination()
6121 if( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U ) in prvCheckTasksWaitingTermination()
6303 static UBaseType_t prvListTasksWithinSingleList( TaskStatus_t * pxTaskStatusArray, in prvListTasksWithinSingleList()
6309 UBaseType_t uxTask = 0; in prvListTasksWithinSingleList()
6311 if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 ) in prvListTasksWithinSingleList()
6409 UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) in uxTaskGetStackHighWaterMark()
6413 UBaseType_t uxReturn; in uxTaskGetStackHighWaterMark()
6429 uxReturn = ( UBaseType_t ) prvTaskCheckFreeStackSpace( pucEndOfStack ); in uxTaskGetStackHighWaterMark()
6537 UBaseType_t uxSavedInterruptStatus; in xTaskGetCurrentTaskHandle()
6590 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskGetSchedulerState()
6646 if( uxListRemove( &( pxMutexHolderTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in xTaskPriorityInherit()
6739 if( pxTCB->uxMutexesHeld == ( UBaseType_t ) 0 ) in xTaskPriorityDisinherit()
6746 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in xTaskPriorityDisinherit()
6812 UBaseType_t uxHighestPriorityWaitingTask ) in vTaskPriorityDisinheritAfterTimeout()
6815 UBaseType_t uxPriorityUsedOnEntry, uxPriorityToUse; in vTaskPriorityDisinheritAfterTimeout()
6816 const UBaseType_t uxOnlyOneMutexHeld = ( UBaseType_t ) 1; in vTaskPriorityDisinheritAfterTimeout()
6879 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskPriorityDisinheritAfterTimeout()
7040 UBaseType_t vTaskEnterCriticalFromISR( void ) in vTaskEnterCriticalFromISR()
7042 UBaseType_t uxSavedInterruptStatus = 0; in vTaskEnterCriticalFromISR()
7178 void vTaskExitCriticalFromISR( UBaseType_t uxSavedInterruptStatus ) in vTaskExitCriticalFromISR()
7255 UBaseType_t uxArraySize, x; in vTaskListTasks()
7425 UBaseType_t uxArraySize, x; in vTaskGetRunTimeStatistics()
7648 uint32_t ulTaskGenericNotifyTake( UBaseType_t uxIndexToWaitOn, in ulTaskGenericNotifyTake()
7767 BaseType_t xTaskGenericNotifyWait( UBaseType_t uxIndexToWaitOn, in xTaskGenericNotifyWait()
7900 UBaseType_t uxIndexToNotify, in xTaskGenericNotify()
8020 UBaseType_t uxIndexToNotify, in xTaskGenericNotifyFromISR()
8029 UBaseType_t uxSavedInterruptStatus; in xTaskGenericNotifyFromISR()
8118 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskGenericNotifyFromISR()
8183 UBaseType_t uxIndexToNotify, in vTaskGenericNotifyGiveFromISR()
8188 UBaseType_t uxSavedInterruptStatus; in vTaskGenericNotifyGiveFromISR()
8233 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in vTaskGenericNotifyGiveFromISR()
8296 UBaseType_t uxIndexToClear ) in xTaskGenericNotifyStateClear()
8334 UBaseType_t uxIndexToClear, in ulTaskGenericNotifyValueClear()
8495 if( uxListRemove( &( pxCurrentTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in prvAddCurrentTaskToDelayedList()