Lines Matching refs:pxNewQueue
230 Queue_t * pxNewQueue ) PRIVILEGED_FUNCTION;
238 static void prvInitialiseMutex( Queue_t * pxNewQueue ) PRIVILEGED_FUNCTION;
382 Queue_t * pxNewQueue = NULL; in xQueueGenericCreateStatic() local
417 pxNewQueue = ( Queue_t * ) pxStaticQueue; in xQueueGenericCreateStatic()
424 pxNewQueue->ucStaticallyAllocated = pdTRUE; in xQueueGenericCreateStatic()
428 … prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue ); in xQueueGenericCreateStatic()
432 configASSERT( pxNewQueue ); in xQueueGenericCreateStatic()
436 traceRETURN_xQueueGenericCreateStatic( pxNewQueue ); in xQueueGenericCreateStatic()
438 return pxNewQueue; in xQueueGenericCreateStatic()
506 Queue_t * pxNewQueue = NULL; in xQueueGenericCreate() local
526 pxNewQueue = ( Queue_t * ) pvPortMalloc( sizeof( Queue_t ) + xQueueSizeInBytes ); in xQueueGenericCreate()
528 if( pxNewQueue != NULL ) in xQueueGenericCreate()
532 pucQueueStorage = ( uint8_t * ) pxNewQueue; in xQueueGenericCreate()
540 pxNewQueue->ucStaticallyAllocated = pdFALSE; in xQueueGenericCreate()
544 … prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue ); in xQueueGenericCreate()
554 configASSERT( pxNewQueue ); in xQueueGenericCreate()
558 traceRETURN_xQueueGenericCreate( pxNewQueue ); in xQueueGenericCreate()
560 return pxNewQueue; in xQueueGenericCreate()
570 Queue_t * pxNewQueue ) in prvInitialiseNewQueue() argument
582 pxNewQueue->pcHead = ( int8_t * ) pxNewQueue; in prvInitialiseNewQueue()
587 pxNewQueue->pcHead = ( int8_t * ) pucQueueStorage; in prvInitialiseNewQueue()
592 pxNewQueue->uxLength = uxQueueLength; in prvInitialiseNewQueue()
593 pxNewQueue->uxItemSize = uxItemSize; in prvInitialiseNewQueue()
594 ( void ) xQueueGenericReset( pxNewQueue, pdTRUE ); in prvInitialiseNewQueue()
598 pxNewQueue->ucQueueType = ucQueueType; in prvInitialiseNewQueue()
604 pxNewQueue->pxQueueSetContainer = NULL; in prvInitialiseNewQueue()
608 traceQUEUE_CREATE( pxNewQueue ); in prvInitialiseNewQueue()
614 static void prvInitialiseMutex( Queue_t * pxNewQueue ) in prvInitialiseMutex() argument
616 if( pxNewQueue != NULL ) in prvInitialiseMutex()
622 pxNewQueue->u.xSemaphore.xMutexHolder = NULL; in prvInitialiseMutex()
623 pxNewQueue->uxQueueType = queueQUEUE_IS_MUTEX; in prvInitialiseMutex()
626 pxNewQueue->u.xSemaphore.uxRecursiveCallCount = 0; in prvInitialiseMutex()
628 traceCREATE_MUTEX( pxNewQueue ); in prvInitialiseMutex()
631 ( void ) xQueueGenericSend( pxNewQueue, NULL, ( TickType_t ) 0U, queueSEND_TO_BACK ); in prvInitialiseMutex()