Searched refs:g_pCB (Results 1 – 8 of 8) sorted by relevance
593 _SlDriverCb_t* g_pCB = NULL; variable621 g_pCB = &g_CB; in _SlDrvDriverCBInit()630 _SlDrvMemZero(g_pCB, (_u16)sizeof(_SlDriverCb_t)); in _SlDrvDriverCBInit()632 OSI_RET_OK_CHECK( sl_SyncObjCreate(&g_pCB->CmdSyncObj, "CmdSyncObj") ); in _SlDrvDriverCBInit()633 SL_DRV_SYNC_OBJ_CLEAR(&g_pCB->CmdSyncObj); in _SlDrvDriverCBInit()641 OSI_RET_OK_CHECK( sl_LockObjCreate(&g_pCB->ProtectionLockObj, "ProtectionLockObj") ); in _SlDrvDriverCBInit()642 g_pCB->NumOfDeletedSyncObj = 0; in _SlDrvDriverCBInit()644 g_pCB->SocketTriggerSelect.Info.ObjPoolIdx = MAX_CONCURRENT_ACTIONS; in _SlDrvDriverCBInit()647 _SlDrvMemZero(&g_pCB->ObjPool[0], (_u16)(MAX_CONCURRENT_ACTIONS*sizeof(_SlPoolObj_t))); in _SlDrvDriverCBInit()649 g_pCB->FreePoolIdx = 0; in _SlDrvDriverCBInit()[all …]
192 bSocketInAction = !!(g_pCB->ActiveActionsBitmap & (1<<sd)); in sl_Close()502 if( g_pCB->SocketNonBlocking & (1<<(sd & SL_BSD_SOCKET_ID_MASK) )) in sl_Connect()545 VERIFY_SOCKET_CB(NULL != g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs); in _SlSocketHandleAsync_Connect()547 …((SlSocketResponse_t *)(g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs))->Sd… in _SlSocketHandleAsync_Connect()548 …((SlSocketResponse_t *)(g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs))->St… in _SlSocketHandleAsync_Connect()550 SL_DRV_SYNC_OBJ_SIGNAL(&g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].SyncObj); in _SlSocketHandleAsync_Connect()566 VERIFY_SOCKET_CB(NULL != g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs); in _SlSocketHandleAsync_Close()568 …((SlSocketResponse_t *)(g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs))->Sd… in _SlSocketHandleAsync_Close()569 …((SlSocketResponse_t *)(g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs))->St… in _SlSocketHandleAsync_Close()571 SL_DRV_SYNC_OBJ_SIGNAL(&g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].SyncObj); in _SlSocketHandleAsync_Close()[all …]
145 g_pCB->FD = sl_IfOpen((void *)pDevName, SL_IF_OPEN_FLAGS); in sl_Start()149 g_pCB->FD = (_SlFd_t)pIfHdl; in sl_Start()159 if( g_pCB->FD >= (_SlFd_t)0) in sl_Start()173 g_pCB->pInitCallback = pInitCallBack; in sl_Start()185 _SlDrvReleasePoolObj(g_pCB->FunctionParams.AsyncExt.ActionIndex); in sl_Start()215 if(g_pCB->pInitCallback) in _SlDeviceHandleAsync_InitComplete()219 g_pCB->pInitCallback(_SlDeviceGetStartResponseConvert(pMsgArgs->Status), &DeviceInitInfo); in _SlDeviceHandleAsync_InitComplete()223 …sl_Memcpy(g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs, pMsgArgs, sizeof(I… in _SlDeviceHandleAsync_InitComplete()224 SL_DRV_SYNC_OBJ_SIGNAL(&g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].SyncObj); in _SlDeviceHandleAsync_InitComplete()228 if(g_pCB->pInitCallback) in _SlDeviceHandleAsync_InitComplete()[all …]
680 g_pCB->ObjPool[ObjIdx].AdditionalData |= SL_NETAPP_FAMILY_MASK; in sl_NetAppDnsGetHostByService()769 VERIFY_SOCKET_CB(NULL != g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs); in _SlNetAppHandleAsync_DnsGetHostByService()771 …Res = (_GetHostByServiceAsyncResponse_t*)g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex… in _SlNetAppHandleAsync_DnsGetHostByService()773 …if(g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].AdditionalData & SL_NETAPP_FAMILY_MA… in _SlNetAppHandleAsync_DnsGetHostByService()799 …if (g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].AdditionalData & SL_NETAPP_FAMILY_M… in _SlNetAppHandleAsync_DnsGetHostByService()812 SL_DRV_SYNC_OBJ_SIGNAL(&g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].SyncObj); in _SlNetAppHandleAsync_DnsGetHostByService()881 g_pCB->ObjPool[ObjIdx].pRespArgs = (_u8 *)&AsyncRsp; in sl_NetAppDnsGetHostByName()885 g_pCB->ObjPool[ObjIdx].AdditionalData |= SL_NETAPP_FAMILY_MASK; in sl_NetAppDnsGetHostByName()929 VERIFY_SOCKET_CB(NULL != g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs); in _SlNetAppHandleAsync_DnsGetHostByName()932 …if(g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].AdditionalData & SL_NETAPP_FAMILY_MA… in _SlNetAppHandleAsync_DnsGetHostByName()[all …]
115 VERIFY_SOCKET_CB(NULL != g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespArgs); in _SlNetUtilHandleAsync_Cmd()117 …pOutData = (_SlNetUtilCmdData_t*)g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].pRespA… in _SlNetUtilHandleAsync_Cmd()139 _SlDrvSyncObjSignal(&g_pCB->ObjPool[g_pCB->FunctionParams.AsyncExt.ActionIndex].SyncObj); in _SlNetUtilHandleAsync_Cmd()
56 g_pCB->FlowContCB.MinTxPayloadSize = pFlowCtrlAsyncEvent->MinTxPayloadSize; in _SlFlowContSet()
107 if (FALSE == g_pCB->WaitForCmdResp) in tiDriverSpawnCallback()
95 _SlDrvReleasePoolObj(g_pCB->FunctionParams.AsyncExt.ActionIndex); \422 extern _SlDriverCb_t* g_pCB;