Lines Matching defs:shm
82 struct tee_shm *shm;
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)
151 return shm->size;
156 * @shm: Shared memory handle
160 static inline struct page **tee_shm_get_pages(struct tee_shm *shm,
163 *num_pages = shm->num_pages;
164 return shm->pages;
169 * @shm: Shared memory handle
172 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm)
174 return shm->offset;