Lines Matching refs:xInternalTaskHandle

352             TaskHandle_t xInternalTaskHandle = NULL;  in vGrantAccessToKernelObject()  local
366xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lExternalTaskIndex ) ); in vGrantAccessToKernelObject()
368 if( xInternalTaskHandle != NULL ) in vGrantAccessToKernelObject()
370 vPortGrantAccessToKernelObject( xInternalTaskHandle, in vGrantAccessToKernelObject()
387 TaskHandle_t xInternalTaskHandle = NULL; in vRevokeAccessToKernelObject() local
401xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lExternalTaskIndex ) ); in vRevokeAccessToKernelObject()
403 if( xInternalTaskHandle != NULL ) in vRevokeAccessToKernelObject()
405 vPortRevokeAccessToKernelObject( xInternalTaskHandle, in vRevokeAccessToKernelObject()
488 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskAbortDelayImpl() local
499xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskAbortDelayImpl()
501 if( xInternalTaskHandle != NULL ) in MPU_xTaskAbortDelayImpl()
503 xReturn = xTaskAbortDelay( xInternalTaskHandle ); in MPU_xTaskAbortDelayImpl()
535 TaskHandle_t xInternalTaskHandle = NULL; in MPU_uxTaskPriorityGetImpl() local
551xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_uxTaskPriorityGetImpl()
553 if( xInternalTaskHandle != NULL ) in MPU_uxTaskPriorityGetImpl()
555 uxReturn = uxTaskPriorityGet( xInternalTaskHandle ); in MPU_uxTaskPriorityGetImpl()
574 TaskHandle_t xInternalTaskHandle = NULL; in MPU_eTaskGetStateImpl() local
586xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_eTaskGetStateImpl()
588 if( xInternalTaskHandle != NULL ) in MPU_eTaskGetStateImpl()
590 eReturn = eTaskGetState( xInternalTaskHandle ); in MPU_eTaskGetStateImpl()
614 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskGetInfoImpl() local
638xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskGetInfoImpl()
640 if( xInternalTaskHandle != NULL ) in MPU_vTaskGetInfoImpl()
642 … vTaskGetInfo( xInternalTaskHandle, pxTaskStatus, xGetFreeStackSpace, eState ); in MPU_vTaskGetInfoImpl()
676 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskSuspendImpl() local
701xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskSuspendImpl()
703 if( xInternalTaskHandle != NULL ) in MPU_vTaskSuspendImpl()
705 vTaskSuspend( xInternalTaskHandle ); in MPU_vTaskSuspendImpl()
723 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskResumeImpl() local
734xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskResumeImpl()
736 if( xInternalTaskHandle != NULL ) in MPU_vTaskResumeImpl()
738 vTaskResume( xInternalTaskHandle ); in MPU_vTaskResumeImpl()
779 TaskHandle_t xInternalTaskHandle = NULL; in MPU_ulTaskGetRunTimeCounterImpl() local
796xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_ulTaskGetRunTimeCounterImpl()
798 if( xInternalTaskHandle != NULL ) in MPU_ulTaskGetRunTimeCounterImpl()
800 xReturn = ulTaskGetRunTimeCounter( xInternalTaskHandle ); in MPU_ulTaskGetRunTimeCounterImpl()
820 TaskHandle_t xInternalTaskHandle = NULL; in MPU_ulTaskGetRunTimePercentImpl() local
837xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_ulTaskGetRunTimePercentImpl()
839 if( xInternalTaskHandle != NULL ) in MPU_ulTaskGetRunTimePercentImpl()
841 xReturn = ulTaskGetRunTimePercent( xInternalTaskHandle ); in MPU_ulTaskGetRunTimePercentImpl()
893 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskSetApplicationTaskTagImpl() local
911xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskSetApplicationTaskTagImpl()
913 if( xInternalTaskHandle != NULL ) in MPU_vTaskSetApplicationTaskTagImpl()
915 vTaskSetApplicationTaskTag( xInternalTaskHandle, pxTagValue ); in MPU_vTaskSetApplicationTaskTagImpl()
933 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGetApplicationTaskTagImpl() local
950xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskGetApplicationTaskTagImpl()
952 if( xInternalTaskHandle != NULL ) in MPU_xTaskGetApplicationTaskTagImpl()
954 xReturn = xTaskGetApplicationTaskTag( xInternalTaskHandle ); in MPU_xTaskGetApplicationTaskTagImpl()
977 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskSetThreadLocalStoragePointerImpl() local
994xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskSetThreadLocalStoragePointerImpl()
996 if( xInternalTaskHandle != NULL ) in MPU_vTaskSetThreadLocalStoragePointerImpl()
998 … vTaskSetThreadLocalStoragePointer( xInternalTaskHandle, xIndex, pvValue ); in MPU_vTaskSetThreadLocalStoragePointerImpl()
1018 TaskHandle_t xInternalTaskHandle = NULL; in MPU_pvTaskGetThreadLocalStoragePointerImpl() local
1035xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_pvTaskGetThreadLocalStoragePointerImpl()
1037 if( xInternalTaskHandle != NULL ) in MPU_pvTaskGetThreadLocalStoragePointerImpl()
1039 … pvReturn = pvTaskGetThreadLocalStoragePointer( xInternalTaskHandle, xIndex ); in MPU_pvTaskGetThreadLocalStoragePointerImpl()
1101 TaskHandle_t xInternalTaskHandle = NULL; in MPU_uxTaskGetStackHighWaterMarkImpl() local
1118xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_uxTaskGetStackHighWaterMarkImpl()
1120 if( xInternalTaskHandle != NULL ) in MPU_uxTaskGetStackHighWaterMarkImpl()
1122 uxReturn = uxTaskGetStackHighWaterMark( xInternalTaskHandle ); in MPU_uxTaskGetStackHighWaterMarkImpl()
1142 TaskHandle_t xInternalTaskHandle = NULL; in MPU_uxTaskGetStackHighWaterMark2Impl() local
1159xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_uxTaskGetStackHighWaterMark2Impl()
1161 if( xInternalTaskHandle != NULL ) in MPU_uxTaskGetStackHighWaterMark2Impl()
1163 uxReturn = uxTaskGetStackHighWaterMark2( xInternalTaskHandle ); in MPU_uxTaskGetStackHighWaterMark2Impl()
1181 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGetCurrentTaskHandleImpl() local
1185 xInternalTaskHandle = xTaskGetCurrentTaskHandle(); in MPU_xTaskGetCurrentTaskHandleImpl()
1187 if( xInternalTaskHandle != NULL ) in MPU_xTaskGetCurrentTaskHandleImpl()
1189 lIndex = MPU_GetIndexForTaskHandle( xInternalTaskHandle ); in MPU_xTaskGetCurrentTaskHandleImpl()
1296 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGenericNotifyImpl() local
1335xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskGenericNotifyImpl()
1337 if( xInternalTaskHandle != NULL ) in MPU_xTaskGenericNotifyImpl()
1339 xReturn = xTaskGenericNotify( xInternalTaskHandle, in MPU_xTaskGenericNotifyImpl()
1456 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGenericNotifyStateClearImpl() local
1475xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskGenericNotifyStateClearImpl()
1477 if( xInternalTaskHandle != NULL ) in MPU_xTaskGenericNotifyStateClearImpl()
1479 … xReturn = xTaskGenericNotifyStateClear( xInternalTaskHandle, uxIndexToClear ); in MPU_xTaskGenericNotifyStateClearImpl()
1504 TaskHandle_t xInternalTaskHandle = NULL; in MPU_ulTaskGenericNotifyValueClearImpl() local
1523xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_ulTaskGenericNotifyValueClearImpl()
1525 if( xInternalTaskHandle != NULL ) in MPU_ulTaskGenericNotifyValueClearImpl()
1527 … ulReturn = ulTaskGenericNotifyValueClear( xInternalTaskHandle, uxIndexToClear, ulBitsToClear ); in MPU_ulTaskGenericNotifyValueClearImpl()
1556 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskCreate() local
1565 …TaskCreate( pvTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, &( xInternalTaskHandle ) ); in MPU_xTaskCreate()
1567 if( ( xReturn == pdPASS ) && ( xInternalTaskHandle != NULL ) ) in MPU_xTaskCreate()
1569 MPU_StoreTaskHandleAtIndex( lIndex, xInternalTaskHandle ); in MPU_xTaskCreate()
1600 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskCreateStatic() local
1607xInternalTaskHandle = xTaskCreateStatic( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriorit… in MPU_xTaskCreateStatic()
1609 if( xInternalTaskHandle != NULL ) in MPU_xTaskCreateStatic()
1611 MPU_StoreTaskHandleAtIndex( lIndex, xInternalTaskHandle ); in MPU_xTaskCreateStatic()
1618 vPortGrantAccessToKernelObject( xInternalTaskHandle, lIndex ); in MPU_xTaskCreateStatic()
1641 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskDelete() local
1646 xInternalTaskHandle = xTaskGetCurrentTaskHandle(); in MPU_vTaskDelete()
1647 lIndex = MPU_GetIndexForTaskHandle( xInternalTaskHandle ); in MPU_vTaskDelete()
1654 vTaskDelete( xInternalTaskHandle ); in MPU_vTaskDelete()
1662xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskDelete()
1664 if( xInternalTaskHandle != NULL ) in MPU_vTaskDelete()
1667 vTaskDelete( xInternalTaskHandle ); in MPU_vTaskDelete()
1682 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskPrioritySet() local
1695xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskPrioritySet()
1697 if( xInternalTaskHandle != NULL ) in MPU_vTaskPrioritySet()
1699 vTaskPrioritySet( xInternalTaskHandle, uxNewPriority ); in MPU_vTaskPrioritySet()
1712 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGetHandle() local
1716 xInternalTaskHandle = xTaskGetHandle( pcNameToQuery ); in MPU_xTaskGetHandle()
1718 if( xInternalTaskHandle != NULL ) in MPU_xTaskGetHandle()
1720 lIndex = MPU_GetIndexForTaskHandle( xInternalTaskHandle ); in MPU_xTaskGetHandle()
1742 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskCallApplicationTaskHook() local
1754xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskCallApplicationTaskHook()
1756 if( xInternalTaskHandle != NULL ) in MPU_xTaskCallApplicationTaskHook()
1758 xReturn = xTaskCallApplicationTaskHook( xInternalTaskHandle, pvParameter ); in MPU_xTaskCallApplicationTaskHook()
1776 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskCreateRestricted() local
1782 xReturn = xTaskCreateRestricted( pxTaskDefinition, &( xInternalTaskHandle ) ); in MPU_xTaskCreateRestricted()
1784 if( ( xReturn == pdPASS ) && ( xInternalTaskHandle != NULL ) ) in MPU_xTaskCreateRestricted()
1786 MPU_StoreTaskHandleAtIndex( lIndex, xInternalTaskHandle ); in MPU_xTaskCreateRestricted()
1793 vPortGrantAccessToKernelObject( xInternalTaskHandle, lIndex ); in MPU_xTaskCreateRestricted()
1822 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskCreateRestrictedStatic() local
1828 xReturn = xTaskCreateRestrictedStatic( pxTaskDefinition, &( xInternalTaskHandle ) ); in MPU_xTaskCreateRestrictedStatic()
1830 if( ( xReturn == pdPASS ) && ( xInternalTaskHandle != NULL ) ) in MPU_xTaskCreateRestrictedStatic()
1832 MPU_StoreTaskHandleAtIndex( lIndex, xInternalTaskHandle ); in MPU_xTaskCreateRestrictedStatic()
1839 vPortGrantAccessToKernelObject( xInternalTaskHandle, lIndex ); in MPU_xTaskCreateRestrictedStatic()
1864 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskAllocateMPURegions() local
1877xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskAllocateMPURegions()
1879 if( xInternalTaskHandle != NULL ) in MPU_vTaskAllocateMPURegions()
1881 vTaskAllocateMPURegions( xInternalTaskHandle, xRegions ); in MPU_vTaskAllocateMPURegions()
1894 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGetStaticBuffers() local
1900 xInternalTaskHandle = xTaskGetCurrentTaskHandle(); in MPU_xTaskGetStaticBuffers()
1901 … xReturn = xTaskGetStaticBuffers( xInternalTaskHandle, ppuxStackBuffer, ppxTaskBuffer ); in MPU_xTaskGetStaticBuffers()
1909xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskGetStaticBuffers()
1911 if( xInternalTaskHandle != NULL ) in MPU_xTaskGetStaticBuffers()
1913 … xReturn = xTaskGetStaticBuffers( xInternalTaskHandle, ppuxStackBuffer, ppxTaskBuffer ); in MPU_xTaskGetStaticBuffers()
1928 TaskHandle_t xInternalTaskHandle = NULL; in MPU_pcTaskGetName() local
1940xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_pcTaskGetName()
1942 if( xInternalTaskHandle != NULL ) in MPU_pcTaskGetName()
1944 pcReturn = pcTaskGetName( xInternalTaskHandle ); in MPU_pcTaskGetName()
1959 TaskHandle_t xInternalTaskHandle = NULL; in MPU_uxTaskPriorityGetFromISR() local
1971xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_uxTaskPriorityGetFromISR()
1973 if( xInternalTaskHandle != NULL ) in MPU_uxTaskPriorityGetFromISR()
1975 uxReturn = uxTaskPriorityGetFromISR( xInternalTaskHandle ); in MPU_uxTaskPriorityGetFromISR()
1992 TaskHandle_t xInternalTaskHandle = NULL; in MPU_uxTaskBasePriorityGet() local
2004xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_uxTaskBasePriorityGet()
2006 if( xInternalTaskHandle != NULL ) in MPU_uxTaskBasePriorityGet()
2008 uxReturn = uxTaskBasePriorityGet( xInternalTaskHandle ); in MPU_uxTaskBasePriorityGet()
2025 TaskHandle_t xInternalTaskHandle = NULL; in MPU_uxTaskBasePriorityGetFromISR() local
2037xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_uxTaskBasePriorityGetFromISR()
2039 if( xInternalTaskHandle != NULL ) in MPU_uxTaskBasePriorityGetFromISR()
2041 uxReturn = uxTaskBasePriorityGetFromISR( xInternalTaskHandle ); in MPU_uxTaskBasePriorityGetFromISR()
2058 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskResumeFromISR() local
2064xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskResumeFromISR()
2066 if( xInternalTaskHandle != NULL ) in MPU_xTaskResumeFromISR()
2068 xReturn = xTaskResumeFromISR( xInternalTaskHandle ); in MPU_xTaskResumeFromISR()
2084 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGetApplicationTaskTagFromISR() local
2096xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskGetApplicationTaskTagFromISR()
2098 if( xInternalTaskHandle != NULL ) in MPU_xTaskGetApplicationTaskTagFromISR()
2100 xReturn = xTaskGetApplicationTaskTagFromISR( xInternalTaskHandle ); in MPU_xTaskGetApplicationTaskTagFromISR()
2122 TaskHandle_t xInternalTaskHandle = NULL; in MPU_xTaskGenericNotifyFromISR() local
2128xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_xTaskGenericNotifyFromISR()
2130 if( xInternalTaskHandle != NULL ) in MPU_xTaskGenericNotifyFromISR()
2132 …xReturn = xTaskGenericNotifyFromISR( xInternalTaskHandle, uxIndexToNotify, ulValue, eAction, pulPr… in MPU_xTaskGenericNotifyFromISR()
2149 TaskHandle_t xInternalTaskHandle = NULL; in MPU_vTaskGenericNotifyGiveFromISR() local
2155xInternalTaskHandle = MPU_GetTaskHandleAtIndex( CONVERT_TO_INTERNAL_INDEX( lIndex ) ); in MPU_vTaskGenericNotifyGiveFromISR()
2157 if( xInternalTaskHandle != NULL ) in MPU_vTaskGenericNotifyGiveFromISR()
2159 … vTaskGenericNotifyGiveFromISR( xInternalTaskHandle, uxIndexToNotify, pxHigherPriorityTaskWoken ); in MPU_vTaskGenericNotifyGiveFromISR()