Lines Matching full:shared
117 * tee_shm_alloc_user_buf() - Allocate shared memory for user space
118 * @ctx: Context that allocates the shared memory
119 * @size: Requested size of shared memory
121 * Memory allocated as user space shared memory is automatically freed when
162 * tee_shm_alloc_kernel_buf() - Allocate shared memory for kernel buffer
163 * @ctx: Context that allocates the shared memory
164 * @size: Requested size of shared memory
182 * tee_shm_alloc_priv_buf() - Allocate shared memory for a privately shared
184 * @ctx: Context that allocates the shared memory
185 * @size: Requested size of shared memory
187 * This function returns similar shared memory as
295 * tee_shm_register_user_buf() - Register a userspace shared memory buffer
296 * @ctx: Context that registers the shared memory
297 * @addr: The userspace address of the shared buffer
298 * @length: Length of the shared buffer
342 * tee_shm_register_kernel_buf() - Register kernel memory to be shared with
344 * @ctx: Context that registers the shared memory
377 /* Refuse sharing shared memory provided by application */ in tee_shm_fop_mmap()
397 * @shm: Shared memory handle
398 * @returns user space file descriptor to shared memory
416 * tee_shm_free() - Free shared memory
417 * @shm: Handle to shared memory to free
426 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
427 * @shm: Shared memory handle
428 * @offs: Offset from start of this shared memory
429 * @returns virtual address of the shared memory + offs if offs is within
430 * the bounds of this shared memory, else an ERR_PTR
443 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
444 * @shm: Shared memory handle
445 * @offs: Offset from start of this shared memory
447 * @returns 0 if offs is within the bounds of this shared memory, else an
461 * tee_shm_get_from_id() - Find shared memory object and increase reference
463 * @ctx: Context owning the shared memory
464 * @id: Id of shared memory object
493 * tee_shm_put() - Decrease reference count on a shared memory handle
494 * @shm: Shared memory handle