Lines Matching full:shared
118 * tee_shm_alloc_user_buf() - Allocate shared memory for user space
119 * @ctx: Context that allocates the shared memory
120 * @size: Requested size of shared memory
122 * Memory allocated as user space shared memory is automatically freed when
163 * tee_shm_alloc_kernel_buf() - Allocate shared memory for kernel buffer
164 * @ctx: Context that allocates the shared memory
165 * @size: Requested size of shared memory
183 * tee_shm_alloc_priv_buf() - Allocate shared memory for a privately shared
185 * @ctx: Context that allocates the shared memory
186 * @size: Requested size of shared memory
188 * This function returns similar shared memory as
360 * tee_shm_register_user_buf() - Register a userspace shared memory buffer
361 * @ctx: Context that registers the shared memory
362 * @addr: The userspace address of the shared buffer
363 * @length: Length of the shared buffer
407 * tee_shm_register_kernel_buf() - Register kernel memory to be shared with
409 * @ctx: Context that registers the shared memory
442 /* Refuse sharing shared memory provided by application */ in tee_shm_fop_mmap()
462 * @shm: Shared memory handle
463 * @returns user space file descriptor to shared memory
481 * tee_shm_free() - Free shared memory
482 * @shm: Handle to shared memory to free
491 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
492 * @shm: Shared memory handle
493 * @offs: Offset from start of this shared memory
494 * @returns virtual address of the shared memory + offs if offs is within
495 * the bounds of this shared memory, else an ERR_PTR
508 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
509 * @shm: Shared memory handle
510 * @offs: Offset from start of this shared memory
512 * @returns 0 if offs is within the bounds of this shared memory, else an
526 * tee_shm_get_from_id() - Find shared memory object and increase reference
528 * @ctx: Context owning the shared memory
529 * @id: Id of shared memory object
558 * tee_shm_put() - Decrease reference count on a shared memory handle
559 * @shm: Shared memory handle