summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLiod_server.c')
-rw-r--r--src/H5VLiod_server.c790
1 files changed, 395 insertions, 395 deletions
diff --git a/src/H5VLiod_server.c b/src/H5VLiod_server.c
index 7215223..2360101 100644
--- a/src/H5VLiod_server.c
+++ b/src/H5VLiod_server.c
@@ -389,7 +389,7 @@ H5VL__iod_server_finish_axe_tasks(AXE_engine_t axe_engine, AXE_task_t start_rang
for(u=start_range ; u<count+start_range ; u++) {
if(AXE_SUCCEED != AXEfinish(axe_engine, u))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE task")
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE task")
}
done:
@@ -419,11 +419,11 @@ H5VL_iod_server_eff_init(hg_handle_t handle)
/* get the input from the client connecting */
if(HG_FAIL == HG_Handler_get_input(handle, &num_procs))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
/* initialize the IOD library */
if(iod_initialize(iod_comm, NULL, num_procs, num_procs) < 0)
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, HG_FAIL, "can't initialize");
+ HGOTO_ERROR_FF(FAIL, "can't initialize");
/* set the root ID */
IOD_OBJID_SETOWNER_APP(ROOT_ID)
@@ -459,7 +459,7 @@ H5VL_iod_server_eff_finalize(hg_handle_t handle)
terminate_requests ++;
if(iod_finalize(NULL) < 0 )
- HGOTO_ERROR2(H5E_FILE, H5E_CANTDEC, HG_FAIL, "can't finalize IOD");
+ HGOTO_ERROR_FF(FAIL, "can't finalize IOD");
/* if all the peers that connected at the beginning have sent the
terminate request, then finalize IOD and indicate that it is
@@ -496,31 +496,31 @@ H5VL_iod_server_analysis_execute(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (analysis_execute_in_t *)H5MM_malloc(sizeof(analysis_execute_in_t))))
- HGOTO_ERROR2(H5E_FILE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
//if(AXE_SUCCEED != AXEgenerate_task_id(engine, &axe_id))
- //HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to generate ID for AXE task");
+ //HGOTO_ERROR_FF(FAIL, "Unable to generate ID for AXE task");
op_data->hg_handle = handle;
op_data->input = (void *)input;
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id, 0, NULL, 0, NULL,
H5VL_iod_server_analysis_execute_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -550,19 +550,19 @@ H5VL_iod_server_analysis_farm(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (analysis_farm_in_t *)H5MM_malloc(sizeof(analysis_farm_in_t))))
- HGOTO_ERROR2(H5E_FILE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(AXE_SUCCEED != AXEgenerate_task_id(engine, &axe_id))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to generate ID for AXE task");
+ HGOTO_ERROR_FF(FAIL, "Unable to generate ID for AXE task");
op_data->hg_handle = handle;
op_data->axe_id = axe_id;
@@ -570,7 +570,7 @@ H5VL_iod_server_analysis_farm(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, axe_id, 0, NULL, 0, NULL,
H5VL_iod_server_analysis_farm_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -600,26 +600,26 @@ H5VL_iod_server_analysis_transfer(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (AXE_task_t *)H5MM_malloc(sizeof(AXE_task_t))))
- HGOTO_ERROR2(H5E_FILE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
op_data->hg_handle = handle;
op_data->input = (void *)input;
if(AXE_SUCCEED != AXEgenerate_task_id(engine, &axe_id))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to generate ID for AXE task");
+ HGOTO_ERROR_FF(FAIL, "Unable to generate ID for AXE task");
if (AXE_SUCCEED != AXEcreate_task(engine, axe_id, 0, NULL, 0, NULL,
H5VL_iod_server_analysis_transfer_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -633,12 +633,12 @@ H5VL_iod_server_container_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(HG_FAIL == HG_Handler_get_input(handle, &file_name))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
/* open the container */
printf("Calling iod_container_open on %s\n", file_name);
if(iod_container_open(file_name, NULL, IOD_CONT_R, &coh, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, FAIL, "can't open file");
+ HGOTO_ERROR_FF(FAIL, "can't open file");
HG_Handler_start_output(handle, &coh);
@@ -657,11 +657,11 @@ H5VL_iod_server_container_close(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(HG_FAIL == HG_Handler_get_input(handle, &coh))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
/* open the container */
if(iod_container_close(coh, NULL, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, FAIL, "can't open file");
+ HGOTO_ERROR_FF(FAIL, "can't open file");
done:
HG_Handler_start_output(handle, &ret_value);
@@ -692,11 +692,11 @@ H5VL_iod_server_cancel_op(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(HG_FAIL == HG_Handler_get_input(handle, &axe_id))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
/* Try to remove the task. */
if(AXEremove(engine, axe_id, &remove_status) != AXE_SUCCEED)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTREMOVE, HG_FAIL, "can't remove AXE task; it has children");
+ HGOTO_ERROR_FF(FAIL, "can't remove AXE task; it has children");
if(remove_status == AXE_CANCELED)
HGOTO_DONE(H5VL_IOD_CANCELLED)
@@ -707,7 +707,7 @@ H5VL_iod_server_cancel_op(hg_handle_t handle)
fprintf(stderr, "Task is running. Attempting to cancel Manually\n");
if(AXEget_op_data(engine, axe_id, &op_data) != AXE_SUCCEED)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get op data");
+ HGOTO_ERROR_FF(FAIL, "can't get op data");
/* Attempt to cancel the task manually */
}
@@ -739,28 +739,28 @@ H5VL_iod_server_file_create(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (file_create_in_t *)H5MM_malloc(sizeof(file_create_in_t))))
- HGOTO_ERROR2(H5E_FILE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id, 0, NULL, 0, NULL,
H5VL_iod_server_file_create_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -789,28 +789,28 @@ H5VL_iod_server_file_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (file_open_in_t *) H5MM_malloc(sizeof(file_open_in_t))))
- HGOTO_ERROR2(H5E_FILE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id, 0, NULL, 0, NULL,
H5VL_iod_server_file_open_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -839,29 +839,29 @@ H5VL_iod_server_file_close(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (file_close_in_t *)
H5MM_malloc(sizeof(file_close_in_t))))
- HGOTO_ERROR2(H5E_FILE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
if (AXE_SUCCEED != AXEcreate_barrier_task(engine, input->axe_info.axe_id,
H5VL_iod_server_file_close_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_FILE, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -890,22 +890,22 @@ H5VL_iod_server_attr_create(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_create_in_t *)
H5MM_malloc(sizeof(attr_create_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -913,7 +913,7 @@ H5VL_iod_server_attr_create(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_create_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -942,22 +942,22 @@ H5VL_iod_server_attr_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_open_in_t *)
H5MM_malloc(sizeof(attr_open_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -965,7 +965,7 @@ H5VL_iod_server_attr_open(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_open_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -994,22 +994,22 @@ H5VL_iod_server_attr_read(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_io_in_t *)
H5MM_malloc(sizeof(attr_io_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1017,7 +1017,7 @@ H5VL_iod_server_attr_read(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_read_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1046,22 +1046,22 @@ H5VL_iod_server_attr_write(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_io_in_t *)
H5MM_malloc(sizeof(attr_io_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1069,7 +1069,7 @@ H5VL_iod_server_attr_write(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_write_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1098,22 +1098,22 @@ H5VL_iod_server_attr_exists(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_op_in_t *)
H5MM_malloc(sizeof(attr_op_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1121,7 +1121,7 @@ H5VL_iod_server_attr_exists(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_exists_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1150,22 +1150,22 @@ H5VL_iod_server_attr_rename(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_rename_in_t *)
H5MM_malloc(sizeof(attr_rename_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1173,7 +1173,7 @@ H5VL_iod_server_attr_rename(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_rename_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1202,22 +1202,22 @@ H5VL_iod_server_attr_remove(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_op_in_t *)
H5MM_malloc(sizeof(attr_op_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1225,7 +1225,7 @@ H5VL_iod_server_attr_remove(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_remove_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1254,22 +1254,22 @@ H5VL_iod_server_attr_close(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (attr_close_in_t *)
H5MM_malloc(sizeof(attr_close_in_t))))
- HGOTO_ERROR2(H5E_ATTR, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_ATTR, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1277,7 +1277,7 @@ H5VL_iod_server_attr_close(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_attr_close_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1306,21 +1306,21 @@ H5VL_iod_server_group_create(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (group_create_in_t *)H5MM_malloc(sizeof(group_create_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1328,7 +1328,7 @@ H5VL_iod_server_group_create(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_group_create_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1357,21 +1357,21 @@ H5VL_iod_server_group_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (group_open_in_t *)H5MM_malloc(sizeof(group_open_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1379,7 +1379,7 @@ H5VL_iod_server_group_open(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_group_open_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1408,21 +1408,21 @@ H5VL_iod_server_group_close(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (group_close_in_t *)H5MM_malloc(sizeof(group_close_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1430,7 +1430,7 @@ H5VL_iod_server_group_close(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_group_close_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
} /* end H5VL_iod_server_group_close() */
@@ -1458,22 +1458,22 @@ H5VL_iod_server_dset_create(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_create_in_t *)
H5MM_malloc(sizeof(dset_create_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1481,7 +1481,7 @@ H5VL_iod_server_dset_create(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_create_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1510,22 +1510,22 @@ H5VL_iod_server_dset_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_open_in_t *)
H5MM_malloc(sizeof(dset_open_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1533,7 +1533,7 @@ H5VL_iod_server_dset_open(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_open_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1562,22 +1562,22 @@ H5VL_iod_server_dset_read(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_io_in_t *)
H5MM_malloc(sizeof(dset_io_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1585,7 +1585,7 @@ H5VL_iod_server_dset_read(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_read_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1614,22 +1614,22 @@ H5VL_iod_server_dset_get_vl_size(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_io_in_t *)
H5MM_malloc(sizeof(dset_io_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1637,7 +1637,7 @@ H5VL_iod_server_dset_get_vl_size(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_get_vl_size_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1666,22 +1666,22 @@ H5VL_iod_server_dset_write(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_io_in_t *)
H5MM_malloc(sizeof(dset_io_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1689,7 +1689,7 @@ H5VL_iod_server_dset_write(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_write_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1718,22 +1718,22 @@ H5VL_iod_server_dset_set_extent(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_set_extent_in_t *)
H5MM_malloc(sizeof(dset_set_extent_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1741,7 +1741,7 @@ H5VL_iod_server_dset_set_extent(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_set_extent_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1770,22 +1770,22 @@ H5VL_iod_server_dset_close(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_close_in_t *)
H5MM_malloc(sizeof(dset_close_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1793,7 +1793,7 @@ H5VL_iod_server_dset_close(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_close_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1823,22 +1823,22 @@ H5VL_iod_server_dset_set_index_info(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_set_index_info_in_t *)
H5MM_malloc(sizeof(dset_set_index_info_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1846,7 +1846,7 @@ H5VL_iod_server_dset_set_index_info(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_set_index_info_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1875,22 +1875,22 @@ H5VL_iod_server_dset_get_index_info(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_get_index_info_in_t *)
H5MM_malloc(sizeof(dset_get_index_info_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1898,7 +1898,7 @@ H5VL_iod_server_dset_get_index_info(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_get_index_info_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1927,22 +1927,22 @@ H5VL_iod_server_dset_remove_index_info(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dset_rm_index_info_in_t *)
H5MM_malloc(sizeof(dset_rm_index_info_in_t))))
- HGOTO_ERROR2(H5E_DATASET, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATASET, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -1950,7 +1950,7 @@ H5VL_iod_server_dset_remove_index_info(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dset_remove_index_info_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -1980,22 +1980,22 @@ H5VL_iod_server_dtype_commit(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dtype_commit_in_t *)
H5MM_malloc(sizeof(dtype_commit_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2003,7 +2003,7 @@ H5VL_iod_server_dtype_commit(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dtype_commit_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2032,22 +2032,22 @@ H5VL_iod_server_dtype_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dtype_open_in_t *)
H5MM_malloc(sizeof(dtype_open_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2055,7 +2055,7 @@ H5VL_iod_server_dtype_open(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dtype_open_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2084,22 +2084,22 @@ H5VL_iod_server_dtype_close(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (dtype_close_in_t *)
H5MM_malloc(sizeof(dtype_close_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2107,7 +2107,7 @@ H5VL_iod_server_dtype_close(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_dtype_close_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2136,22 +2136,22 @@ H5VL_iod_server_link_create(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (link_create_in_t *)
H5MM_malloc(sizeof(link_create_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2159,7 +2159,7 @@ H5VL_iod_server_link_create(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_link_create_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2188,22 +2188,22 @@ H5VL_iod_server_link_move(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (link_move_in_t *)
H5MM_malloc(sizeof(link_move_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2211,7 +2211,7 @@ H5VL_iod_server_link_move(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_link_move_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2240,22 +2240,22 @@ H5VL_iod_server_link_iterate(hg_handle_t UNUSED handle)
#if 0
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (link_iterate_in_t *)
H5MM_malloc(sizeof(link_iterate_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2288,22 +2288,22 @@ H5VL_iod_server_link_exists(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (link_op_in_t *)
H5MM_malloc(sizeof(link_op_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2311,7 +2311,7 @@ H5VL_iod_server_link_exists(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_link_exists_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2340,22 +2340,22 @@ H5VL_iod_server_link_get_info(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (link_op_in_t *)
H5MM_malloc(sizeof(link_op_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2363,7 +2363,7 @@ H5VL_iod_server_link_get_info(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_link_get_info_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2392,22 +2392,22 @@ H5VL_iod_server_link_get_val(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (link_get_val_in_t *)
H5MM_malloc(sizeof(link_get_val_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2415,7 +2415,7 @@ H5VL_iod_server_link_get_val(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_link_get_val_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2444,22 +2444,22 @@ H5VL_iod_server_link_remove(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (link_op_in_t *)
H5MM_malloc(sizeof(link_op_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2467,7 +2467,7 @@ H5VL_iod_server_link_remove(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_link_remove_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2496,22 +2496,22 @@ H5VL_iod_server_object_open_by_token(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (object_token_in_t *)
H5MM_malloc(sizeof(object_token_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2519,7 +2519,7 @@ H5VL_iod_server_object_open_by_token(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_object_open_by_token_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2548,22 +2548,22 @@ H5VL_iod_server_object_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (object_op_in_t *)
H5MM_malloc(sizeof(object_op_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2571,7 +2571,7 @@ H5VL_iod_server_object_open(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_object_open_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2600,22 +2600,22 @@ H5VL_iod_server_object_copy(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (object_copy_in_t *)
H5MM_malloc(sizeof(object_copy_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2623,7 +2623,7 @@ H5VL_iod_server_object_copy(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_object_copy_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2677,22 +2677,22 @@ H5VL_iod_server_object_exists(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (object_op_in_t *)
H5MM_malloc(sizeof(object_op_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2700,7 +2700,7 @@ H5VL_iod_server_object_exists(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_object_exists_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2729,22 +2729,22 @@ H5VL_iod_server_object_set_comment(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (object_set_comment_in_t *)
H5MM_malloc(sizeof(object_set_comment_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2752,7 +2752,7 @@ H5VL_iod_server_object_set_comment(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_object_set_comment_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2781,22 +2781,22 @@ H5VL_iod_server_object_get_comment(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (object_get_comment_in_t *)
H5MM_malloc(sizeof(object_get_comment_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2804,7 +2804,7 @@ H5VL_iod_server_object_get_comment(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_object_get_comment_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2833,22 +2833,22 @@ H5VL_iod_server_object_get_info(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (object_op_in_t *)
H5MM_malloc(sizeof(object_op_in_t))))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_NOSPACE, HG_FAIL, "can't allocate input struct for decoding");
+ HGOTO_ERROR_FF(FAIL, "can't allocate input struct for decoding");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_DATATYPE, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2856,7 +2856,7 @@ H5VL_iod_server_object_get_info(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_object_get_info_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2885,21 +2885,21 @@ H5VL_iod_server_map_create(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_create_in_t *)H5MM_malloc(sizeof(map_create_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2907,7 +2907,7 @@ H5VL_iod_server_map_create(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_create_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2936,21 +2936,21 @@ H5VL_iod_server_map_open(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_open_in_t *)H5MM_malloc(sizeof(map_open_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -2958,7 +2958,7 @@ H5VL_iod_server_map_open(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_open_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -2987,21 +2987,21 @@ H5VL_iod_server_map_set(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_set_in_t *)H5MM_malloc(sizeof(map_set_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3009,7 +3009,7 @@ H5VL_iod_server_map_set(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_set_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3038,21 +3038,21 @@ H5VL_iod_server_map_get(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_get_in_t *)H5MM_malloc(sizeof(map_get_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3060,7 +3060,7 @@ H5VL_iod_server_map_get(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_get_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3089,21 +3089,21 @@ H5VL_iod_server_map_get_count(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_get_count_in_t *)H5MM_malloc(sizeof(map_get_count_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3111,7 +3111,7 @@ H5VL_iod_server_map_get_count(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_get_count_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3140,21 +3140,21 @@ H5VL_iod_server_map_exists(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_op_in_t *)H5MM_malloc(sizeof(map_op_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3162,7 +3162,7 @@ H5VL_iod_server_map_exists(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_exists_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3191,21 +3191,21 @@ H5VL_iod_server_map_delete(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_op_in_t *)H5MM_malloc(sizeof(map_op_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3213,7 +3213,7 @@ H5VL_iod_server_map_delete(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_delete_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3242,21 +3242,21 @@ H5VL_iod_server_map_close(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (map_close_in_t *)H5MM_malloc(sizeof(map_close_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3264,7 +3264,7 @@ H5VL_iod_server_map_close(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_map_close_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3293,21 +3293,21 @@ H5VL_iod_server_rcxt_acquire(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (rc_acquire_in_t *)H5MM_malloc(sizeof(rc_acquire_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3315,7 +3315,7 @@ H5VL_iod_server_rcxt_acquire(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_rcxt_acquire_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3344,21 +3344,21 @@ H5VL_iod_server_rcxt_release(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (rc_release_in_t *)H5MM_malloc(sizeof(rc_release_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3366,7 +3366,7 @@ H5VL_iod_server_rcxt_release(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_rcxt_release_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3395,21 +3395,21 @@ H5VL_iod_server_rcxt_persist(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (rc_persist_in_t *)H5MM_malloc(sizeof(rc_persist_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3417,7 +3417,7 @@ H5VL_iod_server_rcxt_persist(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_rcxt_persist_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3446,21 +3446,21 @@ H5VL_iod_server_rcxt_snapshot(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (rc_snapshot_in_t *)H5MM_malloc(sizeof(rc_snapshot_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3468,7 +3468,7 @@ H5VL_iod_server_rcxt_snapshot(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_rcxt_snapshot_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3497,21 +3497,21 @@ H5VL_iod_server_trans_start(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (tr_start_in_t *)H5MM_malloc(sizeof(tr_start_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3519,7 +3519,7 @@ H5VL_iod_server_trans_start(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_trans_start_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3548,21 +3548,21 @@ H5VL_iod_server_trans_finish(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (tr_finish_in_t *)H5MM_malloc(sizeof(tr_finish_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3570,7 +3570,7 @@ H5VL_iod_server_trans_finish(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_trans_finish_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3599,21 +3599,21 @@ H5VL_iod_server_trans_set_dependency(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (tr_set_depend_in_t *)H5MM_malloc(sizeof(tr_set_depend_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3621,7 +3621,7 @@ H5VL_iod_server_trans_set_dependency(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_trans_set_dependency_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3650,21 +3650,21 @@ H5VL_iod_server_trans_skip(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (tr_skip_in_t *)H5MM_malloc(sizeof(tr_skip_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3672,7 +3672,7 @@ H5VL_iod_server_trans_skip(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_trans_skip_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3701,21 +3701,21 @@ H5VL_iod_server_trans_abort(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (tr_abort_in_t *)H5MM_malloc(sizeof(tr_abort_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3723,7 +3723,7 @@ H5VL_iod_server_trans_abort(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_trans_abort_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3752,21 +3752,21 @@ H5VL_iod_server_prefetch(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (prefetch_in_t *)H5MM_malloc(sizeof(prefetch_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3774,7 +3774,7 @@ H5VL_iod_server_prefetch(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_prefetch_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3803,21 +3803,21 @@ H5VL_iod_server_evict(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (evict_in_t *)H5MM_malloc(sizeof(evict_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3825,7 +3825,7 @@ H5VL_iod_server_evict(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_evict_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;
@@ -3854,21 +3854,21 @@ H5VL_iod_server_view_create(hg_handle_t handle)
int ret_value = HG_SUCCESS;
if(NULL == (op_data = (op_data_t *)H5MM_malloc(sizeof(op_data_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(NULL == (input = (view_create_in_t *)H5MM_malloc(sizeof(view_create_in_t))))
- HGOTO_ERROR2(H5E_SYM, H5E_NOSPACE, HG_FAIL, "can't allocate axe op_data struct");
+ HGOTO_ERROR_FF(FAIL, "can't allocate axe op_data struct");
if(HG_FAIL == HG_Handler_get_input(handle, input))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTGET, HG_FAIL, "can't get input parameters");
+ HGOTO_ERROR_FF(FAIL, "can't get input parameters");
if(NULL == engine)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "AXE engine not started");
+ HGOTO_ERROR_FF(FAIL, "AXE engine not started");
if(input->axe_info.count &&
H5VL__iod_server_finish_axe_tasks(engine, input->axe_info.start_range,
input->axe_info.count) < 0)
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "Unable to cleanup AXE tasks");
+ HGOTO_ERROR_FF(FAIL, "Unable to cleanup AXE tasks");
op_data->hg_handle = handle;
op_data->input = (void *)input;
@@ -3876,7 +3876,7 @@ H5VL_iod_server_view_create(hg_handle_t handle)
if (AXE_SUCCEED != AXEcreate_task(engine, input->axe_info.axe_id,
input->axe_info.num_parents, input->axe_info.parent_axe_ids,
0, NULL, H5VL_iod_server_view_create_cb, op_data, NULL))
- HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, HG_FAIL, "can't insert task into async engine");
+ HGOTO_ERROR_FF(FAIL, "can't insert task into async engine");
done:
return ret_value;