Lines Matching full:shared

39  * @list_shm:	List of shared memory object owned by this context
44 * shared memory release.
50 * @cap_memref_null: flag indicating if the TEE Client support shared
93 * @shm_register: register shared memory buffer in TEE
94 * @shm_unregister: unregister shared memory buffer in TEE
138 * @pool: Shared memory pool, NULL if not used
189 * struct tee_shm - shared memory object
191 * @paddr: physical address of the shared memory
192 * @kaddr: virtual address of the shared memory
193 * @size: size of shared memory
199 * @id: unique id of a shared memory object on this device
218 * struct tee_shm_pool_mgr - shared memory manager
220 * @private_data: private data for the shared memory manager
228 * struct tee_shm_pool_mgr_ops - shared memory pool manager operations
229 * @alloc: called when allocating shared memory
230 * @free: called when freeing shared memory
241 * tee_shm_pool_alloc() - Create a shared memory pool from shm managers
242 * @priv_mgr: manager for driver private shared memory allocations
243 * @dmabuf_mgr: manager for dma-buf shared memory allocations
268 * tee_shm_pool_mgr_destroy() - Free a shared memory manager
276 * struct tee_shm_pool_mem_info - holds information needed to create a shared
289 * tee_shm_pool_alloc_res_mem() - Create a shared memory pool from reserved
291 * @priv_info: Information for driver private shared memory pool
292 * @dmabuf_info: Information for dma-buf shared memory pool
306 * tee_shm_pool_free() - Free a shared memory pool
307 * @pool: The shared memory pool to free
309 * The must be no remaining shared memory allocated from this pool when
321 * tee_shm_alloc() - Allocate shared memory
322 * @ctx: Context that allocates the shared memory
323 * @size: Requested size of shared memory
324 * @flags: Flags setting properties for the requested shared memory.
326 * Memory allocated as global shared memory is automatically freed when the
329 * TEE_SHM_DMA_BUF global shared memory will be allocated and associated
337 * tee_shm_register() - Register shared memory buffer
338 * @ctx: Context that registers the shared memory
339 * @addr: Address is userspace of the shared buffer
340 * @length: Length of the shared buffer
341 * @flags: Flags setting properties for the requested shared memory.
349 * tee_shm_is_registered() - Check if shared memory object in registered in TEE
350 * @shm: Shared memory handle
359 * tee_shm_free() - Free shared memory
360 * @shm: Handle to shared memory to free
365 * tee_shm_put() - Decrease reference count on a shared memory handle
366 * @shm: Shared memory handle
372 * @shm: Shared memory handle
381 * @shm: Shared memory handle
389 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
390 * @shm: Shared memory handle
391 * @offs: Offset from start of this shared memory
392 * @returns virtual address of the shared memory + offs if offs is within
393 * the bounds of this shared memory, else an ERR_PTR
398 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
399 * @shm: Shared memory handle
400 * @offs: Offset from start of this shared memory
402 * @returns 0 if offs is within the bounds of this shared memory, else an
408 * tee_shm_get_size() - Get size of shared memory buffer
409 * @shm: Shared memory handle
410 * @returns size of shared memory
418 * tee_shm_get_pages() - Get list of pages that hold shared buffer
419 * @shm: Shared memory handle
431 * tee_shm_get_page_offset() - Get shared buffer offset from page start
432 * @shm: Shared memory handle
433 * @returns page offset of shared buffer
441 * tee_shm_get_id() - Get id of a shared memory object
442 * @shm: Shared memory handle
451 * tee_shm_get_from_id() - Find shared memory object and increase reference
453 * @ctx: Context owning the shared memory
454 * @id: Id of shared memory object