Lines Matching refs:uxPriority
89 if( pxCurrentTCB->uxPriority < ( pxTCB )->uxPriority ) \
167 #define taskRECORD_READY_PRIORITY( uxPriority ) \ argument
169 if( ( uxPriority ) > uxTopReadyPriority ) \
171 uxTopReadyPriority = ( uxPriority ); \
205 #define taskRESET_READY_PRIORITY( uxPriority ) argument
206 #define portRESET_READY_PRIORITY( uxPriority, uxTopReadyPriority ) argument
215 …#define taskRECORD_READY_PRIORITY( uxPriority ) portRECORD_READY_PRIORITY( ( uxPriority ), uxTo… argument
234 …#define taskRESET_READY_PRIORITY( uxPriority ) … argument
236 … if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ ( uxPriority ) ] ) ) == ( UBaseType_t ) 0 ) \
238 … portRESET_READY_PRIORITY( ( uxPriority ), ( uxTopReadyPriority ) ); \
271 …taskRECORD_READY_PRIORITY( ( pxTCB )->uxPriority ); …
272 …listINSERT_END( &( pxReadyTasksLists[ ( pxTCB )->uxPriority ] ), &( ( pxTCB )->xStateListItem ) );…
372 …UBaseType_t uxPriority; /**< The priority of the task. 0 is the lowest priori… member
703 UBaseType_t uxPriority,
723 UBaseType_t uxPriority,
757 UBaseType_t uxPriority,
887 if( pxTCB->uxPriority >= uxTopReadyPriority ) in prvYieldForTask()
893 xLowestPriorityToPreempt = ( BaseType_t ) pxTCB->uxPriority; in prvYieldForTask()
901 xCurrentCoreTaskPriority = ( BaseType_t ) pxCurrentTCBs[ xCoreID ]->uxPriority; in prvYieldForTask()
941 ( xCurrentCoreTaskPriority < ( BaseType_t ) pxTCB->uxPriority ) ) in prvYieldForTask()
971 ( pxTCB->uxPriority > pxCurrentTCBs[ portGET_CORE_ID() ]->uxPriority ) ) in prvYieldForTask()
1010 if( listIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ pxCurrentTCBs[ xCoreID ]->uxPriority ] ), in prvSelectHighestPriorityTask()
1014 vListInsertEnd( &( pxReadyTasksLists[ pxCurrentTCBs[ xCoreID ]->uxPriority ] ), in prvSelectHighestPriorityTask()
1162 …L ) && ( listIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ pxPreviousTCB->uxPriority ] ), &( pxPrevio… in prvSelectHighestPriorityTask()
1167 BaseType_t xLowestPriority = ( BaseType_t ) pxPreviousTCB->uxPriority; in prvSelectHighestPriorityTask()
1214 xTaskPriority = ( BaseType_t ) pxCurrentTCBs[ uxCore ]->uxPriority; in prvSelectHighestPriorityTask()
1258 UBaseType_t uxPriority, in prvCreateStaticTask() argument
1298 …prvInitialiseNewTask( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, pxCreatedTask, p… in prvCreateStaticTask()
1313 UBaseType_t uxPriority, in xTaskCreateStatic() argument
1320 …traceENTER_xTaskCreateStatic( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, puxStack… in xTaskCreateStatic()
1322 …pxNewTCB = prvCreateStaticTask( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, puxSta… in xTaskCreateStatic()
1351 UBaseType_t uxPriority, in xTaskCreateStaticAffinitySet() argument
1359 …eateStaticAffinitySet( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, puxStackBuffer,… in xTaskCreateStaticAffinitySet()
1361 …= prvCreateStaticTask( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, puxStackBuffer,… in xTaskCreateStaticAffinitySet()
1416 pxTaskDefinition->uxPriority, in prvCreateRestrictedStaticTask()
1535 pxTaskDefinition->uxPriority, in prvCreateRestrictedTask()
1624 UBaseType_t uxPriority, in prvCreateTask() argument
1711 …prvInitialiseNewTask( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, pxCreatedTask, p… in prvCreateTask()
1722 UBaseType_t uxPriority, in xTaskCreate() argument
1728 …traceENTER_xTaskCreate( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, pxCreatedTask … in xTaskCreate()
1730 …pxNewTCB = prvCreateTask( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, pxCreatedTas… in xTaskCreate()
1760 UBaseType_t uxPriority, in xTaskCreateAffinitySet() argument
1767 …TaskCreateAffinitySet( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, uxCoreAffinityM… in xTaskCreateAffinitySet()
1769 …pxNewTCB = prvCreateTask( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, pxCreatedTas… in xTaskCreateAffinitySet()
1797 UBaseType_t uxPriority, in prvInitialiseNewTask() argument
1809 if( ( uxPriority & portPRIVILEGE_BIT ) != 0U ) in prvInitialiseNewTask()
1817 uxPriority &= ~portPRIVILEGE_BIT; in prvInitialiseNewTask()
1892 configASSERT( uxPriority < configMAX_PRIORITIES ); in prvInitialiseNewTask()
1894 if( uxPriority >= ( UBaseType_t ) configMAX_PRIORITIES ) in prvInitialiseNewTask()
1896 uxPriority = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) 1U; in prvInitialiseNewTask()
1903 pxNewTCB->uxPriority = uxPriority; in prvInitialiseNewTask()
1906 pxNewTCB->uxBasePriority = uxPriority; in prvInitialiseNewTask()
1918 …( &( pxNewTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) uxPriority ); in prvInitialiseNewTask()
2052 if( pxCurrentTCB->uxPriority <= pxNewTCB->uxPriority ) in prvAddNewTaskToReadyList()
2208 taskRESET_READY_PRIORITY( pxTCB->uxPriority ); in vTaskDelete()
2629 uxReturn = pxTCB->uxPriority; in uxTaskPriorityGet()
2677 uxReturn = pxTCB->uxPriority; in uxTaskPriorityGetFromISR()
2804 uxCurrentBasePriority = pxTCB->uxPriority; in vTaskPrioritySet()
2821 if( uxNewPriority > pxCurrentTCB->uxPriority ) in vTaskPrioritySet()
2867 uxPriorityUsedOnEntry = pxTCB->uxPriority; in vTaskPrioritySet()
2874 … if( ( pxTCB->uxBasePriority == pxTCB->uxPriority ) || ( uxNewPriority > pxTCB->uxPriority ) ) in vTaskPrioritySet()
2876 pxTCB->uxPriority = uxNewPriority; in vTaskPrioritySet()
2888 pxTCB->uxPriority = uxNewPriority; in vTaskPrioritySet()
3139 taskRESET_READY_PRIORITY( pxTCB->uxPriority ); in vTaskSuspend()
3458 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskResumeFromISR()
3926 if( pxCurrentTCB->uxPriority > tskIDLE_PRIORITY ) in prvGetExpectedIdleTime()
4005 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskResumeAll()
4632 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskAbortDelay()
4787 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskIncrementTick()
4814 … if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ pxCurrentTCB->uxPriority ] ) ) > 1U ) in xTaskIncrementTick()
4829 …f( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ pxCurrentTCBs[ xCoreID ]->uxPriority ] ) ) > 1U ) in xTaskIncrementTick()
5396 if( pxUnblockedTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskRemoveFromEventList()
5479 if( pxUnblockedTCB->uxPriority > pxCurrentTCB->uxPriority ) in vTaskRemoveFromUnorderedEventList()
6013 UBaseType_t uxPriority; in prvInitialiseTaskLists() local
6015 …for( uxPriority = ( UBaseType_t ) 0U; uxPriority < ( UBaseType_t ) configMAX_PRIORITIES; uxPriorit… in prvInitialiseTaskLists()
6017 vListInitialise( &( pxReadyTasksLists[ uxPriority ] ) ); in prvInitialiseTaskLists()
6135 pxTaskStatus->uxCurrentPriority = pxTCB->uxPriority; in vTaskGetInfo()
6594 if( pxMutexHolderTCB->uxPriority < pxCurrentTCB->uxPriority ) in xTaskPriorityInherit()
6601 …>xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxCurrentTCB->uxPriority ); in xTaskPriorityInherit()
6610 …if( listIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ pxMutexHolderTCB->uxPriority ] ), &( pxMutexHol… in xTaskPriorityInherit()
6617 … portRESET_READY_PRIORITY( pxMutexHolderTCB->uxPriority, uxTopReadyPriority ); in xTaskPriorityInherit()
6625 pxMutexHolderTCB->uxPriority = pxCurrentTCB->uxPriority; in xTaskPriorityInherit()
6641 pxMutexHolderTCB->uxPriority = pxCurrentTCB->uxPriority; in xTaskPriorityInherit()
6644 traceTASK_PRIORITY_INHERIT( pxMutexHolderTCB, pxCurrentTCB->uxPriority ); in xTaskPriorityInherit()
6651 if( pxMutexHolderTCB->uxBasePriority < pxCurrentTCB->uxPriority ) in xTaskPriorityInherit()
6702 if( pxTCB->uxPriority != pxTCB->uxBasePriority ) in xTaskPriorityDisinherit()
6714 portRESET_READY_PRIORITY( pxTCB->uxPriority, uxTopReadyPriority ); in xTaskPriorityDisinherit()
6724 pxTCB->uxPriority = pxTCB->uxBasePriority; in xTaskPriorityDisinherit()
6729 … pxTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxTCB->uxPriority ); in xTaskPriorityDisinherit()
6806 if( pxTCB->uxPriority != uxPriorityToUse ) in vTaskPriorityDisinheritAfterTimeout()
6823 uxPriorityUsedOnEntry = pxTCB->uxPriority; in vTaskPriorityDisinheritAfterTimeout()
6824 pxTCB->uxPriority = uxPriorityToUse; in vTaskPriorityDisinheritAfterTimeout()
6850 portRESET_READY_PRIORITY( pxTCB->uxPriority, uxTopReadyPriority ); in vTaskPriorityDisinheritAfterTimeout()
7579 …entListItem ), ( ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxCurrentTCB->uxPriority ) ); in uxTaskResetEventItemValue()
8068 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskGenericNotifyFromISR()
8186 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in vTaskGenericNotifyGiveFromISR()
8438 portRESET_READY_PRIORITY( pxCurrentTCB->uxPriority, uxTopReadyPriority ); in prvAddCurrentTaskToDelayedList()