Lines Matching refs:tee_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);
245 struct tee_shm *tee_shm_alloc_priv_buf(struct tee_context *ctx, size_t size);
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));
262 static inline bool tee_shm_is_dynamic(struct tee_shm *shm) in tee_shm_is_dynamic()
271 void tee_shm_put(struct tee_shm *shm);
278 static inline int tee_shm_get_id(struct tee_shm *shm) in tee_shm_get_id()
290 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id);