Lines Matching refs:UBaseType_t
180 UBaseType_t uxTopPriority = uxTopReadyPriority; \
221 UBaseType_t uxTopPriority; \
236 … if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ ( uxPriority ) ] ) ) == ( UBaseType_t ) 0 ) \
317 #define taskATTRIBUTE_IS_IDLE ( UBaseType_t ) ( 1U << 0U )
367 …UBaseType_t uxCoreAffinityMask; /**< Used to link the task to certain cores. UBaseType_t must hav…
372 …UBaseType_t uxPriority; /**< The priority of the task. 0 is the lowest priori…
376 …UBaseType_t uxTaskAttributes; /**< Task's attributes - currently used to identify the id…
389 …UBaseType_t uxCriticalNesting; /**< Holds the critical section nesting depth for ports that do not…
393 …UBaseType_t uxTCBNumber; /**< Stores a number that increments each time a TCB is created. It all…
394 … UBaseType_t uxTaskNumber; /**< Stores a number specifically for use by third party trace code. */
398 …UBaseType_t uxBasePriority; /**< The priority last assigned to the task - used by the priority inh…
399 UBaseType_t uxMutexesHeld;
469 PRIVILEGED_DATA static volatile UBaseType_t uxDeletedTasksWaitingCleanUp = ( UBaseType_t ) 0U;
486 PRIVILEGED_DATA static volatile UBaseType_t uxCurrentNumberOfTasks = ( UBaseType_t ) 0U;
488 PRIVILEGED_DATA static volatile UBaseType_t uxTopReadyPriority = tskIDLE_PRIORITY;
493 PRIVILEGED_DATA static UBaseType_t uxTaskNumber = ( UBaseType_t ) 0U;
500 static const volatile UBaseType_t uxTopUsedPriority = configMAX_PRIORITIES - 1U;
514 PRIVILEGED_DATA static volatile UBaseType_t uxSchedulerSuspended = ( UBaseType_t ) 0U;
635 static UBaseType_t prvListTasksWithinSingleList( TaskStatus_t * pxTaskStatusArray,
703 UBaseType_t uxPriority,
723 UBaseType_t uxPriority,
757 UBaseType_t uxPriority,
807 UBaseType_t uxPrevCriticalNesting; in prvCheckForRunStateChange()
918 … if( ( pxTCB->uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvYieldForTask()
985 UBaseType_t uxCurrentPriority = uxTopReadyPriority; in prvSelectHighestPriorityTask()
1067 … if( ( pxTCB->uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvSelectHighestPriorityTask()
1085 … if( ( pxTCB->uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvSelectHighestPriorityTask()
1166 UBaseType_t uxCoreMap = pxPreviousTCB->uxCoreAffinityMask; in prvSelectHighestPriorityTask()
1176 if( ( uxCoreMap & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) != 0U ) in prvSelectHighestPriorityTask()
1209 UBaseType_t uxCore = ( UBaseType_t ) x; in prvSelectHighestPriorityTask()
1212 if( ( uxCoreMap & ( ( UBaseType_t ) 1U << uxCore ) ) != 0U ) in prvSelectHighestPriorityTask()
1221 uxCoreMap &= ~( ( UBaseType_t ) 1U << uxCore ); in prvSelectHighestPriorityTask()
1258 UBaseType_t uxPriority, in prvCreateStaticTask()
1313 UBaseType_t uxPriority, in xTaskCreateStatic()
1351 UBaseType_t uxPriority, in xTaskCreateStaticAffinitySet()
1354 UBaseType_t uxCoreAffinityMask ) in xTaskCreateStaticAffinitySet()
1466 UBaseType_t uxCoreAffinityMask, in xTaskCreateRestrictedStaticAffinitySet()
1585 UBaseType_t uxCoreAffinityMask, in xTaskCreateRestrictedAffinitySet()
1624 UBaseType_t uxPriority, in prvCreateTask()
1722 UBaseType_t uxPriority, in xTaskCreate()
1760 UBaseType_t uxPriority, in xTaskCreateAffinitySet()
1761 UBaseType_t uxCoreAffinityMask, in xTaskCreateAffinitySet()
1797 UBaseType_t uxPriority, in prvInitialiseNewTask()
1803 UBaseType_t x; in prvInitialiseNewTask()
1865 for( x = ( UBaseType_t ) 0; x < ( UBaseType_t ) configMAX_TASK_NAME_LEN; x++ ) in prvInitialiseNewTask()
1894 if( uxPriority >= ( UBaseType_t ) configMAX_PRIORITIES ) in prvInitialiseNewTask()
1896 uxPriority = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) 1U; in prvInitialiseNewTask()
2025 uxCurrentNumberOfTasks = ( UBaseType_t ) ( uxCurrentNumberOfTasks + 1U ); in prvAddNewTaskToReadyList()
2033 if( uxCurrentNumberOfTasks == ( UBaseType_t ) 1 ) in prvAddNewTaskToReadyList()
2107 if( uxCurrentNumberOfTasks == ( UBaseType_t ) 1 ) in prvAddNewTaskToReadyList()
2206 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskDelete()
2617 UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask ) in uxTaskPriorityGet()
2620 UBaseType_t uxReturn; in uxTaskPriorityGet()
2643 UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ) in uxTaskPriorityGetFromISR()
2646 UBaseType_t uxReturn; in uxTaskPriorityGetFromISR()
2647 UBaseType_t uxSavedInterruptStatus; in uxTaskPriorityGetFromISR()
2672 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in uxTaskPriorityGetFromISR()
2691 UBaseType_t uxTaskBasePriorityGet( const TaskHandle_t xTask ) in uxTaskBasePriorityGet()
2694 UBaseType_t uxReturn; in uxTaskBasePriorityGet()
2717 UBaseType_t uxTaskBasePriorityGetFromISR( const TaskHandle_t xTask ) in uxTaskBasePriorityGetFromISR()
2720 UBaseType_t uxReturn; in uxTaskBasePriorityGetFromISR()
2721 UBaseType_t uxSavedInterruptStatus; in uxTaskBasePriorityGetFromISR()
2746 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in uxTaskBasePriorityGetFromISR()
2766 UBaseType_t uxNewPriority ) in vTaskPrioritySet()
2769 UBaseType_t uxCurrentBasePriority, uxPriorityUsedOnEntry; in vTaskPrioritySet()
2781 if( uxNewPriority >= ( UBaseType_t ) configMAX_PRIORITIES ) in vTaskPrioritySet()
2783 uxNewPriority = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) 1U; in vTaskPrioritySet()
2912 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskPrioritySet()
2979 UBaseType_t uxCoreAffinityMask ) in vTaskCoreAffinitySet()
2983 UBaseType_t uxPrevCoreAffinityMask; in vTaskCoreAffinitySet()
2986 UBaseType_t uxPrevNotAllowedCores; in vTaskCoreAffinitySet()
3006 … if( ( uxCoreAffinityMask & ( ( UBaseType_t ) 1U << ( UBaseType_t ) xCoreID ) ) == 0U ) in vTaskCoreAffinitySet()
3043 UBaseType_t vTaskCoreAffinityGet( ConstTaskHandle_t xTask ) in vTaskCoreAffinityGet()
3046 UBaseType_t uxCoreAffinityMask; in vTaskCoreAffinityGet()
3137 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskSuspend()
3218 UBaseType_t uxCurrentListLength; in vTaskSuspend()
3418 UBaseType_t uxSavedInterruptStatus; in xTaskResumeFromISR()
3452 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskResumeFromISR()
3675 configASSERT( ( sizeof( UBaseType_t ) * taskBITS_PER_BYTE ) >= configNUMBER_OF_CORES ); in vTaskStartScheduler()
3828 uxSchedulerSuspended = ( UBaseType_t ) ( uxSchedulerSuspended + 1U ); in vTaskSuspendAll()
3836 UBaseType_t ulState; in vTaskSuspendAll()
3897 UBaseType_t uxHigherPriorityReadyTasks = pdFALSE; in prvGetExpectedIdleTime()
3912 const UBaseType_t uxLeastSignificantBit = ( UBaseType_t ) 0x01; in prvGetExpectedIdleTime()
3981 uxSchedulerSuspended = ( UBaseType_t ) ( uxSchedulerSuspended - 1U ); in xTaskResumeAll()
3984 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskResumeAll()
3986 if( uxCurrentNumberOfTasks > ( UBaseType_t ) 0U ) in xTaskResumeAll()
4128 UBaseType_t uxSavedInterruptStatus; in xTaskGetTickCountFromISR()
4160 UBaseType_t uxTaskGetNumberOfTasks( void ) in uxTaskGetNumberOfTasks()
4195 UBaseType_t x; in prvSearchForNameWithinSingleList()
4203 if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 ) in prvSearchForNameWithinSingleList()
4216 for( x = ( UBaseType_t ) 0; x < ( UBaseType_t ) configMAX_TASK_NAME_LEN; x++ ) in prvSearchForNameWithinSingleList()
4265 UBaseType_t uxQueue = configMAX_PRIORITIES; in xTaskGetHandle()
4286 } while( uxQueue > ( UBaseType_t ) tskIDLE_PRIORITY ); in xTaskGetHandle()
4385 UBaseType_t uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray, in uxTaskGetSystemState()
4386 const UBaseType_t uxArraySize, in uxTaskGetSystemState()
4389 UBaseType_t uxTask = 0, uxQueue = configMAX_PRIORITIES; in uxTaskGetSystemState()
4403 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4404 } while( uxQueue > ( UBaseType_t ) tskIDLE_PRIORITY ); in uxTaskGetSystemState()
4408 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4409 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4415 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4423 …uxTask = ( UBaseType_t ) ( uxTask + prvListTasksWithinSingleList( &( pxTaskStatusArray[ uxTask ] )… in uxTaskGetSystemState()
4521 configASSERT( uxSchedulerSuspended != ( UBaseType_t ) 0U ); in vTaskStepTick()
4554 configASSERT( uxSchedulerSuspended == ( UBaseType_t ) 0U ); in xTaskCatchUpTicks()
4691 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskIncrementTick()
4992 UBaseType_t uxSavedInterruptStatus; in xTaskGetApplicationTaskTagFromISR()
5060 if( uxSchedulerSuspended != ( UBaseType_t ) 0U ) in vTaskSwitchContext()
5161 if( uxSchedulerSuspended != ( UBaseType_t ) 0U ) in vTaskSwitchContext()
5282 configASSERT( uxSchedulerSuspended != ( UBaseType_t ) 0U ); in vTaskPlaceOnUnorderedEventList()
5368 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskRemoveFromEventList()
5443 configASSERT( uxSchedulerSuspended != ( UBaseType_t ) 0U ); in vTaskRemoveFromUnorderedEventList()
5616 UBaseType_t uxTaskGetTaskNumber( TaskHandle_t xTask ) in uxTaskGetTaskNumber()
5618 UBaseType_t uxReturn; in uxTaskGetTaskNumber()
5644 const UBaseType_t uxHandle ) in vTaskSetTaskNumber()
5708 …tCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ tskIDLE_PRIORITY ] ) ) > ( UBaseType_t ) configNUMBER_… in portTASK_FUNCTION()
5797 …tCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ tskIDLE_PRIORITY ] ) ) > ( UBaseType_t ) configNUMBER_… in portTASK_FUNCTION()
5888 const UBaseType_t uxNonApplicationTasks = configNUMBER_OF_CORES; in eTaskConfirmSleepModeStatus()
6013 UBaseType_t uxPriority; in prvInitialiseTaskLists()
6015 …for( uxPriority = ( UBaseType_t ) 0U; uxPriority < ( UBaseType_t ) configMAX_PRIORITIES; uxPriorit… in prvInitialiseTaskLists()
6053 while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U ) in prvCheckTasksWaitingTermination()
6082 if( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U ) in prvCheckTasksWaitingTermination()
6268 static UBaseType_t prvListTasksWithinSingleList( TaskStatus_t * pxTaskStatusArray, in prvListTasksWithinSingleList()
6272 UBaseType_t uxTask = 0; in prvListTasksWithinSingleList()
6277 if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 ) in prvListTasksWithinSingleList()
6371 UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) in uxTaskGetStackHighWaterMark()
6375 UBaseType_t uxReturn; in uxTaskGetStackHighWaterMark()
6391 uxReturn = ( UBaseType_t ) prvTaskCheckFreeStackSpace( pucEndOfStack ); in uxTaskGetStackHighWaterMark()
6499 UBaseType_t uxSavedInterruptStatus; in xTaskGetCurrentTaskHandle()
6556 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskGetSchedulerState()
6612 if( uxListRemove( &( pxMutexHolderTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in xTaskPriorityInherit()
6705 if( pxTCB->uxMutexesHeld == ( UBaseType_t ) 0 ) in xTaskPriorityDisinherit()
6712 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in xTaskPriorityDisinherit()
6778 UBaseType_t uxHighestPriorityWaitingTask ) in vTaskPriorityDisinheritAfterTimeout()
6781 UBaseType_t uxPriorityUsedOnEntry, uxPriorityToUse; in vTaskPriorityDisinheritAfterTimeout()
6782 const UBaseType_t uxOnlyOneMutexHeld = ( UBaseType_t ) 1; in vTaskPriorityDisinheritAfterTimeout()
6845 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskPriorityDisinheritAfterTimeout()
7006 UBaseType_t vTaskEnterCriticalFromISR( void ) in vTaskEnterCriticalFromISR()
7008 UBaseType_t uxSavedInterruptStatus = 0; in vTaskEnterCriticalFromISR()
7144 void vTaskExitCriticalFromISR( UBaseType_t uxSavedInterruptStatus ) in vTaskExitCriticalFromISR()
7221 UBaseType_t uxArraySize, x; in vTaskListTasks()
7391 UBaseType_t uxArraySize, x; in vTaskGetRunTimeStatistics()
7614 uint32_t ulTaskGenericNotifyTake( UBaseType_t uxIndexToWaitOn, in ulTaskGenericNotifyTake()
7717 BaseType_t xTaskGenericNotifyWait( UBaseType_t uxIndexToWaitOn, in xTaskGenericNotifyWait()
7833 UBaseType_t uxIndexToNotify, in xTaskGenericNotify()
7953 UBaseType_t uxIndexToNotify, in xTaskGenericNotifyFromISR()
7962 UBaseType_t uxSavedInterruptStatus; in xTaskGenericNotifyFromISR()
7992 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in xTaskGenericNotifyFromISR()
8054 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in xTaskGenericNotifyFromISR()
8119 UBaseType_t uxIndexToNotify, in vTaskGenericNotifyGiveFromISR()
8124 UBaseType_t uxSavedInterruptStatus; in vTaskGenericNotifyGiveFromISR()
8154 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in vTaskGenericNotifyGiveFromISR()
8172 if( uxSchedulerSuspended == ( UBaseType_t ) 0U ) in vTaskGenericNotifyGiveFromISR()
8235 UBaseType_t uxIndexToClear ) in xTaskGenericNotifyStateClear()
8273 UBaseType_t uxIndexToClear, in ulTaskGenericNotifyValueClear()
8434 if( uxListRemove( &( pxCurrentTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in prvAddCurrentTaskToDelayedList()
8658 uxDeletedTasksWaitingCleanUp = ( UBaseType_t ) 0U; in vTaskResetState()
8669 uxCurrentNumberOfTasks = ( UBaseType_t ) 0U; in vTaskResetState()
8681 uxTaskNumber = ( UBaseType_t ) 0U; in vTaskResetState()
8684 uxSchedulerSuspended = ( UBaseType_t ) 0U; in vTaskResetState()