Lines Matching full:shm
98 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
101 int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm);
202 int (*alloc)(struct tee_shm_pool *pool, struct tee_shm *shm,
204 void (*free)(struct tee_shm_pool *pool, struct tee_shm *shm);
209 * tee_shm_pool_alloc_res_mem() - Create a shm manager for reserved memory
247 int tee_dyn_shm_alloc_helper(struct tee_shm *shm, size_t size, size_t align,
249 struct tee_shm *shm,
253 void tee_dyn_shm_free_helper(struct tee_shm *shm,
255 struct tee_shm *shm));
259 * @shm: Shared memory handle
262 static inline bool tee_shm_is_dynamic(struct tee_shm *shm) in tee_shm_is_dynamic() argument
264 return shm && (shm->flags & TEE_SHM_DYNAMIC); in tee_shm_is_dynamic()
269 * @shm: Shared memory handle
271 void tee_shm_put(struct tee_shm *shm);
275 * @shm: Shared memory handle
278 static inline int tee_shm_get_id(struct tee_shm *shm) in tee_shm_get_id() argument
280 return shm->id; in tee_shm_get_id()