Lines Matching refs:tee_shm

44 static void release_registered_pages(struct tee_shm *shm)  in release_registered_pages()
56 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
77 static struct tee_shm *shm_alloc_helper(struct tee_context *ctx, size_t size, in shm_alloc_helper()
81 struct tee_shm *shm; in shm_alloc_helper()
139 struct tee_shm *tee_shm_alloc_user_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_user_buf()
143 struct tee_shm *shm; in tee_shm_alloc_user_buf()
184 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf()
208 struct tee_shm *tee_shm_alloc_priv_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_priv_buf()
216 static struct tee_shm *
221 struct tee_shm *shm; in register_shm_helper()
304 struct tee_shm *tee_shm_register_user_buf(struct tee_context *ctx, in tee_shm_register_user_buf()
309 struct tee_shm *shm; in tee_shm_register_user_buf()
351 struct tee_shm *tee_shm_register_kernel_buf(struct tee_context *ctx, in tee_shm_register_kernel_buf()
368 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap()
394 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
413 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
426 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
444 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) in tee_shm_get_pa()
461 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
464 struct tee_shm *shm; in tee_shm_get_from_id()
490 void tee_shm_put(struct tee_shm *shm) in tee_shm_put()