Searched refs:SharedMemory (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/system/dev/tee/optee/ |
H A D | shared-memory.h | 37 // The SharedMemory object is essentially just a wrapper around the region object that was allocated 46 class SharedMemory : public fbl::DoublyLinkedListable<fbl::unique_ptr<SharedMemory>> { class in namespace:optee 50 explicit SharedMemory(zx_vaddr_t base_vaddr, zx_paddr_t base_paddr, RegionPtr region); 53 SharedMemory(SharedMemory&&) = default; 54 SharedMemory& operator=(SharedMemory&&) = default; 63 // Upon destruction of the SharedMemory object, the RegionPtr will be recycled back to the 79 zx_status_t Allocate(size_t size, fbl::unique_ptr<SharedMemory>* out_shared_memor [all...] |
H A D | optee-message.h | 131 static_assert(fbl::is_same<PtrType, SharedMemory*>::value || 132 fbl::is_same<PtrType, fbl::unique_ptr<SharedMemory>>::value, 133 "Template type of MessageBase must be a pointer (raw or smart) to SharedMemory!"); 188 class Message : public MessageBase<fbl::unique_ptr<SharedMemory>> { 238 class RpcMessage : public MessageBase<SharedMemory*> { 269 // Constructs an instance of an RpcMessage from a backing SharedMemory object. 272 // * memory: A pointer to the SharedMemory object backing the RpcMessage. This pointer must 274 explicit RpcMessage(SharedMemory* memory)
|
H A D | shared-memory.cpp | 14 SharedMemory::SharedMemory(zx_vaddr_t base_vaddr, zx_paddr_t base_paddr, RegionPtr region) function in class:optee::SharedMemory
|
H A D | optee-client.h | 52 using SharedMemoryList = fbl::DoublyLinkedList<fbl::unique_ptr<SharedMemory>>; 58 // Attempts to allocate a block of SharedMemory from a designated memory pool. 75 // Frees a block of SharedMemory that was previously allocated by the driver. 88 // * If the block was found, an iterator object pointing to the SharedMemory block.
|
H A D | optee-client.cpp | 249 fbl::unique_ptr<SharedMemory> sh_mem; 257 // Track the new piece of allocated SharedMemory in the list 262 // Make the memory identifier the address of the SharedMemory object 283 // Destructor of SharedMemory will automatically free block back into pool 387 SharedMemory& msg_mem = *mem_iter; 456 // Try to find the SharedMemory based on the memory id
|
Completed in 38 milliseconds