QueueDefinition::u is only used within FreeRTOS.
 
Symbols
loading...
Files
loading...

QueueDefinition::u field

References

LocationReferrerText
queue.c:106
} u;
queue.c:263xQueueGenericReset()
pxQueue->u.xQueue.pcTail = pxQueue->pcHead + ( pxQueue->uxLength * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */
queue.c:266xQueueGenericReset()
pxQueue->u.xQueue.pcReadFrom = pxQueue->pcHead + ( ( pxQueue->uxLength - 1U ) * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */
queue.c:474prvInitialiseMutex()
queue.c:478prvInitialiseMutex()
queue.c:546xQueueGetMutexHolder()
pxReturn = pxSemaphore->u.xSemaphore.xMutexHolder;
queue.c:574xQueueGetMutexHolderFromISR()
pxReturn = ( ( Queue_t * ) xSemaphore )->u.xSemaphore.xMutexHolder;
queue.c:602xQueueGiveMutexRecursive()
queue.c:611xQueueGiveMutexRecursive()
queue.c:614xQueueGiveMutexRecursive()
if( pxMutex->u.xSemaphore.uxRecursiveCallCount == ( UBaseType_t ) 0 )
queue.c:656xQueueTakeMutexRecursive()
queue.c:658xQueueTakeMutexRecursive()
queue.c:670xQueueTakeMutexRecursive()
queue.c:1133xQueueGiveFromISR()
configASSERT( !( ( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) && ( pxQueue->u.xSemaphore.xMutexHolder != NULL ) ) );
queue.c:1470xQueueSemaphoreTake()
queue.c:1558xQueueSemaphoreTake()
xInheritanceOccurred = xTaskPriorityInherit( pxQueue->u.xSemaphore.xMutexHolder );
queue.c:1617xQueueSemaphoreTake()
vTaskPriorityDisinheritAfterTimeout( pxQueue->u.xSemaphore.xMutexHolder, uxHighestWaitingPriority );
queue.c:1674xQueuePeek()
pcOriginalReadPosition = pxQueue->u.xQueue.pcReadFrom;
queue.c:1680xQueuePeek()
pxQueue->u.xQueue.pcReadFrom = pcOriginalReadPosition;
queue.c:1912xQueuePeekFromISR()
pcOriginalReadPosition = pxQueue->u.xQueue.pcReadFrom;
queue.c:1914xQueuePeekFromISR()
pxQueue->u.xQueue.pcReadFrom = pcOriginalReadPosition;
queue.c:2090prvCopyDataToQueue()
queue.c:2091prvCopyDataToQueue()
queue.c:2104prvCopyDataToQueue()
if( pxQueue->pcWriteTo >= pxQueue->u.xQueue.pcTail ) /*lint !e946 MISRA exception justified as comparison of pointers is the cleanest solution. */
queue.c:2115prvCopyDataToQueue()
( void ) memcpy( ( void * ) pxQueue->u.xQueue.pcReadFrom, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e9087 !e418 MISRA exception as the casts are only redundant for some ports. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. Assert checks null pointer only used when length is 0. */
queue.c:2116prvCopyDataToQueue()
queue.c:2117prvCopyDataToQueue()
if( pxQueue->u.xQueue.pcReadFrom < pxQueue->pcHead ) /*lint !e946 MISRA exception justified as comparison of pointers is the cleanest solution. */
queue.c:2119prvCopyDataToQueue()
queue.c:2157prvCopyDataFromQueue()
pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; /*lint !e9016 Pointer arithmetic on char types ok, especially in this use case where it is the clearest way of conveying intent. */
queue.c:2158prvCopyDataFromQueue()
if( pxQueue->u.xQueue.pcReadFrom >= pxQueue->u.xQueue.pcTail ) /*lint !e946 MISRA exception justified as use of the relational operator is the cleanest solutions. */
queue.c:2160prvCopyDataFromQueue()
queue.c:2166prvCopyDataFromQueue()
( void ) memcpy( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e418 !e9087 MISRA exception as the casts are only redundant for some ports. Also previous logic ensures a null pointer can only be passed to memcpy() when the count is 0. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. */