Searched refs:tokenClnt (Results 1 – 7 of 7) sorted by relevance
18 tokenClnt->tokenIf = tokenIf; in DeviceTokenClntConstruct()19 tokenClnt->deviceInfo = NULL; in DeviceTokenClntConstruct()24 struct DeviceTokenClnt *tokenClnt = NULL; in DeviceTokenClntNewInstance() local30 if (tokenClnt != NULL) { in DeviceTokenClntNewInstance()31 DeviceTokenClntConstruct(tokenClnt, tokenIf); in DeviceTokenClntNewInstance()33 return tokenClnt; in DeviceTokenClntNewInstance()36 void DeviceTokenClntFreeInstance(struct DeviceTokenClnt *tokenClnt) in DeviceTokenClntFreeInstance() argument38 if (tokenClnt != NULL) { in DeviceTokenClntFreeInstance()39 OsalMemFree(tokenClnt); in DeviceTokenClntFreeInstance()46 if (tokenClnt != NULL) { in DeviceTokenClntDelete()[all …]
20 struct PowerStateTokenClnt *tokenClnt = in PowerStateTokenClntNewInstance() local22 if (tokenClnt != NULL) { in PowerStateTokenClntNewInstance()23 PowerStateTokenClntConstruct(tokenClnt, tokenIf); in PowerStateTokenClntNewInstance()24 return tokenClnt; in PowerStateTokenClntNewInstance()26 return tokenClnt; in PowerStateTokenClntNewInstance()29 void PowerStateTokenClntFreeInstance(struct PowerStateTokenClnt *tokenClnt) in PowerStateTokenClntFreeInstance() argument31 if (tokenClnt != NULL) { in PowerStateTokenClntFreeInstance()32 OsalMemFree(tokenClnt); in PowerStateTokenClntFreeInstance()
244 struct DeviceTokenClnt *tokenClnt = NULL; in DevmgrServiceAttachDevice() local254 tokenClnt = DeviceTokenClntNewInstance(token); in DevmgrServiceAttachDevice()255 if (tokenClnt == NULL) { in DevmgrServiceAttachDevice()260 HdfSListAdd(&hostClnt->devices, &tokenClnt->node); in DevmgrServiceAttachDevice()267 return tokenClnt->tokenIf->devid == devid; in HdfSListHostSearchDeviceTokenComparer()273 struct DeviceTokenClnt *tokenClnt = NULL; in DevmgrServiceDetachDevice() local287 HdfSListRemove(&hostClnt->devices, &tokenClnt->node); in DevmgrServiceDetachDevice()386 if (tokenClnt != NULL && tokenClnt->tokenIf != NULL) { in DevmgrServiceListAllDevice()387 … name = (tokenClnt->tokenIf->deviceName == NULL) ? "" : tokenClnt->tokenIf->deviceName; in DevmgrServiceListAllDevice()389 HdfSbufWriteUint32(reply, tokenClnt->tokenIf->devid); in DevmgrServiceListAllDevice()[all …]
59 struct HdfDevTokenProxy *tokenClnt = HdfDevTokenProxyObtain(NULL); in DevmgrServiceStubDispatchAttachDevice() local60 if (tokenClnt == NULL) { in DevmgrServiceStubDispatchAttachDevice()63 tokenClnt->super.devid = deviceId; in DevmgrServiceStubDispatchAttachDevice()64 tokenClnt->super.servName = HdfStringCopy(servName); in DevmgrServiceStubDispatchAttachDevice()65 tokenClnt->super.deviceName = HdfStringCopy(deviceName); in DevmgrServiceStubDispatchAttachDevice()66 return devmgrSvc->AttachDevice(devmgrSvc, &tokenClnt->super); in DevmgrServiceStubDispatchAttachDevice()
130 struct DeviceTokenClnt *tokenClnt = (struct DeviceTokenClnt *)node; in DevMgrDumpServiceFindHost() local131 if (tokenClnt == NULL || tokenClnt->tokenIf == NULL) { in DevMgrDumpServiceFindHost()134 name = (tokenClnt->tokenIf->servName == NULL) ? "" : tokenClnt->tokenIf->servName; in DevMgrDumpServiceFindHost()
23 void PowerStateTokenClntFreeInstance(struct PowerStateTokenClnt *tokenClnt);
23 void DeviceTokenClntFreeInstance(struct DeviceTokenClnt *tokenClnt);