Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/BufferManagement/
HDBufferAllocation_2.c236 size_t xRequestedSizeBytesCopy = xRequestedSizeBytes; in pxGetNetworkBufferWithDescriptor() local
238 if( ( xRequestedSizeBytesCopy <= uxMaxAllowedBytes ) && ( xNetworkBufferSemaphore != NULL ) ) in pxGetNetworkBufferWithDescriptor()
262 if( xRequestedSizeBytesCopy > 0U ) in pxGetNetworkBufferWithDescriptor()
264 if( ( xRequestedSizeBytesCopy < ( size_t ) baMINIMAL_BUFFER_SIZE ) ) in pxGetNetworkBufferWithDescriptor()
268 xRequestedSizeBytesCopy = baMINIMAL_BUFFER_SIZE; in pxGetNetworkBufferWithDescriptor()
273 xRequestedSizeBytesCopy += 2U; in pxGetNetworkBufferWithDescriptor()
275 if( ( xRequestedSizeBytesCopy & ( sizeof( size_t ) - 1U ) ) != 0U ) in pxGetNetworkBufferWithDescriptor()
277xRequestedSizeBytesCopy = ( xRequestedSizeBytesCopy | ( sizeof( size_t ) - 1U ) ) + 1U; in pxGetNetworkBufferWithDescriptor()
282 …pxReturn->pucEthernetBuffer = ( uint8_t * ) pvPortMalloc( xRequestedSizeBytesCopy + ipBUFFER_PADDI… in pxGetNetworkBufferWithDescriptor()
306 pxReturn->xDataLength = xRequestedSizeBytesCopy; in pxGetNetworkBufferWithDescriptor()