Lines Matching refs:AllocAddress
32 size_t AllocAddress; in OpteeRpcAlloc() local
37 AllocAddress = (size_t) OpteeClientMemAlloc(Size); in OpteeRpcAlloc()
39 if (AllocAddress == 0) in OpteeRpcAlloc()
42 *Address = AllocAddress; in OpteeRpcAlloc()
109 size_t AllocAddress = 0; in OpteeRpcCmdLoadTa() local
124 AllocAddress = (size_t) OpteeClientMemAlloc(ImageSize); in OpteeRpcCmdLoadTa()
126 if (AllocAddress == 0) { in OpteeRpcCmdLoadTa()
131 memcpy((void *)AllocAddress, ImageData, ImageSize); in OpteeRpcCmdLoadTa()
134 AllocAddress, ImageSize); in OpteeRpcCmdLoadTa()
136 *(char *)AllocAddress, *(char *)(AllocAddress+1)); in OpteeRpcCmdLoadTa()
138 TeeLoadTaCmd->va = AllocAddress; in OpteeRpcCmdLoadTa()
140 TeeSmc32Param[1].u.memref.buf_ptr = AllocAddress; in OpteeRpcCmdLoadTa()
203 size_t AllocAddress = 0; in OpteeRpcCmdFreeTa() local
212 AllocAddress = TeeSmc32Param[0].u.memref.buf_ptr; in OpteeRpcCmdFreeTa()
216 (uint32_t) AllocAddress, (uint32_t) ImageSize); in OpteeRpcCmdFreeTa()
218 if (AllocAddress == 0) { in OpteeRpcCmdFreeTa()
223 OpteeClientMemFree((void *)AllocAddress); in OpteeRpcCmdFreeTa()