Lines Matching refs:uxPriority

126     #define taskRECORD_READY_PRIORITY( uxPriority ) \  argument
128 if( ( uxPriority ) > uxTopReadyPriority ) \
130 uxTopReadyPriority = ( uxPriority ); \
158 #define taskRESET_READY_PRIORITY( uxPriority ) argument
159 #define portRESET_READY_PRIORITY( uxPriority, uxTopReadyPriority ) argument
168 …#define taskRECORD_READY_PRIORITY( uxPriority ) portRECORD_READY_PRIORITY( ( uxPriority ), uxTo… argument
187 …#define taskRESET_READY_PRIORITY( uxPriority ) … argument
189 … if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ ( uxPriority ) ] ) ) == ( UBaseType_t ) 0 ) \
191 … portRESET_READY_PRIORITY( ( uxPriority ), ( uxTopReadyPriority ) ); \
224 …taskRECORD_READY_PRIORITY( ( pxTCB )->uxPriority ); …
225 …listINSERT_END( &( pxReadyTasksLists[ ( pxTCB )->uxPriority ] ), &( ( pxTCB )->xStateListItem ) );…
269 …UBaseType_t uxPriority; /**< The priority of the task. 0 is the lowest priori… member
542 UBaseType_t uxPriority,
572 UBaseType_t uxPriority, in xTaskCreateStatic() argument
609 …prvInitialiseNewTask( pxTaskCode, pcName, ulStackDepth, pvParameters, uxPriority, &xReturn, pxNewT… in xTaskCreateStatic()
657 pxTaskDefinition->uxPriority, in xTaskCreateRestrictedStatic()
708 pxTaskDefinition->uxPriority, in xTaskCreateRestricted()
729 UBaseType_t uxPriority, in xTaskCreate() argument
805 …eNewTask( pxTaskCode, pcName, ( uint32_t ) usStackDepth, pvParameters, uxPriority, pxCreatedTask, … in xTaskCreate()
824 UBaseType_t uxPriority, in prvInitialiseNewTask() argument
836 if( ( uxPriority & portPRIVILEGE_BIT ) != 0U ) in prvInitialiseNewTask()
844 uxPriority &= ~portPRIVILEGE_BIT; in prvInitialiseNewTask()
918 configASSERT( uxPriority < configMAX_PRIORITIES ); in prvInitialiseNewTask()
920 if( uxPriority >= ( UBaseType_t ) configMAX_PRIORITIES ) in prvInitialiseNewTask()
922 uxPriority = ( UBaseType_t ) configMAX_PRIORITIES - ( UBaseType_t ) 1U; in prvInitialiseNewTask()
929 pxNewTCB->uxPriority = uxPriority; in prvInitialiseNewTask()
932 pxNewTCB->uxBasePriority = uxPriority; in prvInitialiseNewTask()
944 …xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) uxPriority ); /*lint !e961 … in prvInitialiseNewTask()
1063 if( pxCurrentTCB->uxPriority <= pxNewTCB->uxPriority ) in prvAddNewTaskToReadyList()
1098 if( pxCurrentTCB->uxPriority < pxNewTCB->uxPriority ) in prvAddNewTaskToReadyList()
1129 taskRESET_READY_PRIORITY( pxTCB->uxPriority ); in vTaskDelete()
1468 uxReturn = pxTCB->uxPriority; in uxTaskPriorityGet()
1509 uxReturn = pxTCB->uxPriority; in uxTaskPriorityGetFromISR()
1554 uxCurrentBasePriority = pxTCB->uxPriority; in vTaskPrioritySet()
1569 if( uxNewPriority > pxCurrentTCB->uxPriority ) in vTaskPrioritySet()
1602 uxPriorityUsedOnEntry = pxTCB->uxPriority; in vTaskPrioritySet()
1608 if( pxTCB->uxBasePriority == pxTCB->uxPriority ) in vTaskPrioritySet()
1610 pxTCB->uxPriority = uxNewPriority; in vTaskPrioritySet()
1622 pxTCB->uxPriority = uxNewPriority; in vTaskPrioritySet()
1703 taskRESET_READY_PRIORITY( pxTCB->uxPriority ); in vTaskSuspend()
1862 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in vTaskResume()
1930 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskResumeFromISR()
2159 if( pxCurrentTCB->uxPriority > tskIDLE_PRIORITY ) in prvGetExpectedIdleTime()
2222 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskResumeAll()
2755 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskAbortDelay()
2883 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskIncrementTick()
2902 …if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ pxCurrentTCB->uxPriority ] ) ) > ( UBaseType_t … in xTaskIncrementTick()
3278 if( pxUnblockedTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskRemoveFromEventList()
3336 if( pxUnblockedTCB->uxPriority > pxCurrentTCB->uxPriority ) in vTaskRemoveFromUnorderedEventList()
3715 UBaseType_t uxPriority; in prvInitialiseTaskLists() local
3717 …for( uxPriority = ( UBaseType_t ) 0U; uxPriority < ( UBaseType_t ) configMAX_PRIORITIES; uxPriorit… in prvInitialiseTaskLists()
3719 vListInitialise( &( pxReadyTasksLists[ uxPriority ] ) ); in prvInitialiseTaskLists()
3787 pxTaskStatus->uxCurrentPriority = pxTCB->uxPriority; in vTaskGetInfo()
4148 if( pxMutexHolderTCB->uxPriority < pxCurrentTCB->uxPriority ) in xTaskPriorityInherit()
4155 … ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxCurrentTCB->uxPriority ); /*lint !e961 … in xTaskPriorityInherit()
4164 …if( listIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ pxMutexHolderTCB->uxPriority ] ), &( pxMutexHol… in xTaskPriorityInherit()
4171 … portRESET_READY_PRIORITY( pxMutexHolderTCB->uxPriority, uxTopReadyPriority ); in xTaskPriorityInherit()
4179 pxMutexHolderTCB->uxPriority = pxCurrentTCB->uxPriority; in xTaskPriorityInherit()
4185 pxMutexHolderTCB->uxPriority = pxCurrentTCB->uxPriority; in xTaskPriorityInherit()
4188 traceTASK_PRIORITY_INHERIT( pxMutexHolderTCB, pxCurrentTCB->uxPriority ); in xTaskPriorityInherit()
4195 if( pxMutexHolderTCB->uxBasePriority < pxCurrentTCB->uxPriority ) in xTaskPriorityInherit()
4242 if( pxTCB->uxPriority != pxTCB->uxBasePriority ) in xTaskPriorityDisinherit()
4254 portRESET_READY_PRIORITY( pxTCB->uxPriority, uxTopReadyPriority ); in xTaskPriorityDisinherit()
4264 pxTCB->uxPriority = pxTCB->uxBasePriority; in xTaskPriorityDisinherit()
4269 …istItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxTCB->uxPriority ); /*lint !e961 … in xTaskPriorityDisinherit()
4332 if( pxTCB->uxPriority != uxPriorityToUse ) in vTaskPriorityDisinheritAfterTimeout()
4349 uxPriorityUsedOnEntry = pxTCB->uxPriority; in vTaskPriorityDisinheritAfterTimeout()
4350 pxTCB->uxPriority = uxPriorityToUse; in vTaskPriorityDisinheritAfterTimeout()
4376 portRESET_READY_PRIORITY( pxTCB->uxPriority, uxTopReadyPriority ); in vTaskPriorityDisinheritAfterTimeout()
4734 …, ( ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxCurrentTCB->uxPriority ) ); /*lint !e96… in uxTaskResetEventItemValue()
5014 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskGenericNotify()
5149 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskGenericNotifyFromISR()
5240 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in vTaskGenericNotifyGiveFromISR()
5408 …portRESET_READY_PRIORITY( pxCurrentTCB->uxPriority, uxTopReadyPriority ); /*lint !e931 pxCurrentTC… in prvAddCurrentTaskToDelayedList()