Lines Matching full:shared

40  * @list_shm:	List of shared memory object owned by this context
45 * shared memory release.
51 * @cap_memref_null: flag indicating if the TEE Client support shared
94 * @shm_register: register shared memory buffer in TEE
95 * @shm_unregister: unregister shared memory buffer in TEE
139 * @pool: Shared memory pool, NULL if not used
190 * struct tee_shm - shared memory object
192 * @paddr: physical address of the shared memory
193 * @kaddr: virtual address of the shared memory
194 * @size: size of shared memory
200 * @id: unique id of a shared memory object on this device
219 * struct tee_shm_pool_mgr - shared memory manager
221 * @private_data: private data for the shared memory manager
229 * struct tee_shm_pool_mgr_ops - shared memory pool manager operations
230 * @alloc: called when allocating shared memory
231 * @free: called when freeing shared memory
242 * tee_shm_pool_alloc() - Create a shared memory pool from shm managers
243 * @priv_mgr: manager for driver private shared memory allocations
244 * @dmabuf_mgr: manager for dma-buf shared memory allocations
269 * tee_shm_pool_mgr_destroy() - Free a shared memory manager
277 * struct tee_shm_pool_mem_info - holds information needed to create a shared
290 * tee_shm_pool_alloc_res_mem() - Create a shared memory pool from reserved
292 * @priv_info: Information for driver private shared memory pool
293 * @dmabuf_info: Information for dma-buf shared memory pool
307 * tee_shm_pool_free() - Free a shared memory pool
308 * @pool: The shared memory pool to free
310 * The must be no remaining shared memory allocated from this pool when
322 * tee_shm_alloc() - Allocate shared memory
323 * @ctx: Context that allocates the shared memory
324 * @size: Requested size of shared memory
325 * @flags: Flags setting properties for the requested shared memory.
327 * Memory allocated as global shared memory is automatically freed when the
330 * TEE_SHM_DMA_BUF global shared memory will be allocated and associated
339 * tee_shm_register() - Register shared memory buffer
340 * @ctx: Context that registers the shared memory
341 * @addr: Address is userspace of the shared buffer
342 * @length: Length of the shared buffer
343 * @flags: Flags setting properties for the requested shared memory.
351 * tee_shm_is_registered() - Check if shared memory object in registered in TEE
352 * @shm: Shared memory handle
361 * tee_shm_free() - Free shared memory
362 * @shm: Handle to shared memory to free
367 * tee_shm_put() - Decrease reference count on a shared memory handle
368 * @shm: Shared memory handle
374 * @shm: Shared memory handle
383 * @shm: Shared memory handle
391 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
392 * @shm: Shared memory handle
393 * @offs: Offset from start of this shared memory
394 * @returns virtual address of the shared memory + offs if offs is within
395 * the bounds of this shared memory, else an ERR_PTR
400 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
401 * @shm: Shared memory handle
402 * @offs: Offset from start of this shared memory
404 * @returns 0 if offs is within the bounds of this shared memory, else an
410 * tee_shm_get_size() - Get size of shared memory buffer
411 * @shm: Shared memory handle
412 * @returns size of shared memory
420 * tee_shm_get_pages() - Get list of pages that hold shared buffer
421 * @shm: Shared memory handle
433 * tee_shm_get_page_offset() - Get shared buffer offset from page start
434 * @shm: Shared memory handle
435 * @returns page offset of shared buffer
443 * tee_shm_get_id() - Get id of a shared memory object
444 * @shm: Shared memory handle
453 * tee_shm_get_from_id() - Find shared memory object and increase reference
455 * @ctx: Context owning the shared memory
456 * @id: Id of shared memory object