Lines Matching refs:pxTCB
221 #define prvAddTaskToReadyList( pxTCB ) … argument
223 …traceMOVED_TASK_TO_READY_STATE( pxTCB ); …
224 …taskRECORD_READY_PRIORITY( ( pxTCB )->uxPriority ); …
225 …listINSERT_END( &( pxReadyTasksLists[ ( pxTCB )->uxPriority ] ), &( ( pxTCB )->xStateListItem ) );…
226 …tracePOST_MOVED_TASK_TO_READY_STATE( pxTCB ); …
446 static void prvDeleteTCB( TCB_t * pxTCB ) PRIVILEGED_FUNCTION;
1118 TCB_t * pxTCB; in vTaskDelete() local
1124 pxTCB = prvGetTCBFromHandle( xTaskToDelete ); in vTaskDelete()
1127 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskDelete()
1129 taskRESET_READY_PRIORITY( pxTCB->uxPriority ); in vTaskDelete()
1137 if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) != NULL ) in vTaskDelete()
1139 ( void ) uxListRemove( &( pxTCB->xEventListItem ) ); in vTaskDelete()
1152 if( pxTCB == pxCurrentTCB ) in vTaskDelete()
1159 vListInsertEnd( &xTasksWaitingTermination, &( pxTCB->xStateListItem ) ); in vTaskDelete()
1168 traceTASK_DELETE( pxTCB ); in vTaskDelete()
1175 portPRE_TASK_DELETE_HOOK( pxTCB, &xYieldPending ); in vTaskDelete()
1180 traceTASK_DELETE( pxTCB ); in vTaskDelete()
1192 if( pxTCB != pxCurrentTCB ) in vTaskDelete()
1194 prvDeleteTCB( pxTCB ); in vTaskDelete()
1201 if( pxTCB == pxCurrentTCB ) in vTaskDelete()
1357 const TCB_t * const pxTCB = xTask; in eTaskGetState() local
1359 configASSERT( pxTCB ); in eTaskGetState()
1361 if( pxTCB == pxCurrentTCB ) in eTaskGetState()
1370 pxStateList = listLIST_ITEM_CONTAINER( &( pxTCB->xStateListItem ) ); in eTaskGetState()
1371 pxEventList = listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ); in eTaskGetState()
1397 if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) == NULL ) in eTaskGetState()
1412 if( pxTCB->ucNotifyState[ x ] == taskWAITING_NOTIFICATION ) in eTaskGetState()
1460 TCB_t const * pxTCB; in uxTaskPriorityGet() local
1467 pxTCB = prvGetTCBFromHandle( xTask ); in uxTaskPriorityGet()
1468 uxReturn = pxTCB->uxPriority; in uxTaskPriorityGet()
1482 TCB_t const * pxTCB; in uxTaskPriorityGetFromISR() local
1508 pxTCB = prvGetTCBFromHandle( xTask ); in uxTaskPriorityGetFromISR()
1509 uxReturn = pxTCB->uxPriority; in uxTaskPriorityGetFromISR()
1524 TCB_t * pxTCB; in vTaskPrioritySet() local
1544 pxTCB = prvGetTCBFromHandle( xTask ); in vTaskPrioritySet()
1546 traceTASK_PRIORITY_SET( pxTCB, uxNewPriority ); in vTaskPrioritySet()
1550 uxCurrentBasePriority = pxTCB->uxBasePriority; in vTaskPrioritySet()
1554 uxCurrentBasePriority = pxTCB->uxPriority; in vTaskPrioritySet()
1564 if( pxTCB != pxCurrentTCB ) in vTaskPrioritySet()
1585 else if( pxTCB == pxCurrentTCB ) in vTaskPrioritySet()
1602 uxPriorityUsedOnEntry = pxTCB->uxPriority; in vTaskPrioritySet()
1608 if( pxTCB->uxBasePriority == pxTCB->uxPriority ) in vTaskPrioritySet()
1610 pxTCB->uxPriority = uxNewPriority; in vTaskPrioritySet()
1618 pxTCB->uxBasePriority = uxNewPriority; in vTaskPrioritySet()
1622 pxTCB->uxPriority = uxNewPriority; in vTaskPrioritySet()
1628 …if( ( listGET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) =… in vTaskPrioritySet()
1630 …listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( ( TickType_t ) configMAX_PRIORITIES - ( Tic… in vTaskPrioritySet()
1641 …tIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ uxPriorityUsedOnEntry ] ), &( pxTCB->xStateListItem ) … in vTaskPrioritySet()
1646 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskPrioritySet()
1658 prvAddTaskToReadyList( pxTCB ); in vTaskPrioritySet()
1689 TCB_t * pxTCB; in vTaskSuspend() local
1695 pxTCB = prvGetTCBFromHandle( xTaskToSuspend ); in vTaskSuspend()
1697 traceTASK_SUSPEND( pxTCB ); in vTaskSuspend()
1701 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskSuspend()
1703 taskRESET_READY_PRIORITY( pxTCB->uxPriority ); in vTaskSuspend()
1711 if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) != NULL ) in vTaskSuspend()
1713 ( void ) uxListRemove( &( pxTCB->xEventListItem ) ); in vTaskSuspend()
1720 vListInsertEnd( &xSuspendedTaskList, &( pxTCB->xStateListItem ) ); in vTaskSuspend()
1728 if( pxTCB->ucNotifyState[ x ] == taskWAITING_NOTIFICATION ) in vTaskSuspend()
1732 pxTCB->ucNotifyState[ x ] = taskNOT_WAITING_NOTIFICATION; in vTaskSuspend()
1755 if( pxTCB == pxCurrentTCB ) in vTaskSuspend()
1796 const TCB_t * const pxTCB = xTask; in prvTaskIsTaskSuspended() local
1805 if( listIS_CONTAINED_WITHIN( &xSuspendedTaskList, &( pxTCB->xStateListItem ) ) != pdFALSE ) in prvTaskIsTaskSuspended()
1808 … if( listIS_CONTAINED_WITHIN( &xPendingReadyList, &( pxTCB->xEventListItem ) ) == pdFALSE ) in prvTaskIsTaskSuspended()
1812 …if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) != pdFALSE ) /*lint !e961. The ca… in prvTaskIsTaskSuspended()
1841 TCB_t * const pxTCB = xTaskToResume; in vTaskResume() local
1848 if( ( pxTCB != pxCurrentTCB ) && ( pxTCB != NULL ) ) in vTaskResume()
1852 if( prvTaskIsTaskSuspended( pxTCB ) != pdFALSE ) in vTaskResume()
1854 traceTASK_RESUME( pxTCB ); in vTaskResume()
1858 ( void ) uxListRemove( &( pxTCB->xStateListItem ) ); in vTaskResume()
1859 prvAddTaskToReadyList( pxTCB ); in vTaskResume()
1862 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in vTaskResume()
1896 TCB_t * const pxTCB = xTaskToResume; in xTaskResumeFromISR() local
1921 if( prvTaskIsTaskSuspended( pxTCB ) != pdFALSE ) in xTaskResumeFromISR()
1923 traceTASK_RESUME_FROM_ISR( pxTCB ); in xTaskResumeFromISR()
1930 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskResumeFromISR()
1944 ( void ) uxListRemove( &( pxTCB->xStateListItem ) ); in xTaskResumeFromISR()
1945 prvAddTaskToReadyList( pxTCB ); in xTaskResumeFromISR()
1952 vListInsertEnd( &( xPendingReadyList ), &( pxTCB->xEventListItem ) ); in xTaskResumeFromISR()
2190 TCB_t * pxTCB = NULL; in xTaskResumeAll() local
2214 …pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xPendingReadyList ) ); /*lint !e9079 void * is used as thi… in xTaskResumeAll()
2215 listREMOVE_ITEM( &( pxTCB->xEventListItem ) ); in xTaskResumeAll()
2217 listREMOVE_ITEM( &( pxTCB->xStateListItem ) ); in xTaskResumeAll()
2218 prvAddTaskToReadyList( pxTCB ); in xTaskResumeAll()
2222 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskResumeAll()
2232 if( pxTCB != NULL ) in xTaskResumeAll()
2356 TCB_t * pxTCB; in pcTaskGetName() local
2360 pxTCB = prvGetTCBFromHandle( xTaskToQuery ); in pcTaskGetName()
2361 configASSERT( pxTCB ); in pcTaskGetName()
2362 return &( pxTCB->pcTaskName[ 0 ] ); in pcTaskGetName()
2442 TCB_t * pxTCB; in xTaskGetHandle() local
2453 …pxTCB = prvSearchForNameWithinSingleList( ( List_t * ) &( pxReadyTasksLists[ uxQueue ] ), pcNameTo… in xTaskGetHandle()
2455 if( pxTCB != NULL ) in xTaskGetHandle()
2463 if( pxTCB == NULL ) in xTaskGetHandle()
2465 … pxTCB = prvSearchForNameWithinSingleList( ( List_t * ) pxDelayedTaskList, pcNameToQuery ); in xTaskGetHandle()
2468 if( pxTCB == NULL ) in xTaskGetHandle()
2470 … pxTCB = prvSearchForNameWithinSingleList( ( List_t * ) pxOverflowDelayedTaskList, pcNameToQuery ); in xTaskGetHandle()
2475 if( pxTCB == NULL ) in xTaskGetHandle()
2478 pxTCB = prvSearchForNameWithinSingleList( &xSuspendedTaskList, pcNameToQuery ); in xTaskGetHandle()
2485 if( pxTCB == NULL ) in xTaskGetHandle()
2488 … pxTCB = prvSearchForNameWithinSingleList( &xTasksWaitingTermination, pcNameToQuery ); in xTaskGetHandle()
2495 return pxTCB; in xTaskGetHandle()
2508 TCB_t * pxTCB; in xTaskGetStaticBuffers() local
2513 pxTCB = prvGetTCBFromHandle( xTask ); in xTaskGetStaticBuffers()
2517 if( pxTCB->ucStaticallyAllocated == tskSTATICALLY_ALLOCATED_STACK_AND_TCB ) in xTaskGetStaticBuffers()
2519 *ppuxStackBuffer = pxTCB->pxStack; in xTaskGetStaticBuffers()
2520 *ppxTaskBuffer = ( StaticTask_t * ) pxTCB; in xTaskGetStaticBuffers()
2523 else if( pxTCB->ucStaticallyAllocated == tskSTATICALLY_ALLOCATED_STACK_ONLY ) in xTaskGetStaticBuffers()
2525 *ppuxStackBuffer = pxTCB->pxStack; in xTaskGetStaticBuffers()
2536 *ppuxStackBuffer = pxTCB->pxStack; in xTaskGetStaticBuffers()
2537 *ppxTaskBuffer = ( StaticTask_t * ) pxTCB; in xTaskGetStaticBuffers()
2705 TCB_t * pxTCB = xTask; in xTaskAbortDelay() local
2708 configASSERT( pxTCB ); in xTaskAbortDelay()
2721 ( void ) uxListRemove( &( pxTCB->xStateListItem ) ); in xTaskAbortDelay()
2729 if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) != NULL ) in xTaskAbortDelay()
2731 ( void ) uxListRemove( &( pxTCB->xEventListItem ) ); in xTaskAbortDelay()
2736 pxTCB->ucDelayAborted = pdTRUE; in xTaskAbortDelay()
2746 prvAddTaskToReadyList( pxTCB ); in xTaskAbortDelay()
2755 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskAbortDelay()
2783 TCB_t * pxTCB; in xTaskIncrementTick() local
2835 …pxTCB = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this mac… in xTaskIncrementTick()
2836 xItemValue = listGET_LIST_ITEM_VALUE( &( pxTCB->xStateListItem ) ); in xTaskIncrementTick()
2854 listREMOVE_ITEM( &( pxTCB->xStateListItem ) ); in xTaskIncrementTick()
2858 if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) != NULL ) in xTaskIncrementTick()
2860 listREMOVE_ITEM( &( pxTCB->xEventListItem ) ); in xTaskIncrementTick()
2869 prvAddTaskToReadyList( pxTCB ); in xTaskIncrementTick()
2883 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskIncrementTick()
2992 TCB_t * pxTCB; in xTaskGetApplicationTaskTag() local
2996 pxTCB = prvGetTCBFromHandle( xTask ); in xTaskGetApplicationTaskTag()
3002 xReturn = pxTCB->pxTaskTag; in xTaskGetApplicationTaskTag()
3016 TCB_t * pxTCB; in xTaskGetApplicationTaskTagFromISR() local
3021 pxTCB = prvGetTCBFromHandle( xTask ); in xTaskGetApplicationTaskTagFromISR()
3027 xReturn = pxTCB->pxTaskTag; in xTaskGetApplicationTaskTagFromISR()
3443 TCB_t const * pxTCB; in uxTaskGetTaskNumber() local
3447 pxTCB = xTask; in uxTaskGetTaskNumber()
3448 uxReturn = pxTCB->uxTaskNumber; in uxTaskGetTaskNumber()
3466 TCB_t * pxTCB; in vTaskSetTaskNumber() local
3470 pxTCB = xTask; in vTaskSetTaskNumber()
3471 pxTCB->uxTaskNumber = uxHandle; in vTaskSetTaskNumber()
3657 TCB_t * pxTCB; in vTaskSetThreadLocalStoragePointer() local
3662 pxTCB = prvGetTCBFromHandle( xTaskToSet ); in vTaskSetThreadLocalStoragePointer()
3663 configASSERT( pxTCB != NULL ); in vTaskSetThreadLocalStoragePointer()
3664 pxTCB->pvThreadLocalStoragePointers[ xIndex ] = pvValue; in vTaskSetThreadLocalStoragePointer()
3677 TCB_t * pxTCB; in pvTaskGetThreadLocalStoragePointer() local
3682 pxTCB = prvGetTCBFromHandle( xTaskToQuery ); in pvTaskGetThreadLocalStoragePointer()
3683 pvReturn = pxTCB->pvThreadLocalStoragePointers[ xIndex ]; in pvTaskGetThreadLocalStoragePointer()
3701 TCB_t * pxTCB; in vTaskAllocateMPURegions() local
3705 pxTCB = prvGetTCBFromHandle( xTaskToModify ); in vTaskAllocateMPURegions()
3707 vPortStoreTaskMPUSettings( &( pxTCB->xMPUSettings ), xRegions, NULL, 0 ); in vTaskAllocateMPURegions()
3751 TCB_t * pxTCB; in prvCheckTasksWaitingTermination() local
3759 …pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used… in prvCheckTasksWaitingTermination()
3760 ( void ) uxListRemove( &( pxTCB->xStateListItem ) ); in prvCheckTasksWaitingTermination()
3766 prvDeleteTCB( pxTCB ); in prvCheckTasksWaitingTermination()
3780 TCB_t * pxTCB; in vTaskGetInfo() local
3783 pxTCB = prvGetTCBFromHandle( xTask ); in vTaskGetInfo()
3785 pxTaskStatus->xHandle = ( TaskHandle_t ) pxTCB; in vTaskGetInfo()
3786 pxTaskStatus->pcTaskName = ( const char * ) &( pxTCB->pcTaskName[ 0 ] ); in vTaskGetInfo()
3787 pxTaskStatus->uxCurrentPriority = pxTCB->uxPriority; in vTaskGetInfo()
3788 pxTaskStatus->pxStackBase = pxTCB->pxStack; in vTaskGetInfo()
3790 pxTaskStatus->pxTopOfStack = pxTCB->pxTopOfStack; in vTaskGetInfo()
3791 pxTaskStatus->pxEndOfStack = pxTCB->pxEndOfStack; in vTaskGetInfo()
3793 pxTaskStatus->xTaskNumber = pxTCB->uxTCBNumber; in vTaskGetInfo()
3797 pxTaskStatus->uxBasePriority = pxTCB->uxBasePriority; in vTaskGetInfo()
3807 pxTaskStatus->ulRunTimeCounter = pxTCB->ulRunTimeCounter; in vTaskGetInfo()
3820 if( pxTCB == pxCurrentTCB ) in vTaskGetInfo()
3837 if( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) != NULL ) in vTaskGetInfo()
3852 … if( listIS_CONTAINED_WITHIN( &xPendingReadyList, &( pxTCB->xEventListItem ) ) != pdFALSE ) in vTaskGetInfo()
3862 pxTaskStatus->eCurrentState = eTaskGetState( pxTCB ); in vTaskGetInfo()
3871 …TaskStatus->usStackHighWaterMark = prvTaskCheckFreeStackSpace( ( uint8_t * ) pxTCB->pxEndOfStack ); in vTaskGetInfo()
3875 … pxTaskStatus->usStackHighWaterMark = prvTaskCheckFreeStackSpace( ( uint8_t * ) pxTCB->pxStack ); in vTaskGetInfo()
3953 TCB_t * pxTCB; in uxTaskGetStackHighWaterMark2() local
3964 pxTCB = prvGetTCBFromHandle( xTask ); in uxTaskGetStackHighWaterMark2()
3968 pucEndOfStack = ( uint8_t * ) pxTCB->pxStack; in uxTaskGetStackHighWaterMark2()
3972 pucEndOfStack = ( uint8_t * ) pxTCB->pxEndOfStack; in uxTaskGetStackHighWaterMark2()
3988 TCB_t * pxTCB; in uxTaskGetStackHighWaterMark() local
3992 pxTCB = prvGetTCBFromHandle( xTask ); in uxTaskGetStackHighWaterMark()
3996 pucEndOfStack = ( uint8_t * ) pxTCB->pxStack; in uxTaskGetStackHighWaterMark()
4000 pucEndOfStack = ( uint8_t * ) pxTCB->pxEndOfStack; in uxTaskGetStackHighWaterMark()
4014 static void prvDeleteTCB( TCB_t * pxTCB ) in prvDeleteTCB() argument
4019 portCLEAN_UP_TCB( pxTCB ); in prvDeleteTCB()
4032 vPortFreeStack( pxTCB->pxStack ); in prvDeleteTCB()
4033 vPortFree( pxTCB ); in prvDeleteTCB()
4040 if( pxTCB->ucStaticallyAllocated == tskDYNAMICALLY_ALLOCATED_STACK_AND_TCB ) in prvDeleteTCB()
4044 vPortFreeStack( pxTCB->pxStack ); in prvDeleteTCB()
4045 vPortFree( pxTCB ); in prvDeleteTCB()
4047 else if( pxTCB->ucStaticallyAllocated == tskSTATICALLY_ALLOCATED_STACK_ONLY ) in prvDeleteTCB()
4051 vPortFree( pxTCB ); in prvDeleteTCB()
4057 … configASSERT( pxTCB->ucStaticallyAllocated == tskSTATICALLY_ALLOCATED_STACK_AND_TCB ); in prvDeleteTCB()
4227 TCB_t * const pxTCB = pxMutexHolder; in xTaskPriorityDisinherit() local
4236 configASSERT( pxTCB == pxCurrentTCB ); in xTaskPriorityDisinherit()
4237 configASSERT( pxTCB->uxMutexesHeld ); in xTaskPriorityDisinherit()
4238 ( pxTCB->uxMutexesHeld )--; in xTaskPriorityDisinherit()
4242 if( pxTCB->uxPriority != pxTCB->uxBasePriority ) in xTaskPriorityDisinherit()
4245 if( pxTCB->uxMutexesHeld == ( UBaseType_t ) 0 ) in xTaskPriorityDisinherit()
4252 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in xTaskPriorityDisinherit()
4254 portRESET_READY_PRIORITY( pxTCB->uxPriority, uxTopReadyPriority ); in xTaskPriorityDisinherit()
4263 traceTASK_PRIORITY_DISINHERIT( pxTCB, pxTCB->uxBasePriority ); in xTaskPriorityDisinherit()
4264 pxTCB->uxPriority = pxTCB->uxBasePriority; in xTaskPriorityDisinherit()
4269 …listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickT… in xTaskPriorityDisinherit()
4270 prvAddTaskToReadyList( pxTCB ); in xTaskPriorityDisinherit()
4308 TCB_t * const pxTCB = pxMutexHolder; in vTaskPriorityDisinheritAfterTimeout() local
4316 configASSERT( pxTCB->uxMutexesHeld ); in vTaskPriorityDisinheritAfterTimeout()
4322 if( pxTCB->uxBasePriority < uxHighestPriorityWaitingTask ) in vTaskPriorityDisinheritAfterTimeout()
4328 uxPriorityToUse = pxTCB->uxBasePriority; in vTaskPriorityDisinheritAfterTimeout()
4332 if( pxTCB->uxPriority != uxPriorityToUse ) in vTaskPriorityDisinheritAfterTimeout()
4338 if( pxTCB->uxMutexesHeld == uxOnlyOneMutexHeld ) in vTaskPriorityDisinheritAfterTimeout()
4343 configASSERT( pxTCB != pxCurrentTCB ); in vTaskPriorityDisinheritAfterTimeout()
4348 traceTASK_PRIORITY_DISINHERIT( pxTCB, uxPriorityToUse ); in vTaskPriorityDisinheritAfterTimeout()
4349 uxPriorityUsedOnEntry = pxTCB->uxPriority; in vTaskPriorityDisinheritAfterTimeout()
4350 pxTCB->uxPriority = uxPriorityToUse; in vTaskPriorityDisinheritAfterTimeout()
4354 …if( ( listGET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) =… in vTaskPriorityDisinheritAfterTimeout()
4356 …listSET_LIST_ITEM_VALUE( &( pxTCB->xEventListItem ), ( TickType_t ) configMAX_PRIORITIES - ( TickT… in vTaskPriorityDisinheritAfterTimeout()
4369 …tIS_CONTAINED_WITHIN( &( pxReadyTasksLists[ uxPriorityUsedOnEntry ] ), &( pxTCB->xStateListItem ) … in vTaskPriorityDisinheritAfterTimeout()
4371 if( uxListRemove( &( pxTCB->xStateListItem ) ) == ( UBaseType_t ) 0 ) in vTaskPriorityDisinheritAfterTimeout()
4376 portRESET_READY_PRIORITY( pxTCB->uxPriority, uxTopReadyPriority ); in vTaskPriorityDisinheritAfterTimeout()
4383 prvAddTaskToReadyList( pxTCB ); in vTaskPriorityDisinheritAfterTimeout()
4923 TCB_t * pxTCB; in xTaskGenericNotify() local
4929 pxTCB = xTaskToNotify; in xTaskGenericNotify()
4935 *pulPreviousNotificationValue = pxTCB->ulNotifiedValue[ uxIndexToNotify ]; in xTaskGenericNotify()
4938 ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ]; in xTaskGenericNotify()
4940 pxTCB->ucNotifyState[ uxIndexToNotify ] = taskNOTIFICATION_RECEIVED; in xTaskGenericNotify()
4945 pxTCB->ulNotifiedValue[ uxIndexToNotify ] |= ulValue; in xTaskGenericNotify()
4949 ( pxTCB->ulNotifiedValue[ uxIndexToNotify ] )++; in xTaskGenericNotify()
4953 pxTCB->ulNotifiedValue[ uxIndexToNotify ] = ulValue; in xTaskGenericNotify()
4960 pxTCB->ulNotifiedValue[ uxIndexToNotify ] = ulValue; in xTaskGenericNotify()
4992 listREMOVE_ITEM( &( pxTCB->xStateListItem ) ); in xTaskGenericNotify()
4993 prvAddTaskToReadyList( pxTCB ); in xTaskGenericNotify()
4996 configASSERT( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) == NULL ); in xTaskGenericNotify()
5014 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskGenericNotify()
5047 TCB_t * pxTCB; in xTaskGenericNotifyFromISR() local
5073 pxTCB = xTaskToNotify; in xTaskGenericNotifyFromISR()
5079 *pulPreviousNotificationValue = pxTCB->ulNotifiedValue[ uxIndexToNotify ]; in xTaskGenericNotifyFromISR()
5082 ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ]; in xTaskGenericNotifyFromISR()
5083 pxTCB->ucNotifyState[ uxIndexToNotify ] = taskNOTIFICATION_RECEIVED; in xTaskGenericNotifyFromISR()
5088 pxTCB->ulNotifiedValue[ uxIndexToNotify ] |= ulValue; in xTaskGenericNotifyFromISR()
5092 ( pxTCB->ulNotifiedValue[ uxIndexToNotify ] )++; in xTaskGenericNotifyFromISR()
5096 pxTCB->ulNotifiedValue[ uxIndexToNotify ] = ulValue; in xTaskGenericNotifyFromISR()
5103 pxTCB->ulNotifiedValue[ uxIndexToNotify ] = ulValue; in xTaskGenericNotifyFromISR()
5135 configASSERT( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) == NULL ); in xTaskGenericNotifyFromISR()
5139 listREMOVE_ITEM( &( pxTCB->xStateListItem ) ); in xTaskGenericNotifyFromISR()
5140 prvAddTaskToReadyList( pxTCB ); in xTaskGenericNotifyFromISR()
5146 listINSERT_END( &( xPendingReadyList ), &( pxTCB->xEventListItem ) ); in xTaskGenericNotifyFromISR()
5149 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in xTaskGenericNotifyFromISR()
5183 TCB_t * pxTCB; in vTaskGenericNotifyGiveFromISR() local
5208 pxTCB = xTaskToNotify; in vTaskGenericNotifyGiveFromISR()
5212 ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ]; in vTaskGenericNotifyGiveFromISR()
5213 pxTCB->ucNotifyState[ uxIndexToNotify ] = taskNOTIFICATION_RECEIVED; in vTaskGenericNotifyGiveFromISR()
5217 ( pxTCB->ulNotifiedValue[ uxIndexToNotify ] )++; in vTaskGenericNotifyGiveFromISR()
5226 configASSERT( listLIST_ITEM_CONTAINER( &( pxTCB->xEventListItem ) ) == NULL ); in vTaskGenericNotifyGiveFromISR()
5230 listREMOVE_ITEM( &( pxTCB->xStateListItem ) ); in vTaskGenericNotifyGiveFromISR()
5231 prvAddTaskToReadyList( pxTCB ); in vTaskGenericNotifyGiveFromISR()
5237 listINSERT_END( &( xPendingReadyList ), &( pxTCB->xEventListItem ) ); in vTaskGenericNotifyGiveFromISR()
5240 if( pxTCB->uxPriority > pxCurrentTCB->uxPriority ) in vTaskGenericNotifyGiveFromISR()
5271 TCB_t * pxTCB; in xTaskGenericNotifyStateClear() local
5278 pxTCB = prvGetTCBFromHandle( xTask ); in xTaskGenericNotifyStateClear()
5282 if( pxTCB->ucNotifyState[ uxIndexToClear ] == taskNOTIFICATION_RECEIVED ) in xTaskGenericNotifyStateClear()
5284 pxTCB->ucNotifyState[ uxIndexToClear ] = taskNOT_WAITING_NOTIFICATION; in xTaskGenericNotifyStateClear()
5306 TCB_t * pxTCB; in ulTaskGenericNotifyValueClear() local
5313 pxTCB = prvGetTCBFromHandle( xTask ); in ulTaskGenericNotifyValueClear()
5319 ulReturn = pxTCB->ulNotifiedValue[ uxIndexToClear ]; in ulTaskGenericNotifyValueClear()
5320 pxTCB->ulNotifiedValue[ uxIndexToClear ] &= ~ulBitsToClear; in ulTaskGenericNotifyValueClear()
5504 TCB_t * pxTCB; in xTaskGetMPUSettings() local
5506 pxTCB = prvGetTCBFromHandle( xTask ); in xTaskGetMPUSettings()
5508 return &( pxTCB->xMPUSettings ); in xTaskGetMPUSettings()