Lines Matching refs:pvContextBuffer
175 void * pvContextBuffer = NULL; in vMBuffNetifBackendInit() local
252 pvContextBuffer = pvPortMalloc( sizeof( SlirpBackendContext_t ) ); in vMBuffNetifBackendInit()
254 if( pvContextBuffer == NULL ) in vMBuffNetifBackendInit()
261 if( pvContextBuffer != NULL ) in vMBuffNetifBackendInit()
263 pxCtx = ( SlirpBackendContext_t * ) pvContextBuffer; in vMBuffNetifBackendInit()
287 pxCtx->pxSlirp = slirp_new( &xSlirpConfig, &xSlirpCallbacks, pvContextBuffer ); in vMBuffNetifBackendInit()
295 … pxCtx->xTxThread = _beginthreadex( NULL, 0, vTransmitThread, pvContextBuffer, 0, NULL ); in vMBuffNetifBackendInit()
298 … pxCtx->xRxThread = _beginthreadex( NULL, 0, vReceiveThread, pvContextBuffer, 0, NULL ); in vMBuffNetifBackendInit()
307 … lRslt = pthread_create( &( pxCtx->xTxThread ), NULL, vTransmitThread, pvContextBuffer ); in vMBuffNetifBackendInit()
310 … lRslt = pthread_create( &( pxCtx->xRxThread ), NULL, vReceiveThread, pvContextBuffer ); in vMBuffNetifBackendInit()
318 if( pvContextBuffer != NULL ) in vMBuffNetifBackendInit()
322 *ppvBackendContext = pvContextBuffer; in vMBuffNetifBackendInit()