Lines Matching full:shared
128 * tee_shm_alloc_user_buf() - Allocate shared memory for user space
129 * @ctx: Context that allocates the shared memory
130 * @size: Requested size of shared memory
132 * Memory allocated as user space shared memory is automatically freed when
173 * tee_shm_alloc_kernel_buf() - Allocate shared memory for kernel buffer
174 * @ctx: Context that allocates the shared memory
175 * @size: Requested size of shared memory
193 * tee_shm_alloc_priv_buf() - Allocate shared memory for a privately shared
195 * @ctx: Context that allocates the shared memory
196 * @size: Requested size of shared memory
198 * This function returns similar shared memory as
297 * tee_shm_register_user_buf() - Register a userspace shared memory buffer
298 * @ctx: Context that registers the shared memory
299 * @addr: The userspace address of the shared buffer
300 * @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
371 /* Refuse sharing shared memory provided by application */ in tee_shm_fop_mmap()
391 * @shm: Shared memory handle
392 * @returns user space file descriptor to shared memory
410 * tee_shm_free() - Free shared memory
411 * @shm: Handle to shared memory to free
420 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
421 * @shm: Shared memory handle
422 * @offs: Offset from start of this shared memory
423 * @returns virtual address of the shared memory + offs if offs is within
424 * the bounds of this shared memory, else an ERR_PTR
437 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
438 * @shm: Shared memory handle
439 * @offs: Offset from start of this shared memory
441 * @returns 0 if offs is within the bounds of this shared memory, else an
455 * tee_shm_get_from_id() - Find shared memory object and increase reference
457 * @ctx: Context owning the shared memory
458 * @id: Id of shared memory object
487 * tee_shm_put() - Decrease reference count on a shared memory handle
488 * @shm: Shared memory handle