Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/lib/optee_clientApi/
H A DOpteeClientApiLib.c208 TEEC_SharedMemory *shared_memory) in TEEC_AllocateSharedMemory() argument
213 context->devname, context->fd, shared_memory->size); in TEEC_AllocateSharedMemory()
215 if ((context == NULL) || (shared_memory == NULL)) { in TEEC_AllocateSharedMemory()
220 if (shared_memory->flags != 0) { in TEEC_AllocateSharedMemory()
225 shared_memory->buffer = NULL; in TEEC_AllocateSharedMemory()
226 shared_memory->alloc_buffer = 0; in TEEC_AllocateSharedMemory()
229 shared_memory->size, shared_memory->flags); in TEEC_AllocateSharedMemory()
231 shared_memory->buffer = OpteeClientMemAlloc(shared_memory->size); in TEEC_AllocateSharedMemory()
232 if (shared_memory->buffer == NULL) { in TEEC_AllocateSharedMemory()
237 shared_memory->alloc_buffer = shared_memory->buffer; in TEEC_AllocateSharedMemory()
[all …]