Lines Matching full:shm
82 struct tee_shm *shm; member
121 * @shm: Handle to shared memory to free
123 void tee_shm_free(struct tee_shm *shm);
127 * @shm: Shared memory handle
132 void *tee_shm_get_va(struct tee_shm *shm, size_t offs);
136 * @shm: Shared memory handle
142 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa);
146 * @shm: Shared memory handle
149 static inline size_t tee_shm_get_size(struct tee_shm *shm) in tee_shm_get_size() argument
151 return shm->size; in tee_shm_get_size()
156 * @shm: Shared memory handle
160 static inline struct page **tee_shm_get_pages(struct tee_shm *shm, in tee_shm_get_pages() argument
163 *num_pages = shm->num_pages; in tee_shm_get_pages()
164 return shm->pages; in tee_shm_get_pages()
169 * @shm: Shared memory handle
172 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm) in tee_shm_get_page_offset() argument
174 return shm->offset; in tee_shm_get_page_offset()