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
92 * @shm_register: register shared memory buffer in TEE
93 * @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, shared
202 * secure world assigned id of this shared memory object, not
223 * struct tee_shm_pool - shared memory pool
225 * @private_data: private data for the shared memory manager
233 * struct tee_shm_pool_ops - shared memory pool operations
234 * @alloc: called when allocating shared memory
235 * @free: called when freeing shared memory
258 * tee_shm_pool_free() - Free a shared memory pool
259 * @pool: The shared memory pool to free
261 * The must be no remaining shared memory allocated from this pool when
282 * tee_shm_is_dynamic() - Check if shared memory object is of the dynamic kind
283 * @shm: Shared memory handle
284 * @returns true if object is dynamic shared memory
292 * tee_shm_free() - Free shared memory
293 * @shm: Handle to shared memory to free
298 * tee_shm_put() - Decrease reference count on a shared memory handle
299 * @shm: Shared memory handle
304 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
305 * @shm: Shared memory handle
306 * @offs: Offset from start of this shared memory
307 * @returns virtual address of the shared memory + offs if offs is within
308 * the bounds of this shared memory, else an ERR_PTR
313 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
314 * @shm: Shared memory handle
315 * @offs: Offset from start of this shared memory
317 * @returns 0 if offs is within the bounds of this shared memory, else an
323 * tee_shm_get_size() - Get size of shared memory buffer
324 * @shm: Shared memory handle
325 * @returns size of shared memory
333 * tee_shm_get_pages() - Get list of pages that hold shared buffer
334 * @shm: Shared memory handle
346 * tee_shm_get_page_offset() - Get shared buffer offset from page start
347 * @shm: Shared memory handle
348 * @returns page offset of shared buffer
356 * tee_shm_get_id() - Get id of a shared memory object
357 * @shm: Shared memory handle
366 * tee_shm_get_from_id() - Find shared memory object and increase reference
368 * @ctx: Context owning the shared memory
369 * @id: Id of shared memory object