Lines Matching full:shared

23 #define TEE_SHM_DYNAMIC		BIT(0)  /* Dynamic shared memory registered */
37 * @list_shm: List of shared memory object owned by this context
42 * shared memory release.
48 * @cap_memref_null: flag indicating if the TEE Client support shared
91 * @shm_register: register shared memory buffer in TEE
92 * @shm_unregister: unregister shared memory buffer in TEE
136 * @pool: Shared memory pool, NULL if not used
187 * struct tee_shm - shared memory object
189 * @paddr: physical address of the shared memory
190 * @kaddr: virtual address of the shared memory
191 * @size: size of shared memory
197 * @id: unique id of a shared memory object on this device, shared
200 * secure world assigned id of this shared memory object, not
221 * struct tee_shm_pool - shared memory pool
223 * @private_data: private data for the shared memory manager
231 * struct tee_shm_pool_ops - shared memory pool operations
232 * @alloc: called when allocating shared memory
233 * @free: called when freeing shared memory
256 * tee_shm_pool_free() - Free a shared memory pool
257 * @pool: The shared memory pool to free
259 * The must be no remaining shared memory allocated from this pool when
280 * tee_shm_is_dynamic() - Check if shared memory object is of the dynamic kind
281 * @shm: Shared memory handle
282 * @returns true if object is dynamic shared memory
290 * tee_shm_free() - Free shared memory
291 * @shm: Handle to shared memory to free
296 * tee_shm_put() - Decrease reference count on a shared memory handle
297 * @shm: Shared memory handle
302 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
303 * @shm: Shared memory handle
304 * @offs: Offset from start of this shared memory
305 * @returns virtual address of the shared memory + offs if offs is within
306 * the bounds of this shared memory, else an ERR_PTR
311 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
312 * @shm: Shared memory handle
313 * @offs: Offset from start of this shared memory
315 * @returns 0 if offs is within the bounds of this shared memory, else an
321 * tee_shm_get_size() - Get size of shared memory buffer
322 * @shm: Shared memory handle
323 * @returns size of shared memory
331 * tee_shm_get_pages() - Get list of pages that hold shared buffer
332 * @shm: Shared memory handle
344 * tee_shm_get_page_offset() - Get shared buffer offset from page start
345 * @shm: Shared memory handle
346 * @returns page offset of shared buffer
354 * tee_shm_get_id() - Get id of a shared memory object
355 * @shm: Shared memory handle
364 * tee_shm_get_from_id() - Find shared memory object and increase reference
366 * @ctx: Context owning the shared memory
367 * @id: Id of shared memory object