Home
last modified time | relevance | path

Searched refs:TO_RESOURCE_PTR (Results 1 – 8 of 8) sorted by relevance

/utopia/UTPA2-700.0.x/modules/msos/utopia_core/linux_kernel/
H A Dutopia_dapi.c95 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()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/nos/
H A Dutopia_dapi.c30 #define TO_RESOURCE_PTR(pTmp) ((UTOPIA_RESOURCE*)pTmp) macro
98 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()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/optee/
H A Dutopia_dapi.c220 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()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/nuttx/
H A Dutopia_dapi.c220 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()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/ecos/
H A Dutopia_dapi.c75 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()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/ucos/
H A Dutopia_dapi.c75 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()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/linux/
H A Dutopia_dapi.c148 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()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/
H A Dutopia_dapi.h39 #define TO_RESOURCE_PTR(pTmp) ((UTOPIA_RESOURCE*)pTmp) macro