/** * increase ref of the object **/ static int out_ref_add(struct mdt_thread_info *info) { struct dt_object *obj = info->mti_u.update.mti_dt_object; int rc; ENTRY; rc = out_tx_ref_add(info, obj, &info->mti_handle, info->mti_u.update.mti_update_reply, info->mti_u.update.mti_update_reply_index); RETURN(rc); }
/** * increase ref of the object **/ static int out_ref_add(struct tgt_session_info *tsi) { struct tgt_thread_info *tti = tgt_th_info(tsi->tsi_env); struct dt_object *obj = tti->tti_u.update.tti_dt_object; int rc; ENTRY; rc = out_tx_ref_add(tsi->tsi_env, obj, &tti->tti_tea, tti->tti_u.update.tti_update_reply, tti->tti_u.update.tti_update_reply_index); RETURN(rc); }