Lines Matching full:shared

49 #define TEE_GEN_CAP_REG_MEM	(1 << 2)/* Supports registering shared memory */
92 * struct tee_ioctl_shm_alloc_data - Shared memory allocate argument
93 * @size: [in/out] Size of shared memory to allocate
95 * @id: [out] Identifier of the shared memory
108 * TEE_IOC_SHM_ALLOC - allocate shared memory
110 * Allocates shared memory between the user space process and secure OS.
114 * The returned file descriptor is used to map the shared memory into user
115 * space. The shared memory is freed when the descriptor is closed and the
147 * These defines shared memory reference parameters (struct
189 * @a: if a memref, offset into the shared memory object, else a value parameter
191 * @c: if a memref, shared memory identifier, else a value parameter
198 * Shared memory is allocated with TEE_IOC_SHM_ALLOC which returns an
199 * identifier representing the shared memory object. A memref can reference
200 * a part of a shared memory by specifying an offset (@a) and size (@b) of
201 * the object. To supply the entire shared memory object set the offset
364 * struct tee_ioctl_shm_register_data - Shared memory register argument
365 * @addr: [in] Start address of shared memory to register
366 * @length: [in/out] Length of shared memory to register
368 * @id: [out] Identifier of the shared memory
382 * TEE_IOC_SHM_REGISTER - Register shared memory argument
384 * Registers shared memory between the user space process and secure OS.
388 * The shared memory is unregisterred when the descriptor is closed.
398 * - closes a file descriptor connected to allocated shared memory
399 * mmap(): maps shared memory into user space using information from struct
401 * munmap(): unmaps previously shared memory