Home
last modified time | relevance | path

Searched refs:xNetworkBufferSemaphore (Results 1 – 3 of 3) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/BufferManagement/
HDBufferAllocation_1.c74 static SemaphoreHandle_t xNetworkBufferSemaphore = NULL; variable
175 if( xNetworkBufferSemaphore == NULL ) in xNetworkBuffersInitialise()
184 xNetworkBufferSemaphore = xSemaphoreCreateCountingStatic( in xNetworkBuffersInitialise()
191xNetworkBufferSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ipconfigNUM_NETWORK_BUFFER_DES… in xNetworkBuffersInitialise()
195 configASSERT( xNetworkBufferSemaphore != NULL ); in xNetworkBuffersInitialise()
197 if( xNetworkBufferSemaphore != NULL ) in xNetworkBuffersInitialise()
220 if( xNetworkBufferSemaphore == NULL ) in xNetworkBuffersInitialise()
244 if( xNetworkBufferSemaphore != NULL ) in pxGetNetworkBufferWithDescriptor()
248 if( xSemaphoreTake( xNetworkBufferSemaphore, xBlockTimeTicks ) == pdPASS ) in pxGetNetworkBufferWithDescriptor()
336 …if( uxQueueMessagesWaitingFromISR( ( QueueHandle_t ) xNetworkBufferSemaphore ) > ( UBaseType_t ) b… in pxNetworkBufferGetFromISR()
[all …]
HDBufferAllocation_2.c91 static SemaphoreHandle_t xNetworkBufferSemaphore = NULL; variable
108 if( xNetworkBufferSemaphore == NULL ) in xNetworkBuffersInitialise()
113 xNetworkBufferSemaphore = xSemaphoreCreateCountingStatic( in xNetworkBuffersInitialise()
120xNetworkBufferSemaphore = xSemaphoreCreateCounting( ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS, ipconf… in xNetworkBuffersInitialise()
124 configASSERT( xNetworkBufferSemaphore != NULL ); in xNetworkBuffersInitialise()
126 if( xNetworkBufferSemaphore != NULL ) in xNetworkBuffersInitialise()
130 vQueueAddToRegistry( xNetworkBufferSemaphore, "NetBufSem" ); in xNetworkBuffersInitialise()
140 vTraceSetQueueName( xNetworkBufferSemaphore, "NetworkBufferCount" ); in xNetworkBuffersInitialise()
163 if( xNetworkBufferSemaphore == NULL ) in xNetworkBuffersInitialise()
238 if( ( xRequestedSizeBytesCopy <= uxMaxAllowedBytes ) && ( xNetworkBufferSemaphore != NULL ) ) in pxGetNetworkBufferWithDescriptor()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/pic32mzef/
HDBufferAllocation_2.c96 static SemaphoreHandle_t xNetworkBufferSemaphore = NULL; variable
264 if( xNetworkBufferSemaphore == NULL ) in xNetworkBuffersInitialise()
266xNetworkBufferSemaphore = xSemaphoreCreateCounting( ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS, ipconf… in xNetworkBuffersInitialise()
267 configASSERT( xNetworkBufferSemaphore ); in xNetworkBuffersInitialise()
269 if( xNetworkBufferSemaphore != NULL ) in xNetworkBuffersInitialise()
273 vQueueAddToRegistry( xNetworkBufferSemaphore, "NetBufSem" ); in xNetworkBuffersInitialise()
283 vTraceSetQueueName( xNetworkBufferSemaphore, "NetworkBufferCount" ); in xNetworkBuffersInitialise()
306 if( xNetworkBufferSemaphore == NULL ) in xNetworkBuffersInitialise()
412 if( xSemaphoreTake( xNetworkBufferSemaphore, xBlockTimeTicks ) == pdPASS ) in pxGetNetworkBufferWithDescriptor()
526 if( xSemaphoreGive( xNetworkBufferSemaphore ) == pdTRUE ) in vReleaseNetworkBufferAndDescriptor()