Lines Matching refs:hdl
472 TEE_ObjectHandle hdl = obj->attribs_hdl; in load_persistent_object_attributes() local
480 if (hdl == TEE_HANDLE_NULL) { in load_persistent_object_attributes()
483 TEE_DATA_FLAG_ACCESS_READ, &hdl); in load_persistent_object_attributes()
491 res = TEE_GetObjectInfo1(hdl, &info); in load_persistent_object_attributes()
504 res = TEE_ReadObjectData(hdl, attr, info.dataSize, &read_bytes); in load_persistent_object_attributes()
506 res = TEE_SeekObjectData(hdl, 0, TEE_DATA_SEEK_SET); in load_persistent_object_attributes()
533 TEE_CloseObject(hdl); in load_persistent_object_attributes()
547 TEE_ObjectHandle hdl = TEE_HANDLE_NULL; in update_persistent_object_attributes() local
555 tee_obj_flags, &hdl); in update_persistent_object_attributes()
563 res = TEE_WriteObjectData(hdl, obj->attributes, size); in update_persistent_object_attributes()
567 res = TEE_TruncateObjectData(hdl, size); in update_persistent_object_attributes()
570 TEE_CloseObject(hdl); in update_persistent_object_attributes()