Lines Matching defs:shm
34 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages()
46 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
71 struct tee_shm *shm; in shm_alloc_helper() local
133 struct tee_shm *shm; in tee_shm_alloc_user_buf() local
206 int tee_dyn_shm_alloc_helper(struct tee_shm *shm, size_t size, size_t align, in tee_dyn_shm_alloc_helper()
257 void tee_dyn_shm_free_helper(struct tee_shm *shm, in tee_dyn_shm_free_helper()
275 struct tee_shm *shm; in register_shm_helper() local
372 struct tee_shm *shm; in tee_shm_register_user_buf() local
439 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap() local
465 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
484 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
497 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
515 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) in tee_shm_get_pa()
535 struct tee_shm *shm; in tee_shm_get_from_id() local
561 void tee_shm_put(struct tee_shm *shm) in tee_shm_put()