Searched refs:pPowerSrv (Results 1 – 1 of 1) sorted by relevance
101 powerSrv_t * pPowerSrv = NULL; in powerSrv_create() local102 pPowerSrv = (powerSrv_t*) os_memoryAlloc (hOs, sizeof(powerSrv_t)); in powerSrv_create()103 if ( pPowerSrv == NULL ) in powerSrv_create()109 os_memoryZero (hOs, pPowerSrv, sizeof(powerSrv_t)); in powerSrv_create()111 pPowerSrv->hOS = hOs; in powerSrv_create()114 pPowerSrv->hPowerSrvSM = powerSrvSM_create(hOs); in powerSrv_create()115 if ( pPowerSrv->hPowerSrvSM == NULL ) in powerSrv_create()118 powerSrv_destroy(pPowerSrv); in powerSrv_create()122 return pPowerSrv; in powerSrv_create()143 powerSrv_t *pPowerSrv = (powerSrv_t*)hPowerSrv; in powerSrv_destroy() local[all …]