Lines Matching full:shared

45 /* Flags relating to shared memory */
47 #define TEE_IOCTL_SHM_DMA_BUF 0x2 /* dma-buf handle on shared memory */
53 #define TEE_GEN_CAP_REG_MEM (1 << 2)/* Supports registering shared memory */
95 * struct tee_ioctl_shm_alloc_data - Shared memory allocate argument
96 * @size: [in/out] Size of shared memory to allocate
98 * @id: [out] Identifier of the shared memory
111 * TEE_IOC_SHM_ALLOC - allocate shared memory
113 * Allocates shared memory between the user space process and secure OS.
117 * The returned file descriptor is used to map the shared memory into user
118 * space. The shared memory is freed when the descriptor is closed and the
150 * These defines shared memory reference parameters (struct
192 * @a: if a memref, offset into the shared memory object, else a value parameter
194 * @c: if a memref, shared memory identifier, else a value parameter
201 * Shared memory is allocated with TEE_IOC_SHM_ALLOC which returns an
202 * identifier representing the shared memory object. A memref can reference
203 * a part of a shared memory by specifying an offset (@a) and size (@b) of
204 * the object. To supply the entire shared memory object set the offset
367 * struct tee_ioctl_shm_register_data - Shared memory register argument
368 * @addr: [in] Start address of shared memory to register
369 * @length: [in/out] Length of shared memory to register
371 * @id: [out] Identifier of the shared memory
385 * TEE_IOC_SHM_REGISTER - Register shared memory argument
387 * Registers shared memory between the user space process and secure OS.
391 * The shared memory is unregisterred when the descriptor is closed.
401 * - closes a file descriptor connected to allocated shared memory
402 * mmap(): maps shared memory into user space using information from struct
404 * munmap(): unmaps previously shared memory