Lines Matching full:shared

49 #define TEE_GEN_CAP_REG_MEM	(1 << 2)/* Supports registering shared memory */
91 * struct tee_ioctl_shm_alloc_data - Shared memory allocate argument
92 * @size: [in/out] Size of shared memory to allocate
94 * @id: [out] Identifier of the shared memory
107 * TEE_IOC_SHM_ALLOC - allocate shared memory
109 * Allocates shared memory between the user space process and secure OS.
113 * The returned file descriptor is used to map the shared memory into user
114 * space. The shared memory is freed when the descriptor is closed and the
146 * These defines shared memory reference parameters (struct
188 * @a: if a memref, offset into the shared memory object, else a value parameter
190 * @c: if a memref, shared memory identifier, else a value parameter
197 * Shared memory is allocated with TEE_IOC_SHM_ALLOC which returns an
198 * identifier representing the shared memory object. A memref can reference
199 * a part of a shared memory by specifying an offset (@a) and size (@b) of
200 * the object. To supply the entire shared memory object set the offset
363 * struct tee_ioctl_shm_register_data - Shared memory register argument
364 * @addr: [in] Start address of shared memory to register
365 * @length: [in/out] Length of shared memory to register
367 * @id: [out] Identifier of the shared memory
381 * TEE_IOC_SHM_REGISTER - Register shared memory argument
383 * Registers shared memory between the user space process and secure OS.
387 * The shared memory is unregisterred when the descriptor is closed.
397 * - closes a file descriptor connected to allocated shared memory
398 * mmap(): maps shared memory into user space using information from struct
400 * munmap(): unmaps previously shared memory