Lines Matching refs:shm
37 struct tee_shm *shm; member
68 tee_shm_put(mem_object->shm); in qcomtee_mem_object_release()
91 struct tee_shm *shm; in qcomtee_memobj_param_to_object() local
98 shm = tee_shm_get_from_id(ctx, param->u.objref.id); in qcomtee_memobj_param_to_object()
99 if (IS_ERR(shm)) in qcomtee_memobj_param_to_object()
100 return PTR_ERR(shm); in qcomtee_memobj_param_to_object()
106 shm->id); in qcomtee_memobj_param_to_object()
108 tee_shm_put(shm); in qcomtee_memobj_param_to_object()
113 mem_object->paddr = shm->paddr; in qcomtee_memobj_param_to_object()
114 mem_object->size = shm->size; in qcomtee_memobj_param_to_object()
115 mem_object->shm = shm; in qcomtee_memobj_param_to_object()
131 if (mem_object->shm->ctx != ctx) in qcomtee_memobj_param_from_object()
134 param->u.objref.id = mem_object->shm->id; in qcomtee_memobj_param_from_object()