Searched refs:TO_RESOURCE_PTR (Results 1 – 8 of 8) sorted by relevance
95 return TO_RESOURCE_PTR(pUnknown)->shmid_self.ID == 0; in isFirstCreation()269 = TO_RESOURCE_PTR(shmid2va(pRPool->shmid_resource_head.ID)); in locate_resource()276 pRes = TO_RESOURCE_PTR(shmid2va(pRes->shmid_next_resource.ID)); in locate_resource()864 *ppPrivate = shmid2va(TO_RESOURCE_PTR(pResource)->shmid_private.ID); in UtopiaResourceGetPrivate()880 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(pResourceTmp); in UtopiaResourceRegister()1097 = RESOURCE_PTR_TO_RPOOL_PTR(TO_RESOURCE_PTR(pResource)); in UtopiaResourceRelease()1102 TO_RESOURCE_PTR(pResource)->bInUse = false; in UtopiaResourceRelease()1103 TO_RESOURCE_PTR(pResource)->u32Pid = UTOPIA_RESOURCE_NO_OCCUPY; in UtopiaResourceRelease()1114 return TO_RESOURCE_PTR(pResource)->u32Pid; in UtopiaResourceGetPid()
30 #define TO_RESOURCE_PTR(pTmp) ((UTOPIA_RESOURCE*)pTmp) macro98 return TO_RESOURCE_PTR(pUnknown)->shmid_self.ID == 0; in isFirstCreation()232 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(shmid2va(pRPool->shmid_resource_head.ID)); in locate_resource()238 pResource = TO_RESOURCE_PTR(shmid2va(pResource->shmid_next_resource.ID)); in locate_resource()493 *ppPrivate = shmid2va(TO_RESOURCE_PTR(pResource)->shmid_private.ID); in UtopiaResourceGetPrivate()506 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(pResourceTmp); in UtopiaResourceRegister()692 UTOPIA_RESOURCE_POOL* pRPool = RESOURCE_PTR_TO_RPOOL_PTR(TO_RESOURCE_PTR(pResource)); in UtopiaResourceRelease()696 TO_RESOURCE_PTR(pResource)->bInUse = false; in UtopiaResourceRelease()
220 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(shmid2va(pRPool->shmid_resource_head.ID)); in locate_resource()226 pResource = TO_RESOURCE_PTR(shmid2va(pResource->shmid_next_resource.ID)); in locate_resource()556 *ppPrivate = shmid2va(TO_RESOURCE_PTR(pResource)->shmid_private.ID); in UtopiaResourceGetPrivate()569 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(pResourceTmp); in UtopiaResourceRegister()677 UTOPIA_RESOURCE_POOL* pRPool = RESOURCE_PTR_TO_RPOOL_PTR(TO_RESOURCE_PTR(pResource)); in UtopiaResourceRelease()680 TO_RESOURCE_PTR(pResource)->bInUse = false; in UtopiaResourceRelease()
75 return TO_RESOURCE_PTR(pUnknown)->shmid_self.ID == 0; in isFirstCreation()202 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(shmid2va(pRPool->shmid_resource_head.ID)); in locate_resource()208 pResource = TO_RESOURCE_PTR(shmid2va(pResource->shmid_next_resource.ID)); in locate_resource()481 *ppPrivate = shmid2va(TO_RESOURCE_PTR(pResource)->shmid_private.ID); in UtopiaResourceGetPrivate()494 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(pResourceTmp); in UtopiaResourceRegister()675 UTOPIA_RESOURCE_POOL* pRPool = RESOURCE_PTR_TO_RPOOL_PTR(TO_RESOURCE_PTR(pResource)); in UtopiaResourceRelease()679 TO_RESOURCE_PTR(pResource)->bInUse = false; in UtopiaResourceRelease()
148 return TO_RESOURCE_PTR(pUnknown)->shmid_self.ID == 0;323 = TO_RESOURCE_PTR(shmid2va(pRPool->shmid_resource_head.ID)); in locate_resource()330 pRes = TO_RESOURCE_PTR(shmid2va(pRes->shmid_next_resource.ID)); in locate_resource()697 *ppPrivate = shmid2va(TO_RESOURCE_PTR(pResource)->shmid_private.ID); in UtopiaResourceGetPrivate()713 UTOPIA_RESOURCE* pResource = TO_RESOURCE_PTR(pResourceTmp); in UtopiaResourceRegister()947 = RESOURCE_PTR_TO_RPOOL_PTR(TO_RESOURCE_PTR(pResource)); in UtopiaResourceRelease()955 TO_RESOURCE_PTR(pResource)->bInUse = false; in UtopiaResourceRelease()
39 #define TO_RESOURCE_PTR(pTmp) ((UTOPIA_RESOURCE*)pTmp) macro