Lines Matching refs:tee_shm

61 static void release_registered_pages(struct tee_shm *shm)  in release_registered_pages()
73 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
94 static struct tee_shm *shm_alloc_helper(struct tee_context *ctx, size_t size, in shm_alloc_helper()
98 struct tee_shm *shm; in shm_alloc_helper()
156 struct tee_shm *tee_shm_alloc_user_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_user_buf()
160 struct tee_shm *shm; in tee_shm_alloc_user_buf()
201 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf()
225 struct tee_shm *tee_shm_alloc_priv_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_priv_buf()
233 static struct tee_shm *
238 struct tee_shm *shm; in register_shm_helper()
321 struct tee_shm *tee_shm_register_user_buf(struct tee_context *ctx, in tee_shm_register_user_buf()
326 struct tee_shm *shm; in tee_shm_register_user_buf()
368 struct tee_shm *tee_shm_register_kernel_buf(struct tee_context *ctx, in tee_shm_register_kernel_buf()
385 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap()
411 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
430 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
443 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
461 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) in tee_shm_get_pa()
478 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
481 struct tee_shm *shm; in tee_shm_get_from_id()
507 void tee_shm_put(struct tee_shm *shm) in tee_shm_put()