Lines Matching full:shared
145 * tee_shm_alloc_user_buf() - Allocate shared memory for user space
146 * @ctx: Context that allocates the shared memory
147 * @size: Requested size of shared memory
149 * Memory allocated as user space shared memory is automatically freed when
190 * tee_shm_alloc_kernel_buf() - Allocate shared memory for kernel buffer
191 * @ctx: Context that allocates the shared memory
192 * @size: Requested size of shared memory
210 * tee_shm_alloc_priv_buf() - Allocate shared memory for a privately shared
212 * @ctx: Context that allocates the shared memory
213 * @size: Requested size of shared memory
215 * This function returns similar shared memory as
314 * tee_shm_register_user_buf() - Register a userspace shared memory buffer
315 * @ctx: Context that registers the shared memory
316 * @addr: The userspace address of the shared buffer
317 * @length: Length of the shared buffer
359 * tee_shm_register_kernel_buf() - Register kernel memory to be shared with
361 * @ctx: Context that registers the shared memory
388 /* Refuse sharing shared memory provided by application */ in tee_shm_fop_mmap()
408 * @shm: Shared memory handle
409 * @returns user space file descriptor to shared memory
427 * tee_shm_free() - Free shared memory
428 * @shm: Handle to shared memory to free
437 * tee_shm_get_va() - Get virtual address of a shared memory plus an offset
438 * @shm: Shared memory handle
439 * @offs: Offset from start of this shared memory
440 * @returns virtual address of the shared memory + offs if offs is within
441 * the bounds of this shared memory, else an ERR_PTR
454 * tee_shm_get_pa() - Get physical address of a shared memory plus an offset
455 * @shm: Shared memory handle
456 * @offs: Offset from start of this shared memory
458 * @returns 0 if offs is within the bounds of this shared memory, else an
472 * tee_shm_get_from_id() - Find shared memory object and increase reference
474 * @ctx: Context owning the shared memory
475 * @id: Id of shared memory object
504 * tee_shm_put() - Decrease reference count on a shared memory handle
505 * @shm: Shared memory handle