mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
Removes the STATIC flavor of FUNC_ENTER macros (#1622)
* Removes the STATIC flavor of FUNC_ENTER macros
This commit is contained in:
parent
95909be9c3
commit
d433f0f7a6
30
src/H5A.c
30
src/H5A.c
@ -117,7 +117,7 @@ H5A__create_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const
|
||||
void *attr = NULL; /* Attribute created */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(vol_obj);
|
||||
@ -162,7 +162,7 @@ H5A__create_api_common(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
@ -308,7 +308,7 @@ H5A__create_by_name_api_common(hid_t loc_id, const char *obj_name, const char *a
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
@ -453,7 +453,7 @@ H5A__open_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const ch
|
||||
void *attr = NULL; /* attr object from VOL connector */
|
||||
hid_t ret_value = H5I_INVALID_HID;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(vol_obj);
|
||||
@ -497,7 +497,7 @@ H5A__open_api_common(hid_t loc_id, const char *attr_name, hid_t aapl_id, void **
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
@ -619,7 +619,7 @@ H5A__open_by_name_api_common(hid_t loc_id, const char *obj_name, const char *att
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
@ -751,7 +751,7 @@ H5A__open_by_idx_api_common(hid_t loc_id, const char *obj_name, H5_index_t idx_t
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
@ -887,7 +887,7 @@ H5A__write_api_common(hid_t attr_id, hid_t type_id, const void *buf, void **toke
|
||||
(_vol_obj_ptr ? _vol_obj_ptr : &tmp_vol_obj); /* Ptr to object ptr for loc_id */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_DATATYPE != H5I_get_type(type_id))
|
||||
@ -995,7 +995,7 @@ H5A__read_api_common(hid_t attr_id, hid_t dtype_id, void *buf, void **token_ptr,
|
||||
(_vol_obj_ptr ? _vol_obj_ptr : &tmp_vol_obj); /* Ptr to object ptr for loc_id */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_DATATYPE != H5I_get_type(dtype_id))
|
||||
@ -1587,7 +1587,7 @@ H5A__rename_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(vol_obj);
|
||||
@ -1632,7 +1632,7 @@ H5A__rename_api_common(hid_t loc_id, const char *old_name, const char *new_name,
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
@ -1745,7 +1745,7 @@ H5A__rename_by_name_api_common(hid_t loc_id, const char *obj_name, const char *o
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
@ -2330,7 +2330,7 @@ H5A__exists_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const
|
||||
H5VL_attr_specific_args_t vol_cb_args; /* Arguments to VOL callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(vol_obj);
|
||||
@ -2371,7 +2371,7 @@ H5A__exists_api_common(hid_t obj_id, const char *attr_name, hbool_t *attr_exists
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(obj_id))
|
||||
@ -2487,7 +2487,7 @@ H5A__exists_by_name_api_common(hid_t loc_id, const char *obj_name, const char *a
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (H5I_ATTR == H5I_get_type(loc_id))
|
||||
|
@ -2178,7 +2178,7 @@ H5AC__check_if_write_permitted(const H5F_t
|
||||
#endif /* H5_HAVE_PARALLEL */
|
||||
hbool_t write_permitted = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
/* Sanity checks */
|
||||
@ -2225,7 +2225,7 @@ H5AC__ext_config_2_int_config(const H5AC_cache_config_t *ext_conf_ptr, H5C_auto_
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if ((ext_conf_ptr == NULL) || (ext_conf_ptr->version != H5AC__CURR_CACHE_CONFIG_VERSION) ||
|
||||
(int_conf_ptr == NULL))
|
||||
@ -2562,7 +2562,7 @@ H5AC__verify_tag(const H5AC_class_t *type)
|
||||
haddr_t tag; /* Entry tag to validate */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the current tag */
|
||||
tag = H5CX_get_tag();
|
||||
|
@ -273,7 +273,7 @@ H5AC__broadcast_candidate_list(H5AC_t *cache_ptr, unsigned *num_entries_ptr, had
|
||||
unsigned num_entries;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr != NULL);
|
||||
@ -353,7 +353,7 @@ H5AC__broadcast_clean_list_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_uda
|
||||
H5AC_addr_list_ud_t *udata = (H5AC_addr_list_ud_t *)_udata; /* Context for callback */
|
||||
haddr_t addr;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(slist_entry_ptr);
|
||||
@ -406,7 +406,7 @@ H5AC__broadcast_clean_list(H5AC_t *cache_ptr)
|
||||
unsigned num_entries = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr != NULL);
|
||||
@ -493,7 +493,7 @@ H5AC__construct_candidate_list(H5AC_t *cache_ptr, H5AC_aux_t H5_ATTR_NDEBUG_UNUS
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr != NULL);
|
||||
@ -549,7 +549,7 @@ H5AC__copy_candidate_list_to_buffer_cb(void *_item, void H5_ATTR_UNUSED *_key, v
|
||||
H5AC_slist_entry_t * slist_entry_ptr = (H5AC_slist_entry_t *)_item; /* Address of item */
|
||||
H5AC_addr_list_ud_t *udata = (H5AC_addr_list_ud_t *)_udata; /* Context for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(slist_entry_ptr);
|
||||
@ -607,7 +607,7 @@ H5AC__copy_candidate_list_to_buffer(const H5AC_t *cache_ptr, unsigned *num_entri
|
||||
unsigned num_entries = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr != NULL);
|
||||
@ -1221,7 +1221,7 @@ H5AC__propagate_and_apply_candidate_list(H5F_t *f)
|
||||
unsigned num_candidates = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f != NULL);
|
||||
@ -1384,7 +1384,7 @@ H5AC__propagate_flushed_and_still_clean_entries_list(H5F_t *f)
|
||||
H5AC_aux_t *aux_ptr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f != NULL);
|
||||
@ -1435,7 +1435,7 @@ H5AC__receive_haddr_list(MPI_Comm mpi_comm, unsigned *num_entries_ptr, haddr_t *
|
||||
unsigned num_entries;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(num_entries_ptr != NULL);
|
||||
@ -1507,7 +1507,7 @@ H5AC__receive_and_apply_clean_list(H5F_t *f)
|
||||
unsigned num_entries = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f != NULL);
|
||||
@ -1567,7 +1567,7 @@ H5AC__receive_candidate_list(const H5AC_t *cache_ptr, unsigned *num_entries_ptr,
|
||||
H5AC_aux_t *aux_ptr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr != NULL);
|
||||
@ -1648,7 +1648,7 @@ H5AC__rsp__dist_md_write__flush(H5F_t *f)
|
||||
unsigned num_entries = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f != NULL);
|
||||
@ -1792,7 +1792,7 @@ H5AC__rsp__dist_md_write__flush_to_min_clean(H5F_t *f)
|
||||
hbool_t evictions_enabled;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f != NULL);
|
||||
@ -1873,7 +1873,7 @@ H5AC__rsp__p0_only__flush(H5F_t *f)
|
||||
int mpi_result;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f != NULL);
|
||||
@ -1987,7 +1987,7 @@ H5AC__rsp__p0_only__flush_to_min_clean(H5F_t *f)
|
||||
hbool_t evictions_enabled;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f != NULL);
|
||||
@ -2236,7 +2236,7 @@ H5AC__tidy_cache_0_lists(H5AC_t *cache_ptr, unsigned num_candidates, haddr_t *ca
|
||||
H5AC_aux_t *aux_ptr;
|
||||
unsigned u;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr != NULL);
|
||||
|
@ -249,7 +249,7 @@ H5AC__proxy_entry_add_child_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_ud
|
||||
H5AC_proxy_entry_t *pentry = (H5AC_proxy_entry_t *)_udata; /* Pointer to the proxy entry */
|
||||
int ret_value = H5_ITER_CONT; /* Callback return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Add flush dependency on parent for proxy entry */
|
||||
if (H5AC_create_flush_dependency(parent, pentry) < 0)
|
||||
@ -342,7 +342,7 @@ H5AC__proxy_entry_remove_child_cb(void *_item, void H5_ATTR_UNUSED *_key, void *
|
||||
H5AC_proxy_entry_t *pentry = (H5AC_proxy_entry_t *)_udata; /* Pointer to the proxy entry */
|
||||
int ret_value = H5_ITER_CONT; /* Callback return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Remove flush dependency on parent for proxy entry */
|
||||
if (H5AC_destroy_flush_dependency(parent, pentry) < 0)
|
||||
@ -451,7 +451,7 @@ H5AC_proxy_entry_dest(H5AC_proxy_entry_t *pentry)
|
||||
static herr_t
|
||||
H5AC__proxy_entry_image_len(const void H5_ATTR_UNUSED *thing, size_t *image_len)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image_len);
|
||||
@ -480,7 +480,7 @@ static herr_t
|
||||
H5AC__proxy_entry_serialize(const H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED *image,
|
||||
size_t H5_ATTR_UNUSED len, void H5_ATTR_UNUSED *thing)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
/* Should never be invoked */
|
||||
HDassert(0 && "Invalid callback?!?");
|
||||
@ -508,7 +508,7 @@ H5AC__proxy_entry_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5AC_proxy_entry_t *pentry = (H5AC_proxy_entry_t *)_thing;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(pentry);
|
||||
@ -632,7 +632,7 @@ H5AC__proxy_entry_free_icr(void *_thing)
|
||||
H5AC_proxy_entry_t *pentry = (H5AC_proxy_entry_t *)_thing;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Destroy the proxy entry */
|
||||
if (H5AC_proxy_entry_dest(pentry) < 0)
|
||||
|
@ -152,7 +152,7 @@ H5A__dense_fh_name_cmp(const void *obj, size_t obj_len, void *_udata)
|
||||
hbool_t took_ownership = FALSE; /* Whether the "found" operator took ownership of the attribute */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode attribute information */
|
||||
if (NULL ==
|
||||
@ -203,7 +203,7 @@ H5A__dense_btree2_name_store(void *_nrecord, const void *_udata)
|
||||
const H5A_bt2_ud_ins_t * udata = (const H5A_bt2_ud_ins_t *)_udata;
|
||||
H5A_dense_bt2_name_rec_t *nrecord = (H5A_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Copy user information info native record */
|
||||
nrecord->id = udata->id;
|
||||
@ -235,7 +235,7 @@ H5A__dense_btree2_name_compare(const void *_bt2_udata, const void *_bt2_rec, int
|
||||
const H5A_dense_bt2_name_rec_t *bt2_rec = (const H5A_dense_bt2_name_rec_t *)_bt2_rec;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(bt2_udata);
|
||||
@ -301,7 +301,7 @@ H5A__dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_U
|
||||
{
|
||||
const H5A_dense_bt2_name_rec_t *nrecord = (const H5A_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Encode the record's fields */
|
||||
H5MM_memcpy(raw, nrecord->id.id, (size_t)H5O_FHEAP_ID_LEN);
|
||||
@ -331,7 +331,7 @@ H5A__dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_U
|
||||
{
|
||||
H5A_dense_bt2_name_rec_t *nrecord = (H5A_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Decode the record's fields */
|
||||
H5MM_memcpy(nrecord->id.id, raw, (size_t)H5O_FHEAP_ID_LEN);
|
||||
@ -362,7 +362,7 @@ H5A__dense_btree2_name_debug(FILE *stream, int indent, int fwidth, const void *_
|
||||
{
|
||||
const H5A_dense_bt2_name_rec_t *nrecord = (const H5A_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%016" PRIx64 ", %02" PRIx8 ", %u, %08" PRIx32 "}\n", indent, "", fwidth,
|
||||
"Record:", nrecord->id.val, nrecord->flags, (unsigned)nrecord->corder, nrecord->hash);
|
||||
@ -389,7 +389,7 @@ H5A__dense_btree2_corder_store(void *_nrecord, const void *_udata)
|
||||
const H5A_bt2_ud_ins_t * udata = (const H5A_bt2_ud_ins_t *)_udata;
|
||||
H5A_dense_bt2_corder_rec_t *nrecord = (H5A_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Copy user information info native record */
|
||||
nrecord->id = udata->id;
|
||||
@ -419,7 +419,7 @@ H5A__dense_btree2_corder_compare(const void *_bt2_udata, const void *_bt2_rec, i
|
||||
const H5A_bt2_ud_common_t * bt2_udata = (const H5A_bt2_ud_common_t *)_bt2_udata;
|
||||
const H5A_dense_bt2_corder_rec_t *bt2_rec = (const H5A_dense_bt2_corder_rec_t *)_bt2_rec;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(bt2_udata);
|
||||
@ -454,7 +454,7 @@ H5A__dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR
|
||||
{
|
||||
const H5A_dense_bt2_corder_rec_t *nrecord = (const H5A_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Encode the record's fields */
|
||||
H5MM_memcpy(raw, nrecord->id.id, (size_t)H5O_FHEAP_ID_LEN);
|
||||
@ -483,7 +483,7 @@ H5A__dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR
|
||||
{
|
||||
H5A_dense_bt2_corder_rec_t *nrecord = (H5A_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Decode the record's fields */
|
||||
H5MM_memcpy(nrecord->id.id, raw, (size_t)H5O_FHEAP_ID_LEN);
|
||||
@ -513,7 +513,7 @@ H5A__dense_btree2_corder_debug(FILE *stream, int indent, int fwidth, const void
|
||||
{
|
||||
const H5A_dense_bt2_corder_rec_t *nrecord = (const H5A_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%016" PRIx64 ", %02" PRIx8 ", %u}\n", indent, "", fwidth,
|
||||
"Record:", nrecord->id.val, nrecord->flags, (unsigned)nrecord->corder);
|
||||
|
@ -277,7 +277,7 @@ H5A__dense_fnd_cb(const H5A_t *attr, hbool_t *took_ownership, void *_user_attr)
|
||||
const H5A_t **user_attr = (const H5A_t **)_user_attr; /* User data from v2 B-tree attribute lookup */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(attr);
|
||||
@ -580,7 +580,7 @@ H5A__dense_write_bt2_cb2(void *_record, void *_op_data, hbool_t *changed)
|
||||
H5A_dense_bt2_corder_rec_t *record = (H5A_dense_bt2_corder_rec_t *)_record; /* Record from B-tree */
|
||||
H5O_fheap_id_t *new_heap_id = (H5O_fheap_id_t *)_op_data; /* "op data" from v2 B-tree modify */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(record);
|
||||
@ -617,7 +617,7 @@ H5A__dense_write_bt2_cb(void *_record, void *_op_data, hbool_t *changed)
|
||||
uint8_t attr_buf[H5A_ATTR_BUF_SIZE]; /* Buffer for serializing attribute */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(record);
|
||||
@ -820,7 +820,7 @@ H5A__dense_copy_fh_cb(const void *obj, size_t obj_len, void *_udata)
|
||||
H5A_fh_ud_cp_t *udata = (H5A_fh_ud_cp_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode attribute information & keep a copy */
|
||||
/* (we make a copy instead of calling the user/library callback directly in
|
||||
@ -1046,7 +1046,7 @@ H5A__dense_iterate_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
H5A_bt2_ud_it_t *bt2_udata = (H5A_bt2_ud_it_t *)_bt2_udata; /* User data for callback */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for skipping attributes */
|
||||
if (bt2_udata->skip > 0)
|
||||
@ -1276,7 +1276,7 @@ H5A__dense_remove_bt2_cb(const void *_record, void *_udata)
|
||||
H5B2_t *bt2_corder = NULL; /* v2 B-tree handle for creation order index */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for removing the link from the creation order index */
|
||||
if (H5F_addr_defined(udata->corder_bt2_addr)) {
|
||||
@ -1428,7 +1428,7 @@ H5A__dense_remove_by_idx_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
hbool_t use_sh_loc; /* Whether to use the attribute's shared location or the separate one */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Set up the user data for fractal heap 'op' callback */
|
||||
fh_udata.f = bt2_udata->f;
|
||||
@ -1762,7 +1762,7 @@ H5A__dense_delete_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
H5A_t * attr = NULL; /* Attribute being removed */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for shared attribute */
|
||||
if (record->flags & H5O_MSG_FLAG_SHARED) {
|
||||
|
22
src/H5Aint.c
22
src/H5Aint.c
@ -474,7 +474,7 @@ H5A__open_common(const H5G_loc_t *loc, H5A_t *attr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check args */
|
||||
HDassert(loc);
|
||||
@ -1249,7 +1249,7 @@ H5A__close_cb(H5VL_object_t *attr_vol_obj, void **request)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(attr_vol_obj);
|
||||
@ -1478,7 +1478,7 @@ H5A__compact_build_table_cb(H5O_t H5_ATTR_UNUSED *oh, H5O_mesg_t *mesg /*in,out*
|
||||
H5A_compact_bt_ud_t *udata = (H5A_compact_bt_ud_t *)_udata; /* Operator user data */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check args */
|
||||
HDassert(mesg);
|
||||
@ -1594,7 +1594,7 @@ H5A__dense_build_table_cb(const H5A_t *attr, void *_udata)
|
||||
H5A_dense_bt_ud_t *udata = (H5A_dense_bt_ud_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(attr);
|
||||
@ -1720,7 +1720,7 @@ done:
|
||||
static int
|
||||
H5A__attr_cmp_name_inc(const void *attr1, const void *attr2)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(
|
||||
HDstrcmp((*(const H5A_t *const *)attr1)->shared->name, (*(const H5A_t *const *)attr2)->shared->name))
|
||||
@ -1746,7 +1746,7 @@ H5A__attr_cmp_name_inc(const void *attr1, const void *attr2)
|
||||
static int
|
||||
H5A__attr_cmp_name_dec(const void *attr1, const void *attr2)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(
|
||||
HDstrcmp((*(const H5A_t *const *)attr2)->shared->name, (*(const H5A_t *const *)attr1)->shared->name))
|
||||
@ -1773,7 +1773,7 @@ H5A__attr_cmp_corder_inc(const void *attr1, const void *attr2)
|
||||
{
|
||||
int ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if ((*(const H5A_t *const *)attr1)->shared->crt_idx < (*(const H5A_t *const *)attr2)->shared->crt_idx)
|
||||
ret_value = -1;
|
||||
@ -1807,7 +1807,7 @@ H5A__attr_cmp_corder_dec(const void *attr1, const void *attr2)
|
||||
{
|
||||
int ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if ((*(const H5A_t *const *)attr1)->shared->crt_idx < (*(const H5A_t *const *)attr2)->shared->crt_idx)
|
||||
ret_value = 1;
|
||||
@ -1835,7 +1835,7 @@ H5A__attr_cmp_corder_dec(const void *attr1, const void *attr2)
|
||||
static herr_t
|
||||
H5A__attr_sort_table(H5A_attr_table_t *atable, H5_index_t idx_type, H5_iter_order_t order)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(atable);
|
||||
@ -2503,7 +2503,7 @@ H5A__dense_post_copy_file_cb(const H5A_t *attr_src, void *_udata)
|
||||
H5A_t * attr_dst = NULL;
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(attr_src);
|
||||
@ -2653,7 +2653,7 @@ H5A__iterate_common(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hs
|
||||
hsize_t last_attr; /* Index of last attribute examined */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Call attribute iteration routine */
|
||||
last_attr = start_idx = (idx ? *idx : 0);
|
||||
|
14
src/H5B.c
14
src/H5B.c
@ -388,7 +388,7 @@ H5B__split(H5F_t *f, H5B_ins_ud_t *bt_ud, unsigned idx, void *udata, H5B_ins_ud_
|
||||
double split_ratios[3]; /* B-tree split ratios */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -693,7 +693,7 @@ H5B__insert_child(H5B_t *bt, unsigned *bt_flags, unsigned idx, haddr_t child, H5
|
||||
H5B_shared_t *shared; /* Pointer to shared B-tree info */
|
||||
uint8_t * base; /* Base offset for move */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(bt);
|
||||
HDassert(bt_flags);
|
||||
@ -787,7 +787,7 @@ H5B__insert_helper(H5F_t *f, H5B_ins_ud_t *bt_ud, const H5B_class_t *type, uint8
|
||||
H5B_ins_t my_ins = H5B_INS_ERROR;
|
||||
H5B_ins_t ret_value = H5B_INS_ERROR; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments
|
||||
@ -1120,7 +1120,7 @@ H5B__iterate_helper(H5F_t *f, const H5B_class_t *type, haddr_t addr, H5B_operato
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -1235,7 +1235,7 @@ H5B__remove_helper(H5F_t *f, haddr_t addr, const H5B_class_t *type, int level, u
|
||||
int cmp = 1; /* Key comparison value */
|
||||
H5B_ins_t ret_value = H5B_INS_ERROR;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(f);
|
||||
HDassert(H5F_addr_defined(addr));
|
||||
@ -1778,7 +1778,7 @@ H5B__copy(const H5B_t *old_bt)
|
||||
H5B_shared_t *shared; /* Pointer to shared B-tree info */
|
||||
H5B_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -1848,7 +1848,7 @@ H5B__get_info_helper(H5F_t *f, const H5B_class_t *type, haddr_t addr, const H5B_
|
||||
haddr_t left_child; /* Address of left-most child in node */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
|
@ -165,7 +165,7 @@ H5B2__cache_hdr_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5B2_hdr_cache_ud_t *udata = (H5B2_hdr_cache_ud_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -199,7 +199,7 @@ H5B2__cache_hdr_verify_chksum(const void *_image, size_t len, void H5_ATTR_UNUSE
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -239,7 +239,7 @@ H5B2__cache_hdr_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void
|
||||
const uint8_t * image = (const uint8_t *)_image; /* Pointer into raw data buffer */
|
||||
H5B2_hdr_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -328,7 +328,7 @@ H5B2__cache_hdr_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5B2_hdr_t *hdr = (const H5B2_hdr_t *)_thing; /* Pointer to the B-tree header */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(hdr);
|
||||
@ -359,7 +359,7 @@ H5B2__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
|
||||
uint8_t * image = (uint8_t *)_image; /* Pointer into raw data buffer */
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -427,7 +427,7 @@ H5B2__cache_hdr_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5B2_hdr_t *hdr = (H5B2_hdr_t *)_thing;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -516,7 +516,7 @@ H5B2__cache_hdr_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
@ -546,7 +546,7 @@ H5B2__cache_int_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5B2_internal_cache_ud_t *udata = (H5B2_internal_cache_ud_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -582,7 +582,7 @@ H5B2__cache_int_verify_chksum(const void *_image, size_t H5_ATTR_UNUSED len, voi
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -628,7 +628,7 @@ H5B2__cache_int_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void
|
||||
H5B2_internal_t * ret_value = NULL; /* Return value */
|
||||
int node_nrec = 0;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -742,7 +742,7 @@ H5B2__cache_int_image_len(const void *_thing, size_t *image_len)
|
||||
const H5B2_internal_t *internal =
|
||||
(const H5B2_internal_t *)_thing; /* Pointer to the B-tree internal node */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(internal);
|
||||
@ -778,7 +778,7 @@ H5B2__cache_int_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -858,7 +858,7 @@ H5B2__cache_int_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5B2_internal_t *internal = (H5B2_internal_t *)_thing;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -935,7 +935,7 @@ H5B2__cache_int_free_icr(void *_thing)
|
||||
H5B2_internal_t *internal = (H5B2_internal_t *)_thing;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(internal);
|
||||
@ -965,7 +965,7 @@ H5B2__cache_leaf_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5B2_leaf_cache_ud_t *udata = (H5B2_leaf_cache_ud_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -1001,7 +1001,7 @@ H5B2__cache_leaf_verify_chksum(const void *_image, size_t H5_ATTR_UNUSED len, vo
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -1044,7 +1044,7 @@ H5B2__cache_leaf_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void
|
||||
unsigned u; /* Local index variable */
|
||||
H5B2_leaf_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -1134,7 +1134,7 @@ H5B2__cache_leaf_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5B2_leaf_t *leaf = (const H5B2_leaf_t *)_thing; /* Pointer to the B-tree leaf node */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(leaf);
|
||||
@ -1170,7 +1170,7 @@ H5B2__cache_leaf_serialize(const H5F_t H5_ATTR_UNUSED *f, void *_image, size_t H
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -1237,7 +1237,7 @@ H5B2__cache_leaf_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5B2_leaf_t *leaf = (H5B2_leaf_t *)_thing;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -1314,7 +1314,7 @@ H5B2__cache_leaf_free_icr(void *_thing)
|
||||
H5B2_leaf_t *leaf = (H5B2_leaf_t *)_thing;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(leaf);
|
||||
|
@ -2013,7 +2013,7 @@ H5B2__update_child_flush_depends(H5B2_hdr_t *hdr, unsigned depth, H5B2_node_ptr_
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(hdr);
|
||||
|
@ -742,7 +742,7 @@ H5B2__shadow_internal(H5B2_internal_t *internal, H5B2_node_ptr_t *curr_node_ptr)
|
||||
H5B2_hdr_t *hdr; /* B-tree header */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
|
@ -702,7 +702,7 @@ H5B2__shadow_leaf(H5B2_leaf_t *leaf, H5B2_node_ptr_t *curr_node_ptr)
|
||||
H5B2_hdr_t *hdr; /* B-tree header */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
|
@ -134,7 +134,7 @@ H5B2__test_crt_context(void *_f)
|
||||
H5B2_test_ctx_t *ctx; /* Callback context structure */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -171,7 +171,7 @@ H5B2__test_dst_context(void *_ctx)
|
||||
{
|
||||
H5B2_test_ctx_t *ctx = (H5B2_test_ctx_t *)_ctx; /* Callback context structure */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -198,7 +198,7 @@ H5B2__test_dst_context(void *_ctx)
|
||||
static herr_t
|
||||
H5B2__test_store(void *nrecord, const void *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(hsize_t *)nrecord = *(const hsize_t *)udata;
|
||||
|
||||
@ -222,7 +222,7 @@ H5B2__test_store(void *nrecord, const void *udata)
|
||||
static herr_t
|
||||
H5B2__test_compare(const void *rec1, const void *rec2, int *result)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*result = (int)(*(const hssize_t *)rec1 - *(const hssize_t *)rec2);
|
||||
|
||||
@ -247,7 +247,7 @@ H5B2__test_encode(uint8_t *raw, const void *nrecord, void *_ctx)
|
||||
{
|
||||
H5B2_test_ctx_t *ctx = (H5B2_test_ctx_t *)_ctx; /* Callback context structure */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -275,7 +275,7 @@ H5B2__test_decode(const uint8_t *raw, void *nrecord, void *_ctx)
|
||||
{
|
||||
H5B2_test_ctx_t *ctx = (H5B2_test_ctx_t *)_ctx; /* Callback context structure */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -301,7 +301,7 @@ H5B2__test_decode(const uint8_t *raw, void *nrecord, void *_ctx)
|
||||
static herr_t
|
||||
H5B2__test_debug(FILE *stream, int indent, int fwidth, const void *record, const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(record);
|
||||
|
||||
@ -326,7 +326,7 @@ H5B2__test_debug(FILE *stream, int indent, int fwidth, const void *record, const
|
||||
static herr_t
|
||||
H5B2__test2_store(void *nrecord, const void *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(H5B2_test_rec_t *)nrecord = *(const H5B2_test_rec_t *)udata;
|
||||
|
||||
@ -350,7 +350,7 @@ H5B2__test2_store(void *nrecord, const void *udata)
|
||||
static herr_t
|
||||
H5B2__test2_compare(const void *rec1, const void *rec2, int *result)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*result = (int)(((const H5B2_test_rec_t *)rec1)->key - ((const H5B2_test_rec_t *)rec2)->key);
|
||||
|
||||
@ -375,7 +375,7 @@ H5B2__test2_encode(uint8_t *raw, const void *nrecord, void *_ctx)
|
||||
{
|
||||
H5B2_test_ctx_t *ctx = (H5B2_test_ctx_t *)_ctx; /* Callback context structure */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -404,7 +404,7 @@ H5B2__test2_decode(const uint8_t *raw, void *nrecord, void *_ctx)
|
||||
{
|
||||
H5B2_test_ctx_t *ctx = (H5B2_test_ctx_t *)_ctx; /* Callback context structure */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -431,7 +431,7 @@ H5B2__test2_decode(const uint8_t *raw, void *nrecord, void *_ctx)
|
||||
static herr_t
|
||||
H5B2__test2_debug(FILE *stream, int indent, int fwidth, const void *record, const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(record);
|
||||
|
||||
|
@ -99,7 +99,7 @@ H5B__cache_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
H5B_cache_ud_t *udata = (H5B_cache_ud_t *)_udata; /* User data for callback */
|
||||
H5B_shared_t * shared; /* Pointer to shared B-tree info */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -140,7 +140,7 @@ H5B__cache_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void *_uda
|
||||
unsigned u; /* Local index variable */
|
||||
H5B_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(image);
|
||||
@ -238,7 +238,7 @@ H5B__cache_image_len(const void *_thing, size_t *image_len)
|
||||
const H5B_t * bt = (const H5B_t *)_thing; /* Pointer to the B-tree node */
|
||||
H5B_shared_t *shared; /* Pointer to shared B-tree info */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(bt);
|
||||
@ -276,7 +276,7 @@ H5B__cache_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED len, vo
|
||||
unsigned u; /* Local index counter */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(image);
|
||||
@ -354,7 +354,7 @@ H5B__cache_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
|
52
src/H5C.c
52
src/H5C.c
@ -678,7 +678,7 @@ H5C__free_tag_list_cb(void *_item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED
|
||||
{
|
||||
H5C_tag_info_t *tag_info = (H5C_tag_info_t *)_item;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(tag_info);
|
||||
|
||||
@ -4131,7 +4131,7 @@ H5C__pin_entry_from_client(H5C_t
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -4175,9 +4175,9 @@ H5C__unpin_entry_real(H5C_t *cache_ptr, H5C_cache_entry_t *entry_ptr, hbool_t up
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
#if H5C_DO_SANITY_CHECKS
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
#else
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
#endif
|
||||
|
||||
/* Sanity checking */
|
||||
@ -4218,7 +4218,7 @@ H5C__unpin_entry_from_client(H5C_t *cache_ptr, H5C_cache_entry_t *entry_ptr, hbo
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checking */
|
||||
HDassert(cache_ptr);
|
||||
@ -4276,7 +4276,7 @@ H5C__auto_adjust_cache_size(H5F_t *f, hbool_t write_permitted)
|
||||
enum H5C_resize_status status = in_spec; /* will change if needed */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(f);
|
||||
HDassert(cache_ptr);
|
||||
@ -4556,7 +4556,7 @@ H5C__autoadjust__ageout(H5F_t *f, double hit_rate, enum H5C_resize_status *statu
|
||||
size_t test_size;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(f);
|
||||
HDassert(cache_ptr);
|
||||
@ -4652,7 +4652,7 @@ H5C__autoadjust__ageout__cycle_epoch_marker(H5C_t *cache_ptr)
|
||||
int i;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(cache_ptr);
|
||||
HDassert(cache_ptr->magic == H5C__H5C_T_MAGIC);
|
||||
@ -4755,7 +4755,7 @@ H5C__autoadjust__ageout__evict_aged_out_entries(H5F_t *f, hbool_t write_permitte
|
||||
H5C_cache_entry_t *prev_ptr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(f);
|
||||
HDassert(cache_ptr);
|
||||
@ -4938,7 +4938,7 @@ H5C__autoadjust__ageout__insert_new_marker(H5C_t *cache_ptr)
|
||||
int i;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(cache_ptr);
|
||||
HDassert(cache_ptr->magic == H5C__H5C_T_MAGIC);
|
||||
@ -5003,7 +5003,7 @@ H5C__autoadjust__ageout__remove_all_markers(H5C_t *cache_ptr)
|
||||
int i;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(cache_ptr);
|
||||
HDassert(cache_ptr->magic == H5C__H5C_T_MAGIC);
|
||||
@ -5073,7 +5073,7 @@ H5C__autoadjust__ageout__remove_excess_markers(H5C_t *cache_ptr)
|
||||
int i;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(cache_ptr);
|
||||
HDassert(cache_ptr->magic == H5C__H5C_T_MAGIC);
|
||||
@ -5151,7 +5151,7 @@ H5C__flash_increase_cache_size(H5C_t *cache_ptr, size_t old_entry_size, size_t n
|
||||
double hit_rate;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(cache_ptr);
|
||||
HDassert(cache_ptr->magic == H5C__H5C_T_MAGIC);
|
||||
@ -5343,7 +5343,7 @@ H5C__flush_invalidate_cache(H5F_t *f, unsigned flags)
|
||||
H5C_ring_t ring;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(f);
|
||||
HDassert(f->shared);
|
||||
@ -5536,7 +5536,7 @@ H5C__flush_invalidate_ring(H5F_t *f, H5C_ring_t ring, unsigned flags)
|
||||
#endif /* H5C_DO_SANITY_CHECKS */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(f);
|
||||
HDassert(f->shared);
|
||||
@ -6058,7 +6058,7 @@ H5C__flush_ring(H5F_t *f, H5C_ring_t ring, unsigned flags)
|
||||
int i;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(cache_ptr);
|
||||
HDassert(cache_ptr->magic == H5C__H5C_T_MAGIC);
|
||||
@ -7043,7 +7043,7 @@ H5C__verify_len_eoa(H5F_t *f, const H5C_class_t *type, haddr_t addr, size_t *len
|
||||
haddr_t eoa; /* End-of-allocation in the file */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* if type == H5FD_MEM_GHEAP, H5F_block_read() forces
|
||||
* type to H5FD_MEM_DRAW via its call to H5F__accum_read().
|
||||
@ -7114,7 +7114,7 @@ H5C__load_entry(H5F_t *f,
|
||||
#endif /* H5_HAVE_PARALLEL */
|
||||
void *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -8206,7 +8206,7 @@ H5C__mark_flush_dep_dirty(H5C_cache_entry_t *entry)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry);
|
||||
@ -8253,7 +8253,7 @@ H5C__mark_flush_dep_clean(H5C_cache_entry_t *entry)
|
||||
int i; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry);
|
||||
@ -8301,7 +8301,7 @@ H5C__mark_flush_dep_serialized(H5C_cache_entry_t *entry_ptr)
|
||||
int i; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry_ptr);
|
||||
@ -8351,7 +8351,7 @@ H5C__mark_flush_dep_unserialized(H5C_cache_entry_t *entry_ptr)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry_ptr);
|
||||
@ -8400,7 +8400,7 @@ H5C__assert_flush_dep_nocycle(const H5C_cache_entry_t *entry, const H5C_cache_en
|
||||
{
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry);
|
||||
@ -8639,7 +8639,7 @@ H5C__serialize_ring(H5F_t *f, H5C_ring_t ring)
|
||||
H5C_cache_entry_t *entry_ptr;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -8876,7 +8876,7 @@ H5C__serialize_single_entry(H5F_t *f, H5C_t *cache_ptr, H5C_cache_entry_t *entry
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -8955,7 +8955,7 @@ H5C__generate_image(H5F_t *f, H5C_t *cache_ptr, H5C_cache_entry_t *entry_ptr)
|
||||
unsigned serialize_flags = H5C__SERIALIZE_NO_FLAGS_SET;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
|
@ -82,7 +82,7 @@ H5CS__get_stack(void)
|
||||
{
|
||||
H5CS_t *fstack;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR_NOFS
|
||||
FUNC_ENTER_PACKAGE_NOERR_NOFS
|
||||
|
||||
fstack = H5TS_get_thread_local_value(H5TS_funcstk_key_g);
|
||||
if (!fstack) {
|
||||
|
@ -705,7 +705,7 @@ H5CX__get_context(void)
|
||||
{
|
||||
H5CX_node_t **ctx = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
ctx = (H5CX_node_t **)H5TS_get_thread_local_value(H5TS_apictx_key_g);
|
||||
|
||||
@ -754,7 +754,7 @@ H5CX__push_common(H5CX_node_t *cnode)
|
||||
{
|
||||
H5CX_node_t **head = NULL; /* Pointer to head of API context list */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(cnode);
|
||||
@ -3588,9 +3588,9 @@ H5CX__pop_common(hbool_t update_dxpl_props)
|
||||
H5CX_node_t * ret_value = NULL; /* Return value */
|
||||
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
#else
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
#endif
|
||||
|
||||
/* Sanity check */
|
||||
|
@ -106,7 +106,7 @@ const H5AC_class_t H5AC_EPOCH_MARKER[1] = {
|
||||
static herr_t
|
||||
H5C__epoch_marker_get_initial_load_size(void H5_ATTR_UNUSED *udata_ptr, size_t H5_ATTR_UNUSED *image_len_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -117,7 +117,7 @@ static herr_t
|
||||
H5C__epoch_marker_get_final_load_size(const void H5_ATTR_UNUSED *image_ptr, size_t H5_ATTR_UNUSED image_len,
|
||||
void H5_ATTR_UNUSED *udata_ptr, size_t H5_ATTR_UNUSED *actual_len)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -128,7 +128,7 @@ static htri_t
|
||||
H5C__epoch_marker_verify_chksum(const void H5_ATTR_UNUSED *image_ptr, size_t H5_ATTR_UNUSED len,
|
||||
void H5_ATTR_UNUSED *udata_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -139,7 +139,7 @@ static void *
|
||||
H5C__epoch_marker_deserialize(const void H5_ATTR_UNUSED *image_ptr, size_t H5_ATTR_UNUSED len,
|
||||
void H5_ATTR_UNUSED *udata, hbool_t H5_ATTR_UNUSED *dirty_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -149,7 +149,7 @@ H5C__epoch_marker_deserialize(const void H5_ATTR_UNUSED *image_ptr, size_t H5_AT
|
||||
static herr_t
|
||||
H5C__epoch_marker_image_len(const void H5_ATTR_UNUSED *thing, size_t H5_ATTR_UNUSED *image_len_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -162,7 +162,7 @@ H5C__epoch_marker_pre_serialize(H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED *th
|
||||
haddr_t H5_ATTR_UNUSED *new_addr_ptr, size_t H5_ATTR_UNUSED *new_len_ptr,
|
||||
unsigned H5_ATTR_UNUSED *flags_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -173,7 +173,7 @@ static herr_t
|
||||
H5C__epoch_marker_serialize(const H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED *image_ptr,
|
||||
size_t H5_ATTR_UNUSED len, void H5_ATTR_UNUSED *thing)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -183,7 +183,7 @@ H5C__epoch_marker_serialize(const H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED *
|
||||
static herr_t
|
||||
H5C__epoch_marker_notify(H5C_notify_action_t H5_ATTR_UNUSED action, void H5_ATTR_UNUSED *thing)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -193,7 +193,7 @@ H5C__epoch_marker_notify(H5C_notify_action_t H5_ATTR_UNUSED action, void H5_ATTR
|
||||
static herr_t
|
||||
H5C__epoch_marker_free_icr(void H5_ATTR_UNUSED *thing)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -203,7 +203,7 @@ H5C__epoch_marker_free_icr(void H5_ATTR_UNUSED *thing)
|
||||
static herr_t
|
||||
H5C__epoch_marker_fsf_size(const void H5_ATTR_UNUSED *thing, hsize_t H5_ATTR_UNUSED *fsf_size_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
|
@ -230,7 +230,7 @@ H5C__construct_cache_image_buffer(H5F_t *f, H5C_t *cache_ptr)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -814,7 +814,7 @@ done:
|
||||
static herr_t
|
||||
H5C__free_image_entries_array(H5C_t *cache_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -977,7 +977,7 @@ H5C__read_cache_image(H5F_t *f, H5C_t *cache_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -1199,7 +1199,7 @@ H5C__image_entry_cmp(const void *_entry1, const void *_entry2)
|
||||
(const H5C_image_entry_t *)_entry2; /* Pointer to second image entry to compare */
|
||||
int ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry1);
|
||||
@ -1689,7 +1689,7 @@ H5C__cache_image_block_entry_header_size(const H5F_t *f)
|
||||
{
|
||||
size_t ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set return value */
|
||||
ret_value = (size_t)(1 + /* type */
|
||||
@ -1725,7 +1725,7 @@ H5C__cache_image_block_header_size(const H5F_t *f)
|
||||
{
|
||||
size_t ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set return value */
|
||||
ret_value = (size_t)(4 + /* signature */
|
||||
@ -1763,7 +1763,7 @@ H5C__decode_cache_image_header(const H5F_t *f, H5C_t *cache_ptr, const uint8_t *
|
||||
const uint8_t *p;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -1860,7 +1860,7 @@ H5C__decode_cache_image_entry(const H5F_t *f, const H5C_t *cache_ptr, const uint
|
||||
const uint8_t * p;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -2016,7 +2016,7 @@ H5C__destroy_pf_entry_child_flush_deps(H5C_t *cache_ptr, H5C_cache_entry_t *pf_e
|
||||
hbool_t found;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -2132,7 +2132,7 @@ H5C__encode_cache_image_header(const H5F_t *f, const H5C_t *cache_ptr, uint8_t *
|
||||
uint8_t *p; /* Pointer into cache image buffer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -2208,7 +2208,7 @@ H5C__encode_cache_image_entry(H5F_t *f, H5C_t *cache_ptr, uint8_t **buf, unsigne
|
||||
unsigned u; /* Local index value */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -2368,7 +2368,7 @@ H5C__prep_for_file_close__compute_fd_heights(const H5C_t *cache_ptr)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -2590,7 +2590,7 @@ done:
|
||||
static void
|
||||
H5C__prep_for_file_close__compute_fd_heights_real(H5C_cache_entry_t *entry_ptr, uint32_t fd_height)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry_ptr);
|
||||
@ -2642,7 +2642,7 @@ H5C__prep_for_file_close__setup_image_entries_array(H5C_t *cache_ptr)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -2786,7 +2786,7 @@ H5C__prep_for_file_close__scan_entries(const H5F_t *f, H5C_t *cache_ptr)
|
||||
unsigned j;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -3022,7 +3022,7 @@ H5C__reconstruct_cache_contents(H5F_t *f, H5C_t *cache_ptr)
|
||||
unsigned u, v; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -3234,7 +3234,7 @@ H5C__reconstruct_cache_entry(const H5F_t *f, H5C_t *cache_ptr, const uint8_t **b
|
||||
hbool_t file_is_rw;
|
||||
H5C_cache_entry_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache_ptr);
|
||||
@ -3404,7 +3404,7 @@ H5C__write_cache_image_superblock_msg(H5F_t *f, hbool_t create)
|
||||
unsigned mesg_flags = H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -3459,7 +3459,7 @@ H5C__write_cache_image(H5F_t *f, const H5C_t *cache_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
|
@ -164,7 +164,7 @@ H5C__json_write_log_message(H5C_log_json_udata_t *json_udata)
|
||||
size_t n_chars;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -292,7 +292,7 @@ H5C__json_tear_down_logging(H5C_log_info_t *log_info)
|
||||
H5C_log_json_udata_t *json_udata = NULL;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(log_info);
|
||||
@ -337,7 +337,7 @@ H5C__json_write_start_log_msg(void *udata)
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -380,7 +380,7 @@ H5C__json_write_stop_log_msg(void *udata)
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -422,7 +422,7 @@ H5C__json_write_create_cache_log_msg(void *udata, herr_t fxn_ret_value)
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -464,7 +464,7 @@ H5C__json_write_destroy_cache_log_msg(void *udata)
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -505,7 +505,7 @@ H5C__json_write_evict_cache_log_msg(void *udata, herr_t fxn_ret_value)
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -547,7 +547,7 @@ H5C__json_write_expunge_entry_log_msg(void *udata, haddr_t address, int type_id,
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -591,7 +591,7 @@ H5C__json_write_flush_cache_log_msg(void *udata, herr_t fxn_ret_value)
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -634,7 +634,7 @@ H5C__json_write_insert_entry_log_msg(void *udata, haddr_t address, int type_id,
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -681,7 +681,7 @@ H5C__json_write_mark_entry_dirty_log_msg(void *udata, const H5C_cache_entry_t *e
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -725,7 +725,7 @@ H5C__json_write_mark_entry_clean_log_msg(void *udata, const H5C_cache_entry_t *e
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -770,7 +770,7 @@ H5C__json_write_mark_unserialized_entry_log_msg(void *udata, const H5C_cache_ent
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -815,7 +815,7 @@ H5C__json_write_mark_serialized_entry_log_msg(void *udata, const H5C_cache_entry
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -860,7 +860,7 @@ H5C__json_write_move_entry_log_msg(void *udata, haddr_t old_addr, haddr_t new_ad
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -906,7 +906,7 @@ H5C__json_write_pin_entry_log_msg(void *udata, const H5C_cache_entry_t *entry, h
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -952,7 +952,7 @@ H5C__json_write_create_fd_log_msg(void *udata, const H5C_cache_entry_t *parent,
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -1001,7 +1001,7 @@ H5C__json_write_protect_entry_log_msg(void *udata, const H5C_cache_entry_t *entr
|
||||
char rw_s[16];
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -1055,7 +1055,7 @@ H5C__json_write_resize_entry_log_msg(void *udata, const H5C_cache_entry_t *entry
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -1100,7 +1100,7 @@ H5C__json_write_unpin_entry_log_msg(void *udata, const H5C_cache_entry_t *entry,
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -1146,7 +1146,7 @@ H5C__json_write_destroy_fd_log_msg(void *udata, const H5C_cache_entry_t *parent,
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -1194,7 +1194,7 @@ H5C__json_write_unprotect_entry_log_msg(void *udata, haddr_t address, int type_i
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -1240,7 +1240,7 @@ H5C__json_write_set_cache_config_log_msg(void *udata, const H5AC_cache_config_t
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
@ -1283,7 +1283,7 @@ H5C__json_write_remove_entry_log_msg(void *udata, const H5C_cache_entry_t *entry
|
||||
H5C_log_json_udata_t *json_udata = (H5C_log_json_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(json_udata);
|
||||
|
@ -159,7 +159,7 @@ H5C__trace_write_log_message(H5C_log_trace_udata_t *trace_udata)
|
||||
size_t n_chars;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -290,7 +290,7 @@ H5C__trace_tear_down_logging(H5C_log_info_t *log_info)
|
||||
H5C_log_trace_udata_t *trace_udata = NULL;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(log_info);
|
||||
@ -335,7 +335,7 @@ H5C__trace_write_expunge_entry_log_msg(void *udata, haddr_t address, int type_id
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -371,7 +371,7 @@ H5C__trace_write_flush_cache_log_msg(void *udata, herr_t fxn_ret_value)
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -407,7 +407,7 @@ H5C__trace_write_insert_entry_log_msg(void *udata, haddr_t address, int type_id,
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -443,7 +443,7 @@ H5C__trace_write_mark_entry_dirty_log_msg(void *udata, const H5C_cache_entry_t *
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -480,7 +480,7 @@ H5C__trace_write_mark_entry_clean_log_msg(void *udata, const H5C_cache_entry_t *
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -518,7 +518,7 @@ H5C__trace_write_mark_unserialized_entry_log_msg(void *udata, const H5C_cache_en
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -556,7 +556,7 @@ H5C__trace_write_mark_serialized_entry_log_msg(void *udata, const H5C_cache_entr
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -594,7 +594,7 @@ H5C__trace_write_move_entry_log_msg(void *udata, haddr_t old_addr, haddr_t new_a
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -630,7 +630,7 @@ H5C__trace_write_pin_entry_log_msg(void *udata, const H5C_cache_entry_t *entry,
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -669,7 +669,7 @@ H5C__trace_write_create_fd_log_msg(void *udata, const H5C_cache_entry_t *parent,
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -709,7 +709,7 @@ H5C__trace_write_protect_entry_log_msg(void *udata, const H5C_cache_entry_t *ent
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -747,7 +747,7 @@ H5C__trace_write_resize_entry_log_msg(void *udata, const H5C_cache_entry_t *entr
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -784,7 +784,7 @@ H5C__trace_write_unpin_entry_log_msg(void *udata, const H5C_cache_entry_t *entry
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -823,7 +823,7 @@ H5C__trace_write_destroy_fd_log_msg(void *udata, const H5C_cache_entry_t *parent
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -863,7 +863,7 @@ H5C__trace_write_unprotect_entry_log_msg(void *udata, haddr_t address, int type_
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -900,7 +900,7 @@ H5C__trace_write_set_cache_config_log_msg(void *udata, const H5AC_cache_config_t
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
@ -949,7 +949,7 @@ H5C__trace_write_remove_entry_log_msg(void *udata, const H5C_cache_entry_t *entr
|
||||
H5C_log_trace_udata_t *trace_udata = (H5C_log_trace_udata_t *)(udata);
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(trace_udata);
|
||||
|
@ -955,7 +955,7 @@ H5C__collective_write(H5F_t *f)
|
||||
size_t buf_count;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f != NULL);
|
||||
@ -1125,7 +1125,7 @@ H5C__flush_candidate_entries(H5F_t *f, unsigned entries_to_flush[H5C_RING_NTYPES
|
||||
H5C_t * cache_ptr;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(f);
|
||||
HDassert(f->shared);
|
||||
@ -1245,7 +1245,7 @@ H5C__flush_candidates_in_ring(H5F_t *f, H5C_ring_t ring, unsigned entries_to_flu
|
||||
H5C_cache_entry_t *entry_ptr;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
|
@ -109,7 +109,7 @@ static herr_t
|
||||
H5C__prefetched_entry_get_initial_load_size(void H5_ATTR_UNUSED *udata_ptr,
|
||||
size_t H5_ATTR_UNUSED *image_len_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -121,7 +121,7 @@ H5C__prefetched_entry_get_final_load_size(const void H5_ATTR_UNUSED *image_ptr,
|
||||
size_t H5_ATTR_UNUSED image_len, void H5_ATTR_UNUSED *udata_ptr,
|
||||
size_t H5_ATTR_UNUSED *actual_len_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -132,7 +132,7 @@ static htri_t
|
||||
H5C__prefetched_entry_verify_chksum(const void H5_ATTR_UNUSED *image_ptr, size_t H5_ATTR_UNUSED len,
|
||||
void H5_ATTR_UNUSED *udata_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -143,7 +143,7 @@ static void *
|
||||
H5C__prefetched_entry_deserialize(const void H5_ATTR_UNUSED *image_ptr, size_t H5_ATTR_UNUSED len,
|
||||
void H5_ATTR_UNUSED *udata, hbool_t H5_ATTR_UNUSED *dirty_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -153,7 +153,7 @@ H5C__prefetched_entry_deserialize(const void H5_ATTR_UNUSED *image_ptr, size_t H
|
||||
static herr_t
|
||||
H5C__prefetched_entry_image_len(const void H5_ATTR_UNUSED *thing, size_t H5_ATTR_UNUSED *image_len_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -166,7 +166,7 @@ H5C__prefetched_entry_pre_serialize(H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED
|
||||
haddr_t H5_ATTR_UNUSED *new_addr_ptr, size_t H5_ATTR_UNUSED *new_len_ptr,
|
||||
unsigned H5_ATTR_UNUSED *flags_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -177,7 +177,7 @@ static herr_t
|
||||
H5C__prefetched_entry_serialize(const H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED *image_ptr,
|
||||
size_t H5_ATTR_UNUSED len, void H5_ATTR_UNUSED *thing)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
@ -208,7 +208,7 @@ H5C__prefetched_entry_notify(H5C_notify_action_t action, void *_thing)
|
||||
unsigned u;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry_ptr);
|
||||
@ -286,7 +286,7 @@ H5C__prefetched_entry_free_icr(void *_thing)
|
||||
H5C_cache_entry_t *entry_ptr = (H5C_cache_entry_t *)_thing;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry_ptr);
|
||||
@ -313,7 +313,7 @@ done:
|
||||
static herr_t
|
||||
H5C__prefetched_entry_fsf_size(const void H5_ATTR_UNUSED *thing, hsize_t H5_ATTR_UNUSED *fsf_size_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
FUNC_ENTER_PACKAGE_NOERR /* Yes, even though this pushes an error on the stack */
|
||||
|
||||
HERROR(H5E_CACHE, H5E_SYSTEM, "called unreachable fcn.");
|
||||
|
||||
|
10
src/H5Ctag.c
10
src/H5Ctag.c
@ -357,7 +357,7 @@ H5C__iter_tagged_entries_real(H5C_t *cache, haddr_t tag, H5C_tag_iter_cb_t cb, v
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
/* Function enter macro */
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cache != NULL);
|
||||
@ -458,7 +458,7 @@ H5C__evict_tagged_entries_cb(H5C_cache_entry_t *entry, void *_ctx)
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
/* Function enter macro */
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Santify checks */
|
||||
HDassert(entry);
|
||||
@ -585,7 +585,7 @@ static int
|
||||
H5C__mark_tagged_entries_cb(H5C_cache_entry_t *entry, void H5_ATTR_UNUSED *_ctx)
|
||||
{
|
||||
/* Function enter macro */
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(entry);
|
||||
@ -618,7 +618,7 @@ H5C__mark_tagged_entries(H5C_t *cache, haddr_t tag)
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
/* Function enter macro */
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(cache);
|
||||
@ -810,7 +810,7 @@ H5C__expunge_tag_type_metadata_cb(H5C_cache_entry_t *entry, void *_ctx)
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
/* Function enter macro */
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Santify checks */
|
||||
HDassert(entry);
|
||||
|
@ -91,7 +91,7 @@ H5C__verify_cork_tag_test_cb(H5C_cache_entry_t *entry, void *_ctx)
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
/* Function enter macro */
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Santify checks */
|
||||
HDassert(entry);
|
||||
|
12
src/H5D.c
12
src/H5D.c
@ -97,7 +97,7 @@ H5D__create_api_common(hid_t loc_id, const char *name, hid_t type_id, hid_t spac
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (!name)
|
||||
@ -340,7 +340,7 @@ H5D__open_api_common(hid_t loc_id, const char *name, hid_t dapl_id, void **token
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
if (!name)
|
||||
@ -558,7 +558,7 @@ H5D__get_space_api_common(hid_t dset_id, void **token_ptr, H5VL_object_t **_vol_
|
||||
H5VL_dataset_get_args_t vol_cb_args; /* Arguments to VOL callback */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
if (NULL == (*vol_obj_ptr = (H5VL_object_t *)H5I_object_verify(dset_id, H5I_DATASET)))
|
||||
@ -946,7 +946,7 @@ H5D__read_api_common(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t
|
||||
(_vol_obj_ptr ? _vol_obj_ptr : &tmp_vol_obj); /* Ptr to object ptr for loc_id */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (mem_space_id < 0)
|
||||
@ -1145,7 +1145,7 @@ H5D__write_api_common(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_
|
||||
(_vol_obj_ptr ? _vol_obj_ptr : &tmp_vol_obj); /* Ptr to object ptr for loc_id */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (mem_space_id < 0)
|
||||
@ -1760,7 +1760,7 @@ H5D__set_extent_api_common(hid_t dset_id, const hsize_t size[], void **token_ptr
|
||||
H5VL_dataset_specific_args_t vol_cb_args; /* Arguments to VOL callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
if (NULL == (*vol_obj_ptr = (H5VL_object_t *)H5I_object_verify(dset_id, H5I_DATASET)))
|
||||
|
@ -206,7 +206,7 @@ H5D__btree_get_shared(const H5F_t H5_ATTR_UNUSED *f, const void *_udata)
|
||||
{
|
||||
const H5D_chunk_common_ud_t *udata = (const H5D_chunk_common_ud_t *)_udata;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(udata);
|
||||
HDassert(udata->storage);
|
||||
@ -245,7 +245,7 @@ H5D__btree_new_node(H5F_t H5_ATTR_NDEBUG_UNUSED *f, H5B_ins_t op, void *_lt_key,
|
||||
unsigned u;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* check args */
|
||||
HDassert(f);
|
||||
@ -312,7 +312,7 @@ H5D__btree_cmp2(void *_lt_key, void *_udata, void *_rt_key)
|
||||
H5D_chunk_common_ud_t *udata = (H5D_chunk_common_ud_t *)_udata;
|
||||
int ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(lt_key);
|
||||
HDassert(rt_key);
|
||||
@ -360,7 +360,7 @@ H5D__btree_cmp3(void *_lt_key, void *_udata, void *_rt_key)
|
||||
H5D_chunk_common_ud_t *udata = (H5D_chunk_common_ud_t *)_udata;
|
||||
int ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(lt_key);
|
||||
HDassert(rt_key);
|
||||
@ -424,7 +424,7 @@ H5D__btree_found(H5F_t H5_ATTR_UNUSED *f, haddr_t addr, const void *_lt_key, hbo
|
||||
unsigned u;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -472,7 +472,7 @@ H5D__chunk_disjoint(unsigned n, const hsize_t *scaled1, const hsize_t *scaled2)
|
||||
unsigned u; /* Local index variable */
|
||||
hbool_t ret_value = FALSE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(n);
|
||||
@ -529,7 +529,7 @@ H5D__btree_insert(H5F_t H5_ATTR_NDEBUG_UNUSED *f, haddr_t H5_ATTR_NDEBUG_UNUSED
|
||||
unsigned u;
|
||||
H5B_ins_t ret_value = H5B_INS_ERROR; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check args */
|
||||
HDassert(f);
|
||||
@ -612,7 +612,7 @@ H5D__btree_remove(H5F_t *f, haddr_t addr, void *_lt_key /*in,out */, hbool_t *lt
|
||||
H5D_btree_key_t *lt_key = (H5D_btree_key_t *)_lt_key;
|
||||
H5B_ins_t ret_value = H5B_INS_REMOVE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Remove raw data chunk from file */
|
||||
H5_CHECK_OVERFLOW(lt_key->nbytes, uint32_t, hsize_t);
|
||||
@ -648,7 +648,7 @@ H5D__btree_decode_key(const H5B_shared_t *shared, const uint8_t *raw, void *_key
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check args */
|
||||
HDassert(shared);
|
||||
@ -697,7 +697,7 @@ H5D__btree_encode_key(const H5B_shared_t *shared, uint8_t *raw, const void *_key
|
||||
hsize_t tmp_offset; /* Temporary coordinate offset, from file */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* check args */
|
||||
HDassert(shared);
|
||||
@ -738,7 +738,7 @@ H5D__btree_debug_key(FILE *stream, int indent, int fwidth, const void *_key, con
|
||||
const H5D_btree_dbg_t *udata = (const H5D_btree_dbg_t *)_udata;
|
||||
unsigned u;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(key);
|
||||
|
||||
@ -770,7 +770,7 @@ H5D__btree_shared_free(void *_shared)
|
||||
H5B_shared_t *shared = (H5B_shared_t *)_shared;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Free the chunk layout information */
|
||||
shared->udata = H5FL_FREE(H5O_layout_chunk_t, shared->udata);
|
||||
@ -803,7 +803,7 @@ H5D__btree_shared_create(const H5F_t *f, H5O_storage_chunk_t *store, const H5O_l
|
||||
size_t sizeof_rkey; /* Size of raw (disk) key */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Set the raw key size */
|
||||
sizeof_rkey = 4 + /*storage size */
|
||||
@ -850,7 +850,7 @@ H5D__btree_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t H5_ATTR_UNUS
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -894,7 +894,7 @@ H5D__btree_idx_create(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_chunk_common_ud_t udata; /* User data for B-tree callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -931,7 +931,7 @@ done:
|
||||
static hbool_t
|
||||
H5D__btree_idx_is_space_alloc(const H5O_storage_chunk_t *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -957,7 +957,7 @@ H5D__btree_idx_insert(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata,
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(idx_info);
|
||||
HDassert(idx_info->f);
|
||||
@ -998,7 +998,7 @@ H5D__btree_idx_get_addr(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udat
|
||||
hbool_t found; /* Whether chunk was found */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(idx_info);
|
||||
HDassert(idx_info->f);
|
||||
@ -1042,7 +1042,7 @@ H5D__btree_idx_iterate_cb(H5F_t H5_ATTR_UNUSED *f, const void *_lt_key, haddr_t
|
||||
H5D_chunk_rec_t chunk_rec; /* Generic chunk record for callback */
|
||||
int ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check for memcpy() */
|
||||
HDcompile_assert(offsetof(H5D_chunk_rec_t, nbytes) == offsetof(H5D_btree_key_t, nbytes));
|
||||
@ -1082,7 +1082,7 @@ H5D__btree_idx_iterate(const H5D_chk_idx_info_t *idx_info, H5D_chunk_cb_func_t c
|
||||
H5D_btree_it_ud_t udata; /* User data for B-tree iterator callback */
|
||||
int ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(idx_info);
|
||||
HDassert(idx_info->f);
|
||||
@ -1125,7 +1125,7 @@ H5D__btree_idx_remove(const H5D_chk_idx_info_t *idx_info, H5D_chunk_common_ud_t
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(idx_info);
|
||||
HDassert(idx_info->f);
|
||||
@ -1164,7 +1164,7 @@ H5D__btree_idx_delete(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1222,7 +1222,7 @@ H5D__btree_idx_copy_setup(const H5D_chk_idx_info_t *idx_info_src, const H5D_chk_
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_TAG(H5AC__COPIED_TAG)
|
||||
FUNC_ENTER_PACKAGE_TAG(H5AC__COPIED_TAG)
|
||||
|
||||
HDassert(idx_info_src);
|
||||
HDassert(idx_info_src->f);
|
||||
@ -1269,7 +1269,7 @@ H5D__btree_idx_copy_shutdown(H5O_storage_chunk_t *storage_src, H5O_storage_chunk
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(storage_src);
|
||||
HDassert(storage_dst);
|
||||
@ -1304,7 +1304,7 @@ H5D__btree_idx_size(const H5D_chk_idx_info_t *idx_info, hsize_t *index_size)
|
||||
H5B_info_t bt_info; /* B-tree info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -1345,7 +1345,7 @@ done:
|
||||
static herr_t
|
||||
H5D__btree_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(storage);
|
||||
|
||||
@ -1372,7 +1372,7 @@ H5D__btree_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
static herr_t
|
||||
H5D__btree_idx_dump(const H5O_storage_chunk_t *storage, FILE *stream)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(storage);
|
||||
HDassert(stream);
|
||||
@ -1399,7 +1399,7 @@ H5D__btree_idx_dest(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(idx_info);
|
||||
HDassert(idx_info->f);
|
||||
|
@ -219,7 +219,7 @@ H5D__bt2_crt_context(void *_udata)
|
||||
uint32_t * my_dim = NULL; /* Pointer to copy of chunk dimension size */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(udata);
|
||||
@ -273,7 +273,7 @@ H5D__bt2_dst_context(void *_ctx)
|
||||
{
|
||||
H5D_bt2_ctx_t *ctx = (H5D_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -305,7 +305,7 @@ H5D__bt2_store(void *record, const void *_udata)
|
||||
{
|
||||
const H5D_bt2_ud_t *udata = (const H5D_bt2_ud_t *)_udata; /* User data */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(H5D_chunk_rec_t *)record = udata->rec;
|
||||
|
||||
@ -334,7 +334,7 @@ H5D__bt2_compare(const void *_udata, const void *_rec2, int *result)
|
||||
const H5D_chunk_rec_t *rec2 = (const H5D_chunk_rec_t *)_rec2; /* The native record */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(rec1);
|
||||
@ -366,7 +366,7 @@ H5D__bt2_unfilt_encode(uint8_t *raw, const void *_record, void *_ctx)
|
||||
const H5D_chunk_rec_t *record = (const H5D_chunk_rec_t *)_record; /* The native record */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -400,7 +400,7 @@ H5D__bt2_unfilt_decode(const uint8_t *raw, void *_record, void *_ctx)
|
||||
H5D_chunk_rec_t *record = (H5D_chunk_rec_t *)_record; /* The native record */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -434,7 +434,7 @@ H5D__bt2_unfilt_debug(FILE *stream, int indent, int fwidth, const void *_record,
|
||||
const H5D_bt2_ctx_t * ctx = (const H5D_bt2_ctx_t *)_ctx; /* Callback context */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(record);
|
||||
@ -471,7 +471,7 @@ H5D__bt2_filt_encode(uint8_t *raw, const void *_record, void *_ctx)
|
||||
const H5D_chunk_rec_t *record = (const H5D_chunk_rec_t *)_record; /* The native record */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -509,7 +509,7 @@ H5D__bt2_filt_decode(const uint8_t *raw, void *_record, void *_ctx)
|
||||
H5D_chunk_rec_t *record = (H5D_chunk_rec_t *)_record; /* The native record */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -548,7 +548,7 @@ H5D__bt2_filt_debug(FILE *stream, int indent, int fwidth, const void *_record, c
|
||||
const H5D_bt2_ctx_t * ctx = (const H5D_bt2_ctx_t *)_ctx; /* Callback context */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(record);
|
||||
@ -583,7 +583,7 @@ static herr_t
|
||||
H5D__bt2_idx_init(const H5D_chk_idx_info_t H5_ATTR_UNUSED *idx_info, const H5S_t H5_ATTR_UNUSED *space,
|
||||
haddr_t dset_ohdr_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(H5F_addr_defined(dset_ohdr_addr));
|
||||
@ -615,7 +615,7 @@ H5D__btree2_idx_depend(const H5D_chk_idx_info_t *idx_info)
|
||||
H5AC_proxy_entry_t *oh_proxy; /* Dataset's object header proxy */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -678,7 +678,7 @@ H5D__bt2_idx_open(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_bt2_ctx_ud_t u_ctx; /* user data for creating context */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -729,7 +729,7 @@ H5D__bt2_idx_create(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_bt2_ctx_ud_t u_ctx; /* data for context call */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -802,7 +802,7 @@ done:
|
||||
static hbool_t
|
||||
H5D__bt2_idx_is_space_alloc(const H5O_storage_chunk_t *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -830,7 +830,7 @@ H5D__bt2_mod_cb(void *_record, void *_op_data, hbool_t *changed)
|
||||
H5D_bt2_ud_t * op_data = (H5D_bt2_ud_t *)_op_data; /* User data for v2 B-tree calls */
|
||||
H5D_chunk_rec_t *record = (H5D_chunk_rec_t *)_record; /* Chunk record */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
#ifndef NDEBUG
|
||||
@ -878,7 +878,7 @@ H5D__bt2_idx_insert(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata,
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -942,7 +942,7 @@ done:
|
||||
static herr_t
|
||||
H5D__bt2_found_cb(const void *nrecord, void *op_data)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(H5D_chunk_rec_t *)op_data = *(const H5D_chunk_rec_t *)nrecord;
|
||||
|
||||
@ -972,7 +972,7 @@ H5D__bt2_idx_get_addr(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata)
|
||||
hbool_t found; /* Whether chunk was found */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1066,7 +1066,7 @@ H5D__bt2_idx_iterate_cb(const void *_record, void *_udata)
|
||||
const H5D_chunk_rec_t *record = (const H5D_chunk_rec_t *)_record; /* Native record */
|
||||
int ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Make "generic chunk" callback */
|
||||
if ((ret_value = (udata->cb)(record, udata->udata)) < 0)
|
||||
@ -1094,7 +1094,7 @@ H5D__bt2_idx_iterate(const H5D_chk_idx_info_t *idx_info, H5D_chunk_cb_func_t chu
|
||||
H5D_bt2_it_ud_t udata; /* User data for B-tree iterator callback */
|
||||
int ret_value = FAIL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1153,7 +1153,7 @@ H5D__bt2_remove_cb(const void *_record, void *_udata)
|
||||
H5F_t * f = (H5F_t *)_udata; /* User data for removal callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -1186,7 +1186,7 @@ H5D__bt2_idx_remove(const H5D_chk_idx_info_t *idx_info, H5D_chunk_common_ud_t *u
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1248,7 +1248,7 @@ H5D__bt2_idx_delete(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_bt2_ctx_ud_t u_ctx; /* data for context call */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1299,7 +1299,7 @@ H5D__bt2_idx_copy_setup(const H5D_chk_idx_info_t *idx_info_src, const H5D_chk_id
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Source file */
|
||||
HDassert(idx_info_src);
|
||||
@ -1352,7 +1352,7 @@ H5D__bt2_idx_copy_shutdown(H5O_storage_chunk_t *storage_src, H5O_storage_chunk_t
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage_src);
|
||||
@ -1392,7 +1392,7 @@ H5D__bt2_idx_size(const H5D_chk_idx_info_t *idx_info, hsize_t *index_size)
|
||||
H5B2_t *bt2_cdset = NULL; /* Pointer to v2 B-tree structure */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -1437,7 +1437,7 @@ done:
|
||||
static herr_t
|
||||
H5D__bt2_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(storage);
|
||||
@ -1464,7 +1464,7 @@ H5D__bt2_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
static herr_t
|
||||
H5D__bt2_idx_dump(const H5O_storage_chunk_t *storage, FILE *stream)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(storage);
|
||||
@ -1491,7 +1491,7 @@ H5D__bt2_idx_dest(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
|
@ -700,7 +700,7 @@ H5D__chunk_set_info_real(H5O_layout_chunk_t *layout, unsigned ndims, const hsize
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(layout);
|
||||
@ -852,7 +852,7 @@ H5D__chunk_construct(H5F_t H5_ATTR_UNUSED *f, H5D_t *dset)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -920,7 +920,7 @@ H5D__chunk_init(H5F_t *f, const H5D_t *const dset, hid_t dapl_id)
|
||||
H5O_storage_chunk_t *sc = &(dset->shared->layout.storage.u.chunk);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -1080,7 +1080,7 @@ H5D__chunk_io_init(H5D_io_info_t *io_info, const H5D_type_info_t *type_info, hsi
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get layout for dataset */
|
||||
fm->layout = &(dataset->shared->layout);
|
||||
@ -1174,7 +1174,7 @@ H5D__chunk_io_init_selections(const H5D_io_info_t *io_info, const H5D_type_info_
|
||||
char bogus; /* "bogus" buffer to pass to selection iterator */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Special case for only one element in selection */
|
||||
/* (usually appending a record) */
|
||||
@ -1375,7 +1375,7 @@ H5D__chunk_mem_alloc(size_t size, const H5O_pline_t *pline)
|
||||
{
|
||||
void *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(size);
|
||||
|
||||
@ -1406,7 +1406,7 @@ H5D__chunk_mem_xfree(void *chk, const void *_pline)
|
||||
{
|
||||
const H5O_pline_t *pline = (const H5O_pline_t *)_pline;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (chk) {
|
||||
if (pline && pline->nused)
|
||||
@ -1450,7 +1450,7 @@ H5D__chunk_mem_realloc(void *chk, size_t size, const H5O_pline_t *pline)
|
||||
{
|
||||
void *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(size);
|
||||
HDassert(pline);
|
||||
@ -1485,7 +1485,7 @@ H5D__free_chunk_info(void *item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *
|
||||
{
|
||||
H5D_chunk_info_t *chunk_info = (H5D_chunk_info_t *)item;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(chunk_info);
|
||||
|
||||
@ -1531,7 +1531,7 @@ H5D__create_chunk_map_single(H5D_chunk_map_t *fm, const H5D_io_info_t
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(fm->f_ndims > 0);
|
||||
@ -1625,7 +1625,7 @@ H5D__create_chunk_file_map_all(H5D_chunk_map_t *fm, const H5D_io_info_t
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(fm->f_ndims > 0);
|
||||
@ -1828,7 +1828,7 @@ H5D__create_chunk_file_map_hyper(H5D_chunk_map_t *fm, const H5D_io_info_t
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(fm->f_ndims > 0);
|
||||
@ -2000,7 +2000,7 @@ H5D__create_chunk_mem_map_hyper(const H5D_chunk_map_t *fm)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(fm->f_ndims > 0);
|
||||
@ -2123,7 +2123,7 @@ H5D__create_chunk_mem_map_1d(const H5D_chunk_map_t *fm)
|
||||
H5SL_node_t * curr_node; /* Current node in skip list */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(fm->f_ndims > 0);
|
||||
@ -2210,7 +2210,7 @@ H5D__chunk_file_cb(void H5_ATTR_UNUSED *elem, const H5T_t H5_ATTR_UNUSED *type,
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Calculate the index of this chunk */
|
||||
chunk_index = H5VM_chunk_index_scaled(ndims, coords, fm->layout->u.chunk.dim,
|
||||
@ -2324,7 +2324,7 @@ H5D__chunk_mem_cb(void H5_ATTR_UNUSED *elem, const H5T_t H5_ATTR_UNUSED *type, u
|
||||
hsize_t chunk_index; /* Chunk index */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Calculate the index of this chunk */
|
||||
chunk_index = H5VM_chunk_index(ndims, coords, fm->layout->u.chunk.dim, fm->layout->u.chunk.down_chunks);
|
||||
@ -2486,7 +2486,7 @@ H5D__chunk_may_use_select_io(const H5D_io_info_t *io_info)
|
||||
const H5D_t *dataset = NULL; /* Local pointer to dataset info */
|
||||
htri_t ret_value = FAIL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(io_info);
|
||||
@ -2567,7 +2567,7 @@ H5D__chunk_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_info, hsize_
|
||||
haddr_t chunk_addrs_static[8]; /* Static buffer for chunk_addrs */
|
||||
herr_t ret_value = SUCCEED; /*return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(io_info);
|
||||
@ -2839,7 +2839,7 @@ H5D__chunk_write(H5D_io_info_t *io_info, const H5D_type_info_t *type_info, hsize
|
||||
haddr_t chunk_addrs_static[8]; /* Static buffer for chunk_addrs */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(io_info);
|
||||
@ -3177,7 +3177,7 @@ H5D__chunk_flush(H5D_t *dset)
|
||||
unsigned nerrors = 0; /* Count of any errors encountered when flushing chunks */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset);
|
||||
@ -3212,7 +3212,7 @@ H5D__chunk_io_term(const H5D_chunk_map_t *fm)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /*return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Single element I/O vs. multiple element I/O cleanup */
|
||||
if (fm->use_single) {
|
||||
@ -3268,7 +3268,7 @@ H5D__chunk_dest(H5D_t *dset)
|
||||
H5O_storage_chunk_t *sc = &(dset->shared->layout.storage.u.chunk);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_TAG(dset->oloc.addr)
|
||||
FUNC_ENTER_PACKAGE_TAG(dset->oloc.addr)
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dset);
|
||||
@ -3351,7 +3351,7 @@ done:
|
||||
static herr_t
|
||||
H5D__chunk_cinfo_cache_reset(H5D_chunk_cached_t *last)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(last);
|
||||
@ -3377,7 +3377,7 @@ H5D__chunk_cinfo_cache_reset(H5D_chunk_cached_t *last)
|
||||
static herr_t
|
||||
H5D__chunk_cinfo_cache_update(H5D_chunk_cached_t *last, const H5D_chunk_ud_t *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(last);
|
||||
@ -3415,7 +3415,7 @@ H5D__chunk_cinfo_cache_found(const H5D_chunk_cached_t *last, H5D_chunk_ud_t *uda
|
||||
{
|
||||
hbool_t ret_value = FALSE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(last);
|
||||
@ -3520,7 +3520,7 @@ H5D__chunk_hash_val(const H5D_shared_t *shared, const hsize_t *scaled)
|
||||
unsigned ret = 0; /* Value to return */
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(shared);
|
||||
@ -3717,7 +3717,7 @@ H5D__chunk_flush_entry(const H5D_t *dset, H5D_rdcc_ent_t *ent, hbool_t reset)
|
||||
H5O_storage_chunk_t *sc = &(dset->shared->layout.storage.u.chunk);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(dset);
|
||||
HDassert(dset->shared);
|
||||
@ -3906,7 +3906,7 @@ H5D__chunk_cache_evict(const H5D_t *dset, H5D_rdcc_ent_t *ent, hbool_t flush)
|
||||
H5D_rdcc_t *rdcc = &(dset->shared->cache.chunk);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dset);
|
||||
@ -3992,7 +3992,7 @@ H5D__chunk_cache_prune(const H5D_t *dset, size_t size)
|
||||
int nerrors = 0; /* Accumulated error count during preemptions */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Preemption is accomplished by having multiple pointers (currently two)
|
||||
@ -4120,7 +4120,7 @@ H5D__chunk_lock(const H5D_io_info_t *io_info, H5D_chunk_ud_t *udata, hbool_t rel
|
||||
void * chunk = NULL; /*the file chunk */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(io_info);
|
||||
@ -4508,7 +4508,7 @@ H5D__chunk_unlock(const H5D_io_info_t *io_info, const H5D_chunk_ud_t *udata, hbo
|
||||
const H5D_rdcc_t * rdcc = &(io_info->dset->shared->cache.chunk);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(io_info);
|
||||
@ -4603,7 +4603,7 @@ H5D__chunk_allocated_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
{
|
||||
hsize_t *nbytes = (hsize_t *)_udata;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(hsize_t *)nbytes += chunk_rec->nbytes;
|
||||
|
||||
@ -5348,7 +5348,7 @@ H5D__chunk_collective_fill(const H5D_t *dset, H5D_chunk_coll_fill_info_t *chunk_
|
||||
size_t i; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* If a separate fill buffer is provided for partial chunks, ensure
|
||||
@ -5581,7 +5581,7 @@ H5D__chunk_cmp_coll_fill_info(const void *_entry1, const void *_entry2)
|
||||
const struct chunk_coll_fill_info *entry1;
|
||||
const struct chunk_coll_fill_info *entry2;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
entry1 = (const struct chunk_coll_fill_info *)_entry1;
|
||||
entry2 = (const struct chunk_coll_fill_info *)_entry2;
|
||||
@ -5622,7 +5622,7 @@ H5D__chunk_prune_fill(H5D_chunk_it_ud1_t *udata, hbool_t new_unfilt_chunk)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the chunk's size */
|
||||
HDassert(layout->u.chunk.size > 0);
|
||||
@ -6162,7 +6162,7 @@ H5D__chunk_addrmap_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
unsigned rank = udata->common.layout->ndims - 1; /* # of dimensions of dataset */
|
||||
hsize_t chunk_index;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Compute the index for this chunk */
|
||||
chunk_index = H5VM_array_offset_pre(rank, udata->common.layout->down_chunks, chunk_rec->scaled);
|
||||
@ -6446,7 +6446,7 @@ H5D__chunk_copy_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
H5Z_cb_t filter_cb; /* Filter failure callback struct */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get 'size_t' local value for number of bytes in chunk */
|
||||
H5_CHECKED_ASSIGN(nbytes, size_t, chunk_rec->nbytes, uint32_t);
|
||||
@ -7037,7 +7037,7 @@ H5D__chunk_dump_index_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
{
|
||||
H5D_chunk_it_ud4_t *udata = (H5D_chunk_it_ud4_t *)_udata; /* User data from caller */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (udata->stream) {
|
||||
unsigned u; /* Local index variable */
|
||||
@ -7213,7 +7213,7 @@ H5D__nonexistent_readvv_cb(hsize_t H5_ATTR_UNUSED dst_off, hsize_t src_off, size
|
||||
hbool_t fb_info_init = FALSE; /* Whether the fill value buffer has been initialized */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Initialize the fill value buffer */
|
||||
if (H5D__fill_init(&fb_info, (udata->rbuf + src_off), NULL, NULL, NULL, NULL,
|
||||
@ -7262,7 +7262,7 @@ H5D__nonexistent_readvv(const H5D_io_info_t *io_info, size_t chunk_max_nseq, siz
|
||||
H5D_chunk_readvv_ud_t udata; /* User data for H5VM_opvv() operator */
|
||||
ssize_t ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(io_info);
|
||||
@ -7308,7 +7308,7 @@ H5D__chunk_is_partial_edge_chunk(unsigned dset_ndims, const uint32_t *chunk_dims
|
||||
unsigned u; /* Local index variable */
|
||||
hbool_t ret_value = FALSE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(scaled);
|
||||
@ -7346,7 +7346,7 @@ H5D__chunk_file_alloc(const H5D_chk_idx_info_t *idx_info, const H5F_block_t *old
|
||||
hbool_t alloc_chunk = FALSE; /* Whether to allocate chunk */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(idx_info);
|
||||
@ -7483,7 +7483,7 @@ H5D__chunk_format_convert_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
void * buf = NULL; /* Pointer to buffer of chunk data */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Set up */
|
||||
new_idx_info = udata->new_idx_info;
|
||||
@ -7613,7 +7613,7 @@ H5D__chunk_index_empty_cb(const H5D_chunk_rec_t H5_ATTR_UNUSED *chunk_rec, void
|
||||
hbool_t *empty = (hbool_t *)_udata;
|
||||
int ret_value = H5_ITER_STOP;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*empty = FALSE;
|
||||
|
||||
@ -7700,7 +7700,7 @@ H5D__get_num_chunks_cb(const H5D_chunk_rec_t H5_ATTR_UNUSED *chunk_rec, void *_u
|
||||
hsize_t *num_chunks = (hsize_t *)_udata;
|
||||
int ret_value = H5_ITER_CONT; /* Callback return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(num_chunks);
|
||||
|
||||
@ -7792,7 +7792,7 @@ H5D__get_chunk_info_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
H5D_chunk_info_iter_ud_t *chunk_info = (H5D_chunk_info_iter_ud_t *)_udata;
|
||||
int ret_value = H5_ITER_CONT; /* Callback return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(chunk_rec);
|
||||
@ -7933,7 +7933,7 @@ H5D__get_chunk_info_by_coord_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
hsize_t ii; /* Local index value */
|
||||
int ret_value = H5_ITER_CONT; /* Callback return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(chunk_rec);
|
||||
@ -8070,7 +8070,7 @@ H5D__chunk_iter_cb(const H5D_chunk_rec_t *chunk_rec, void *udata)
|
||||
const H5D_chunk_iter_ud_t *data = (H5D_chunk_iter_ud_t *)udata;
|
||||
int ret_value = H5_ITER_CONT;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check for callback failure and pass along return value */
|
||||
if ((ret_value = (data->op)(chunk_rec->scaled, chunk_rec->filter_mask, chunk_rec->chunk_addr,
|
||||
|
@ -176,7 +176,7 @@ H5D__compact_construct(H5F_t *f, H5D_t *dset)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -225,7 +225,7 @@ done:
|
||||
static hbool_t
|
||||
H5D__compact_is_space_alloc(const H5O_storage_t H5_ATTR_UNUSED *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(storage);
|
||||
@ -251,7 +251,7 @@ H5D__compact_io_init(H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSE
|
||||
hsize_t H5_ATTR_UNUSED nelmts, H5S_t H5_ATTR_UNUSED *file_space,
|
||||
H5S_t H5_ATTR_UNUSED *mem_space, H5D_chunk_map_t H5_ATTR_UNUSED *cm)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
io_info->store->compact.buf = io_info->dset->shared->layout.storage.u.compact.buf;
|
||||
io_info->store->compact.dirty = &io_info->dset->shared->layout.storage.u.compact.dirty;
|
||||
@ -278,7 +278,7 @@ H5D__compact_iovv_memmanage_cb(hsize_t dst_off, hsize_t src_off, size_t len, voi
|
||||
H5FD_t * file_handle = NULL;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Retrieve pointer to file driver structure for ctl call */
|
||||
if (H5F_shared_get_file_driver(udata->f_sh, &file_handle) < 0)
|
||||
@ -326,7 +326,7 @@ H5D__compact_readvv(const H5D_io_info_t *io_info, size_t dset_max_nseq, size_t *
|
||||
{
|
||||
ssize_t ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(io_info);
|
||||
|
||||
@ -385,7 +385,7 @@ H5D__compact_writevv(const H5D_io_info_t *io_info, size_t dset_max_nseq, size_t
|
||||
{
|
||||
ssize_t ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(io_info);
|
||||
|
||||
@ -436,7 +436,7 @@ H5D__compact_flush(H5D_t *dset)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset);
|
||||
@ -469,7 +469,7 @@ done:
|
||||
static herr_t
|
||||
H5D__compact_dest(H5D_t *dset)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset);
|
||||
|
@ -382,7 +382,7 @@ H5D__contig_construct(H5F_t *f, H5D_t *dset)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -453,7 +453,7 @@ H5D__contig_init(H5F_t H5_ATTR_UNUSED *f, const H5D_t *dset, hid_t H5_ATTR_UNUSE
|
||||
size_t tmp_sieve_buf_size; /* Temporary holder for sieve buffer size */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -575,7 +575,7 @@ H5D__contig_io_init(H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSED
|
||||
htri_t use_selection_io = FALSE; /* Whether to use selection I/O */
|
||||
htri_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
io_info->store->contig.dset_addr = io_info->dset->shared->layout.storage.u.contig.addr;
|
||||
io_info->store->contig.dset_size = io_info->dset->shared->layout.storage.u.contig.size;
|
||||
@ -608,7 +608,7 @@ H5D__contig_may_use_select_io(const H5D_io_info_t *io_info, H5D_io_op_type_t op_
|
||||
const H5D_t *dataset = io_info->dset; /* Local pointer to dataset info */
|
||||
htri_t ret_value = FAIL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(io_info);
|
||||
@ -761,7 +761,7 @@ H5D__contig_write_one(H5D_io_info_t *io_info, hsize_t offset, size_t size)
|
||||
size_t mem_curr_seq = 0; /* "Current sequence" in memory */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(io_info);
|
||||
|
||||
@ -804,7 +804,7 @@ H5D__contig_readvv_sieve_cb(hsize_t dst_off, hsize_t src_off, size_t len, void *
|
||||
hsize_t min; /* temporary minimum value (avoids some ugly macro nesting) */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Stash local copies of these value */
|
||||
if (dset_contig->sieve_buf != NULL) {
|
||||
@ -958,7 +958,7 @@ H5D__contig_readvv_cb(hsize_t dst_off, hsize_t src_off, size_t len, void *_udata
|
||||
H5D_contig_readvv_ud_t *udata = (H5D_contig_readvv_ud_t *)_udata; /* User data for H5VM_opvv() operator */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Write data */
|
||||
if (H5F_shared_block_read(udata->f_sh, H5FD_MEM_DRAW, (udata->dset_addr + dst_off), len,
|
||||
@ -994,7 +994,7 @@ H5D__contig_readvv(const H5D_io_info_t *io_info, size_t dset_max_nseq, size_t *d
|
||||
{
|
||||
ssize_t ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(io_info);
|
||||
@ -1071,7 +1071,7 @@ H5D__contig_writevv_sieve_cb(hsize_t dst_off, hsize_t src_off, size_t len, void
|
||||
hsize_t min; /* temporary minimum value (avoids some ugly macro nesting) */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Stash local copies of these values */
|
||||
if (dset_contig->sieve_buf != NULL) {
|
||||
@ -1276,7 +1276,7 @@ H5D__contig_writevv_cb(hsize_t dst_off, hsize_t src_off, size_t len, void *_udat
|
||||
(H5D_contig_writevv_ud_t *)_udata; /* User data for H5VM_opvv() operator */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Write data */
|
||||
if (H5F_shared_block_write(udata->f_sh, H5FD_MEM_DRAW, (udata->dset_addr + dst_off), len,
|
||||
@ -1312,7 +1312,7 @@ H5D__contig_writevv(const H5D_io_info_t *io_info, size_t dset_max_nseq, size_t *
|
||||
{
|
||||
ssize_t ret_value = -1; /* Return value (Size of sequence in bytes) */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(io_info);
|
||||
@ -1375,7 +1375,7 @@ H5D__contig_flush(H5D_t *dset)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset);
|
||||
|
@ -219,7 +219,7 @@ H5D__earray_crt_context(void *_udata)
|
||||
H5D_earray_ctx_ud_t *udata = (H5D_earray_ctx_ud_t *)_udata; /* User data for extensible array context */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata);
|
||||
@ -266,7 +266,7 @@ H5D__earray_dst_context(void *_ctx)
|
||||
{
|
||||
H5D_earray_ctx_t *ctx = (H5D_earray_ctx_t *)_ctx; /* Extensible array callback context */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(ctx);
|
||||
@ -295,7 +295,7 @@ H5D__earray_fill(void *nat_blk, size_t nelmts)
|
||||
{
|
||||
haddr_t fill_val = H5D_EARRAY_FILL; /* Value to fill elements with */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(nat_blk);
|
||||
@ -325,7 +325,7 @@ H5D__earray_encode(void *raw, const void *_elmt, size_t nelmts, void *_ctx)
|
||||
H5D_earray_ctx_t *ctx = (H5D_earray_ctx_t *)_ctx; /* Extensible array callback context */
|
||||
const haddr_t * elmt = (const haddr_t *)_elmt; /* Convenience pointer to native elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -369,7 +369,7 @@ H5D__earray_decode(const void *_raw, void *_elmt, size_t nelmts, void *_ctx)
|
||||
haddr_t * elmt = (haddr_t *)_elmt; /* Convenience pointer to native elements */
|
||||
const uint8_t * raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -410,7 +410,7 @@ H5D__earray_debug(FILE *stream, int indent, int fwidth, hsize_t idx, const void
|
||||
{
|
||||
char temp_str[128]; /* Temporary string, for formatting */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(stream);
|
||||
@ -441,7 +441,7 @@ H5D__earray_filt_fill(void *nat_blk, size_t nelmts)
|
||||
{
|
||||
H5D_earray_filt_elmt_t fill_val = H5D_EARRAY_FILT_FILL; /* Value to fill elements with */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(nat_blk);
|
||||
@ -474,7 +474,7 @@ H5D__earray_filt_encode(void *_raw, const void *_elmt, size_t nelmts, void *_ctx
|
||||
const H5D_earray_filt_elmt_t *elmt =
|
||||
(const H5D_earray_filt_elmt_t *)_elmt; /* Convenience pointer to native elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -521,7 +521,7 @@ H5D__earray_filt_decode(const void *_raw, void *_elmt, size_t nelmts, void *_ctx
|
||||
(H5D_earray_filt_elmt_t *)_elmt; /* Convenience pointer to native elements */
|
||||
const uint8_t *raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -566,7 +566,7 @@ H5D__earray_filt_debug(FILE *stream, int indent, int fwidth, hsize_t idx, const
|
||||
(const H5D_earray_filt_elmt_t *)_elmt; /* Convenience pointer to native elements */
|
||||
char temp_str[128]; /* Temporary string, for formatting */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(stream);
|
||||
@ -602,7 +602,7 @@ H5D__earray_crt_dbg_context(H5F_t *f, haddr_t obj_addr)
|
||||
H5O_layout_t layout; /* Layout message */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -673,7 +673,7 @@ H5D__earray_dst_dbg_context(void *_dbg_ctx)
|
||||
H5D_earray_ctx_ud_t *dbg_ctx =
|
||||
(H5D_earray_ctx_ud_t *)_dbg_ctx; /* Context for extensible array callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dbg_ctx);
|
||||
@ -706,7 +706,7 @@ H5D__earray_idx_depend(const H5D_chk_idx_info_t *idx_info)
|
||||
H5AC_proxy_entry_t *oh_proxy; /* Dataset's object header proxy */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -770,7 +770,7 @@ H5D__earray_idx_open(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_earray_ctx_ud_t udata; /* User data for extensible array open call */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -824,7 +824,7 @@ H5D__earray_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t *space, had
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -893,7 +893,7 @@ H5D__earray_idx_create(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_earray_ctx_ud_t udata; /* User data for extensible array create call */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -970,7 +970,7 @@ done:
|
||||
static hbool_t
|
||||
H5D__earray_idx_is_space_alloc(const H5O_storage_chunk_t *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -996,7 +996,7 @@ H5D__earray_idx_insert(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata
|
||||
H5EA_t *ea; /* Pointer to extensible array structure */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1067,7 +1067,7 @@ H5D__earray_idx_get_addr(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *uda
|
||||
hsize_t idx; /* Array index of chunk */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1160,7 +1160,7 @@ done:
|
||||
static herr_t
|
||||
H5D__earray_idx_resize(H5O_layout_chunk_t *layout)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(layout);
|
||||
@ -1213,7 +1213,7 @@ H5D__earray_idx_iterate_cb(hsize_t H5_ATTR_UNUSED idx, const void *_elmt, void *
|
||||
int curr_dim; /* Current dimension */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Compose generic chunk record for callback */
|
||||
if (udata->filtered) {
|
||||
@ -1276,7 +1276,7 @@ H5D__earray_idx_iterate(const H5D_chk_idx_info_t *idx_info, H5D_chunk_cb_func_t
|
||||
H5EA_stat_t ea_stat; /* Extensible array statistics */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1348,7 +1348,7 @@ H5D__earray_idx_remove(const H5D_chk_idx_info_t *idx_info, H5D_chunk_common_ud_t
|
||||
hsize_t idx; /* Array index of chunk */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1461,7 +1461,7 @@ H5D__earray_idx_delete_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
H5F_t *f = (H5F_t *)_udata; /* User data for callback */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(chunk_rec);
|
||||
@ -1501,7 +1501,7 @@ H5D__earray_idx_delete(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1556,7 +1556,7 @@ H5D__earray_idx_copy_setup(const H5D_chk_idx_info_t *idx_info_src, const H5D_chk
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info_src);
|
||||
@ -1609,7 +1609,7 @@ H5D__earray_idx_copy_shutdown(H5O_storage_chunk_t *storage_src, H5O_storage_chun
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage_src);
|
||||
@ -1649,7 +1649,7 @@ H5D__earray_idx_size(const H5D_chk_idx_info_t *idx_info, hsize_t *index_size)
|
||||
H5EA_stat_t ea_stat; /* Extensible array statistics */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -1700,7 +1700,7 @@ done:
|
||||
static herr_t
|
||||
H5D__earray_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -1730,7 +1730,7 @@ H5D__earray_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
static herr_t
|
||||
H5D__earray_idx_dump(const H5O_storage_chunk_t *storage, FILE *stream)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -1758,7 +1758,7 @@ H5D__earray_idx_dest(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
|
16
src/H5Defl.c
16
src/H5Defl.c
@ -126,7 +126,7 @@ H5D__efl_construct(H5F_t *f, H5D_t *dset)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -213,7 +213,7 @@ H5D__efl_io_init(H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSED *t
|
||||
hsize_t H5_ATTR_UNUSED nelmts, H5S_t H5_ATTR_UNUSED *file_space,
|
||||
H5S_t H5_ATTR_UNUSED *mem_space, H5D_chunk_map_t H5_ATTR_UNUSED *cm)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
H5MM_memcpy(&io_info->store->efl, &(io_info->dset->shared->dcpl_cache.efl), sizeof(H5O_efl_t));
|
||||
|
||||
@ -250,7 +250,7 @@ H5D__efl_read(const H5O_efl_t *efl, const H5D_t *dset, haddr_t addr, size_t size
|
||||
char * full_name = NULL; /* File name with prefix */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(efl && efl->nused > 0);
|
||||
@ -338,7 +338,7 @@ H5D__efl_write(const H5O_efl_t *efl, const H5D_t *dset, haddr_t addr, size_t siz
|
||||
char * full_name = NULL; /* File name with prefix */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(efl && efl->nused > 0);
|
||||
@ -417,7 +417,7 @@ H5D__efl_readvv_cb(hsize_t dst_off, hsize_t src_off, size_t len, void *_udata)
|
||||
H5D_efl_readvv_ud_t *udata = (H5D_efl_readvv_ud_t *)_udata; /* User data for H5VM_opvv() operator */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Read data */
|
||||
if (H5D__efl_read(udata->efl, udata->dset, dst_off, len, (udata->rbuf + src_off)) < 0)
|
||||
@ -450,7 +450,7 @@ H5D__efl_readvv(const H5D_io_info_t *io_info, size_t dset_max_nseq, size_t *dset
|
||||
H5D_efl_readvv_ud_t udata; /* User data for H5VM_opvv() operator */
|
||||
ssize_t ret_value = -1; /* Return value (Total size of sequence in bytes) */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(io_info);
|
||||
@ -497,7 +497,7 @@ H5D__efl_writevv_cb(hsize_t dst_off, hsize_t src_off, size_t len, void *_udata)
|
||||
H5D_efl_writevv_ud_t *udata = (H5D_efl_writevv_ud_t *)_udata; /* User data for H5VM_opvv() operator */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Write data */
|
||||
if (H5D__efl_write(udata->efl, udata->dset, dst_off, len, (udata->wbuf + src_off)) < 0)
|
||||
@ -530,7 +530,7 @@ H5D__efl_writevv(const H5D_io_info_t *io_info, size_t dset_max_nseq, size_t *dse
|
||||
H5D_efl_writevv_ud_t udata; /* User data for H5VM_opvv() operator */
|
||||
ssize_t ret_value = -1; /* Return value (Total size of sequence in bytes) */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(io_info);
|
||||
|
@ -218,7 +218,7 @@ H5D__farray_crt_context(void *_udata)
|
||||
H5D_farray_ctx_ud_t *udata = (H5D_farray_ctx_ud_t *)_udata; /* User data for fixed array context */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata);
|
||||
@ -264,7 +264,7 @@ H5D__farray_dst_context(void *_ctx)
|
||||
{
|
||||
H5D_farray_ctx_t *ctx = (H5D_farray_ctx_t *)_ctx; /* Fixed array callback context */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(ctx);
|
||||
@ -293,7 +293,7 @@ H5D__farray_fill(void *nat_blk, size_t nelmts)
|
||||
{
|
||||
haddr_t fill_val = H5D_FARRAY_FILL; /* Value to fill elements with */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(nat_blk);
|
||||
@ -323,7 +323,7 @@ H5D__farray_encode(void *raw, const void *_elmt, size_t nelmts, void *_ctx)
|
||||
H5D_farray_ctx_t *ctx = (H5D_farray_ctx_t *)_ctx; /* Fixed array callback context */
|
||||
const haddr_t * elmt = (const haddr_t *)_elmt; /* Convenience pointer to native elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -367,7 +367,7 @@ H5D__farray_decode(const void *_raw, void *_elmt, size_t nelmts, void *_ctx)
|
||||
haddr_t * elmt = (haddr_t *)_elmt; /* Convenience pointer to native elements */
|
||||
const uint8_t * raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -408,7 +408,7 @@ H5D__farray_debug(FILE *stream, int indent, int fwidth, hsize_t idx, const void
|
||||
{
|
||||
char temp_str[128]; /* Temporary string, for formatting */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(stream);
|
||||
@ -444,7 +444,7 @@ H5D__farray_crt_dbg_context(H5F_t *f, haddr_t obj_addr)
|
||||
H5O_layout_t layout; /* Layout message */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -514,7 +514,7 @@ H5D__farray_dst_dbg_context(void *_dbg_ctx)
|
||||
{
|
||||
H5D_farray_ctx_ud_t *dbg_ctx = (H5D_farray_ctx_ud_t *)_dbg_ctx; /* Context for fixed array callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dbg_ctx);
|
||||
@ -543,7 +543,7 @@ H5D__farray_filt_fill(void *nat_blk, size_t nelmts)
|
||||
{
|
||||
H5D_farray_filt_elmt_t fill_val = H5D_FARRAY_FILT_FILL; /* Value to fill elements with */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(nat_blk);
|
||||
@ -576,7 +576,7 @@ H5D__farray_filt_encode(void *_raw, const void *_elmt, size_t nelmts, void *_ctx
|
||||
const H5D_farray_filt_elmt_t *elmt =
|
||||
(const H5D_farray_filt_elmt_t *)_elmt; /* Convenience pointer to native elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -623,7 +623,7 @@ H5D__farray_filt_decode(const void *_raw, void *_elmt, size_t nelmts, void *_ctx
|
||||
(H5D_farray_filt_elmt_t *)_elmt; /* Convenience pointer to native elements */
|
||||
const uint8_t *raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -668,7 +668,7 @@ H5D__farray_filt_debug(FILE *stream, int indent, int fwidth, hsize_t idx, const
|
||||
(const H5D_farray_filt_elmt_t *)_elmt; /* Convenience pointer to native elements */
|
||||
char temp_str[128]; /* Temporary string, for formatting */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(stream);
|
||||
@ -704,7 +704,7 @@ H5D__farray_idx_depend(const H5D_chk_idx_info_t *idx_info)
|
||||
H5AC_proxy_entry_t *oh_proxy; /* Dataset's object header proxy */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -760,7 +760,7 @@ static herr_t
|
||||
H5D__farray_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t H5_ATTR_UNUSED *space,
|
||||
haddr_t dset_ohdr_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -792,7 +792,7 @@ H5D__farray_idx_open(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_farray_ctx_ud_t udata; /* User data for fixed array open call */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -849,7 +849,7 @@ H5D__farray_idx_create(const H5D_chk_idx_info_t *idx_info)
|
||||
H5D_farray_ctx_ud_t udata; /* User data for fixed array create call */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -920,7 +920,7 @@ done:
|
||||
static hbool_t
|
||||
H5D__farray_idx_is_space_alloc(const H5O_storage_chunk_t *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -946,7 +946,7 @@ H5D__farray_idx_insert(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata
|
||||
H5FA_t *fa; /* Pointer to fixed array structure */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1017,7 +1017,7 @@ H5D__farray_idx_get_addr(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *uda
|
||||
hsize_t idx; /* Array index of chunk */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1096,7 +1096,7 @@ H5D__farray_idx_iterate_cb(hsize_t H5_ATTR_UNUSED idx, const void *_elmt, void *
|
||||
int curr_dim; /* Current dimension */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Compose generic chunk record for callback */
|
||||
if (udata->filtered) {
|
||||
@ -1155,7 +1155,7 @@ H5D__farray_idx_iterate(const H5D_chk_idx_info_t *idx_info, H5D_chunk_cb_func_t
|
||||
H5FA_stat_t fa_stat; /* Fixed array statistics */
|
||||
int ret_value = FAIL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1228,7 +1228,7 @@ H5D__farray_idx_remove(const H5D_chk_idx_info_t *idx_info, H5D_chunk_common_ud_t
|
||||
hsize_t idx; /* Array index of chunk */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1323,7 +1323,7 @@ H5D__farray_idx_delete_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
|
||||
H5F_t *f = (H5F_t *)_udata; /* User data for callback */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(chunk_rec);
|
||||
@ -1359,7 +1359,7 @@ H5D__farray_idx_delete(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -1414,7 +1414,7 @@ H5D__farray_idx_copy_setup(const H5D_chk_idx_info_t *idx_info_src, const H5D_chk
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info_src);
|
||||
@ -1467,7 +1467,7 @@ H5D__farray_idx_copy_shutdown(H5O_storage_chunk_t *storage_src, H5O_storage_chun
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage_src);
|
||||
@ -1507,7 +1507,7 @@ H5D__farray_idx_size(const H5D_chk_idx_info_t *idx_info, hsize_t *index_size)
|
||||
H5FA_stat_t fa_stat; /* Fixed array statistics */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -1557,7 +1557,7 @@ done:
|
||||
static herr_t
|
||||
H5D__farray_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -1585,7 +1585,7 @@ H5D__farray_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
static herr_t
|
||||
H5D__farray_idx_dump(const H5O_storage_chunk_t *storage, FILE *stream)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -1613,7 +1613,7 @@ H5D__farray_idx_dest(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
|
@ -590,7 +590,7 @@ done:
|
||||
static herr_t
|
||||
H5D__fill_release(H5D_fill_buf_info_t *fb_info)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(fb_info);
|
||||
|
36
src/H5Dint.c
36
src/H5Dint.c
@ -288,7 +288,7 @@ H5D__close_cb(H5VL_object_t *dset_vol_obj, void **request)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset_vol_obj);
|
||||
@ -423,7 +423,7 @@ H5D__new(hid_t dcpl_id, hid_t dapl_id, hbool_t creating, hbool_t vl_type)
|
||||
H5P_genplist_t *plist; /* Property list created */
|
||||
H5D_shared_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate new shared dataset structure */
|
||||
if (NULL == (new_dset = H5FL_MALLOC(H5D_shared_t)))
|
||||
@ -495,7 +495,7 @@ H5D__init_type(H5F_t *file, const H5D_t *dset, hid_t type_id, const H5T_t *type)
|
||||
hbool_t use_at_least_v18; /* Flag indicating to use at least v18 format versions */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checking */
|
||||
HDassert(file);
|
||||
@ -567,7 +567,7 @@ H5D__cache_dataspace_info(const H5D_t *dset)
|
||||
unsigned u; /* Local index value */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checking */
|
||||
HDassert(dset);
|
||||
@ -606,7 +606,7 @@ H5D__init_space(H5F_t *file, const H5D_t *dset, const H5S_t *space)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checking */
|
||||
HDassert(file);
|
||||
@ -652,7 +652,7 @@ H5D__use_minimized_dset_headers(H5F_t *file, hbool_t *minimize)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
HDassert(minimize);
|
||||
@ -693,7 +693,7 @@ H5D__calculate_minimum_header_size(H5F_t *file, H5D_t *dset, H5O_t *ohdr)
|
||||
size_t get_value = 0;
|
||||
size_t ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
HDassert(dset);
|
||||
@ -811,7 +811,7 @@ H5D__prepare_minimized_oh(H5F_t *file, H5D_t *dset, H5O_loc_t *oloc)
|
||||
size_t ohdr_size = 0;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
HDassert(dset);
|
||||
@ -858,7 +858,7 @@ H5D__update_oh_info(H5F_t *file, H5D_t *dset, hid_t dapl_id)
|
||||
hbool_t use_minimized_header = FALSE; /* Flag to use minimized dataset object headers */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checking */
|
||||
HDassert(file);
|
||||
@ -1060,7 +1060,7 @@ H5D__build_file_prefix(const H5D_t *dset, H5F_prefix_open_t prefix_type, char **
|
||||
size_t file_prefix_len; /* length of expanded prefix */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dset);
|
||||
@ -1598,7 +1598,7 @@ H5D__append_flush_setup(H5D_t *dset, hid_t dapl_id)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(dset);
|
||||
@ -1677,7 +1677,7 @@ H5D__open_oid(H5D_t *dataset, hid_t dapl_id)
|
||||
hbool_t layout_init = FALSE; /* Flag to indicate that chunk information was initialized */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_TAG(dataset->oloc.addr)
|
||||
FUNC_ENTER_PACKAGE_TAG(dataset->oloc.addr)
|
||||
|
||||
/* check args */
|
||||
HDassert(dataset);
|
||||
@ -2388,7 +2388,7 @@ H5D__init_storage(const H5D_io_info_t *io_info, hbool_t full_overwrite, hsize_t
|
||||
const H5D_t *dset = io_info->dset; /* dataset pointer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(dset);
|
||||
|
||||
@ -2565,7 +2565,7 @@ H5D__vlen_get_buf_size_alloc(size_t size, void *info)
|
||||
H5D_vlen_bufsize_common_t *vlen_bufsize_com = (H5D_vlen_bufsize_common_t *)info;
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for increasing the size of the temporary space for VL data */
|
||||
if (size > vlen_bufsize_com->vl_tbuf_size) {
|
||||
@ -2601,7 +2601,7 @@ H5D__vlen_get_buf_size_cb(void H5_ATTR_UNUSED *elem, hid_t type_id, unsigned H5_
|
||||
H5D_vlen_bufsize_native_t *vlen_bufsize = (H5D_vlen_bufsize_native_t *)op_data;
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(H5I_DATATYPE == H5I_get_type(type_id));
|
||||
@ -2747,7 +2747,7 @@ H5D__vlen_get_buf_size_gen_cb(void H5_ATTR_UNUSED *elem, hid_t type_id, unsigned
|
||||
H5T_t * dt; /* Datatype for operation */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(point);
|
||||
@ -2908,7 +2908,7 @@ H5D__check_filters(H5D_t *dataset)
|
||||
H5O_fill_t *fill; /* Dataset's fill value */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(dataset);
|
||||
@ -3466,7 +3466,7 @@ H5D__flush_all_cb(void *_dataset, hid_t H5_ATTR_UNUSED id, void *_udata)
|
||||
H5F_t *f = (H5F_t *)_udata; /* User data for callback */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(dataset);
|
||||
|
@ -538,7 +538,7 @@ done:
|
||||
static herr_t
|
||||
H5D__ioinfo_init(H5D_t *dset, const H5D_type_info_t *type_info, H5D_storage_t *store, H5D_io_info_t *io_info)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* check args */
|
||||
HDassert(dset);
|
||||
@ -609,7 +609,7 @@ H5D__typeinfo_init(const H5D_t *dset, hid_t mem_type_id, hbool_t do_write, H5D_t
|
||||
H5Z_data_xform_t *data_transform; /* Data transform info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check args */
|
||||
HDassert(type_info);
|
||||
@ -779,7 +779,7 @@ H5D__ioinfo_adjust(H5D_io_info_t *io_info, const H5D_t *dset, const H5S_t *file_
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check args */
|
||||
HDassert(dset);
|
||||
@ -891,7 +891,7 @@ done:
|
||||
static herr_t
|
||||
H5D__typeinfo_term(const H5D_type_info_t *type_info)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check for releasing datatype conversion & background buffers */
|
||||
if (type_info->tconv_buf_allocated) {
|
||||
|
@ -508,7 +508,7 @@ static FILE * debug_stream = NULL;
|
||||
static void
|
||||
H5D__mpio_parse_debug_str(const char *s)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(s);
|
||||
|
||||
@ -555,7 +555,7 @@ H5D__mpio_debug_init(void)
|
||||
const char *debug_str;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(!H5D_mpio_debug_inited);
|
||||
|
||||
@ -963,7 +963,7 @@ H5D__mpio_get_sum_chunk(const H5D_io_info_t *io_info, const H5D_chunk_map_t *fm,
|
||||
int mpi_code; /* MPI return code */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the number of chunks to perform I/O on */
|
||||
num_chunkf = 0;
|
||||
@ -1110,7 +1110,7 @@ H5D__chunk_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *type_inf
|
||||
int mpi_size;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(io_info);
|
||||
@ -1348,7 +1348,7 @@ H5D__link_chunk_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *typ
|
||||
int mpi_code; /* MPI return code */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Set the actual-chunk-opt-mode property. */
|
||||
H5CX_set_mpio_actual_chunk_opt(H5D_MPIO_LINK_CHUNK);
|
||||
@ -1707,7 +1707,7 @@ H5D__link_chunk_filtered_collective_io(H5D_io_info_t *io_info, const H5D_type_in
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(io_info);
|
||||
HDassert(type_info);
|
||||
@ -1907,7 +1907,7 @@ H5D__multi_chunk_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *ty
|
||||
H5D_MPIO_NO_COLLECTIVE; /* Local variable for tracking the I/O mode used. */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Set the actual chunk opt mode property */
|
||||
H5CX_set_mpio_actual_chunk_opt(H5D_MPIO_MULTI_CHUNK);
|
||||
@ -2159,7 +2159,7 @@ H5D__multi_chunk_filtered_collective_io(H5D_io_info_t *io_info, const H5D_type_i
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(io_info);
|
||||
HDassert(type_info);
|
||||
@ -2385,7 +2385,7 @@ H5D__inter_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *type_inf
|
||||
#endif
|
||||
herr_t ret_value = SUCCEED; /* return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5Dmpio_DEBUG
|
||||
mpi_rank = H5F_mpi_get_rank(io_info->dset->oloc.file);
|
||||
@ -2498,7 +2498,7 @@ H5D__final_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *type_inf
|
||||
#endif
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5Dmpio_DEBUG
|
||||
mpi_rank = H5F_mpi_get_rank(io_info->dset->oloc.file);
|
||||
@ -2550,7 +2550,7 @@ H5D__cmp_chunk_addr(const void *chunk_addr_info1, const void *chunk_addr_info2)
|
||||
{
|
||||
haddr_t addr1 = HADDR_UNDEF, addr2 = HADDR_UNDEF;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
addr1 = ((const H5D_chunk_addr_info_t *)chunk_addr_info1)->chunk_addr;
|
||||
addr2 = ((const H5D_chunk_addr_info_t *)chunk_addr_info2)->chunk_addr;
|
||||
@ -2581,7 +2581,7 @@ H5D__cmp_filtered_collective_io_info_entry(const void *filtered_collective_io_in
|
||||
haddr_t addr2 = HADDR_UNDEF;
|
||||
int ret_value;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
entry1 = (const H5D_filtered_collective_io_info_t *)filtered_collective_io_info_entry1;
|
||||
entry2 = (const H5D_filtered_collective_io_info_t *)filtered_collective_io_info_entry2;
|
||||
@ -2633,7 +2633,7 @@ H5D__cmp_chunk_redistribute_info(const void *_entry1, const void *_entry2)
|
||||
hsize_t chunk_index2;
|
||||
int ret_value;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
entry1 = (const H5D_chunk_redistribute_info_t *)_entry1;
|
||||
entry2 = (const H5D_chunk_redistribute_info_t *)_entry2;
|
||||
@ -2676,7 +2676,7 @@ H5D__cmp_chunk_redistribute_info_orig_owner(const void *_entry1, const void *_en
|
||||
int owner2 = -1;
|
||||
int ret_value;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
entry1 = (const H5D_chunk_redistribute_info_t *)_entry1;
|
||||
entry2 = (const H5D_chunk_redistribute_info_t *)_entry2;
|
||||
@ -2756,7 +2756,7 @@ H5D__sort_chunk(H5D_io_info_t *io_info, const H5D_chunk_map_t *fm,
|
||||
int i; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Calculate the actual threshold to obtain all chunk addresses collectively
|
||||
* The bigger this number is, the more possible the use of obtaining chunk
|
||||
@ -2943,7 +2943,7 @@ H5D__obtain_mpio_mode(H5D_io_info_t *io_info, H5D_chunk_map_t *fm, uint8_t assig
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Assign the rank 0 to the root */
|
||||
root = 0;
|
||||
@ -3119,7 +3119,7 @@ H5D__mpio_collective_filtered_chunk_io_setup(const H5D_io_info_t *io_info, const
|
||||
size_t i;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(io_info);
|
||||
HDassert(type_info);
|
||||
@ -3339,7 +3339,7 @@ H5D__mpio_redistribute_shared_chunks(H5D_filtered_collective_io_info_t *chunk_li
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list || 0 == chunk_list_num_entries);
|
||||
HDassert(io_info);
|
||||
@ -3484,7 +3484,7 @@ H5D__mpio_redistribute_shared_chunks_int(H5D_filtered_collective_io_info_t *chun
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(num_chunks_assigned_map);
|
||||
HDassert(chunk_list || 0 == num_chunks_assigned_map[mpi_rank]);
|
||||
@ -3820,7 +3820,7 @@ H5D__mpio_share_chunk_modification_data(H5D_filtered_collective_io_info_t *chunk
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list_num_entries);
|
||||
HDassert(chunk_list || 0 == *chunk_list_num_entries);
|
||||
@ -4173,7 +4173,7 @@ done:
|
||||
|
||||
FUNC_LEAVE_NOAPI(ret_value)
|
||||
#else
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
HERROR(
|
||||
H5E_DATASET, H5E_WRITEERROR,
|
||||
"unable to send chunk modification data between MPI ranks - MPI version < 3 (MPI_Ibarrier missing)")
|
||||
@ -4210,7 +4210,7 @@ H5D__mpio_collective_filtered_chunk_common_io(H5D_filtered_collective_io_info_t
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list || 0 == chunk_list_num_entries);
|
||||
HDassert(io_info);
|
||||
@ -4344,7 +4344,7 @@ H5D__mpio_collective_filtered_chunk_read(H5D_filtered_collective_io_info_t *chun
|
||||
void * base_read_buf = NULL;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list || 0 == chunk_list_num_entries);
|
||||
HDassert(io_info);
|
||||
@ -4567,7 +4567,7 @@ H5D__mpio_collective_filtered_chunk_update(H5D_filtered_collective_io_info_t *ch
|
||||
void * base_read_buf = NULL;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list || 0 == chunk_list_num_entries);
|
||||
HDassert((chunk_msg_bufs && chunk_hash_table) || 0 == chunk_msg_bufs_len);
|
||||
@ -4908,7 +4908,7 @@ H5D__mpio_collective_filtered_chunk_reallocate(H5D_filtered_collective_io_info_t
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list || 0 == chunk_list_num_entries);
|
||||
HDassert(io_info);
|
||||
@ -5098,7 +5098,7 @@ H5D__mpio_collective_filtered_chunk_reinsert(H5D_filtered_collective_io_info_t *
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list || 0 == chunk_list_num_entries);
|
||||
HDassert(io_info);
|
||||
@ -5308,7 +5308,7 @@ H5D__mpio_get_chunk_redistribute_info_types(MPI_Datatype *contig_type, hbool_t *
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(contig_type);
|
||||
HDassert(contig_type_derived);
|
||||
@ -5449,7 +5449,7 @@ H5D__mpio_get_chunk_alloc_info_types(MPI_Datatype *contig_type, hbool_t *contig_
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(contig_type);
|
||||
HDassert(contig_type_derived);
|
||||
@ -5580,7 +5580,7 @@ H5D__mpio_get_chunk_insert_info_types(MPI_Datatype *contig_type, hbool_t *contig
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(contig_type);
|
||||
HDassert(contig_type_derived);
|
||||
@ -5706,7 +5706,7 @@ H5D__mpio_collective_filtered_io_type(H5D_filtered_collective_io_info_t *chunk_l
|
||||
int mpi_code;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(chunk_list || 0 == num_entries);
|
||||
HDassert(new_mem_type);
|
||||
@ -5943,7 +5943,7 @@ H5D__mpio_dump_collective_filtered_chunk_list(H5D_filtered_collective_io_info_t
|
||||
size_t i;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
H5D_MPIO_DEBUG(mpi_rank, "CHUNK LIST: [");
|
||||
for (i = 0; i < chunk_list_num_entries; i++) {
|
||||
|
@ -117,7 +117,7 @@ H5D__none_idx_create(const H5D_chk_idx_info_t *idx_info)
|
||||
haddr_t addr; /* The address of dataset chunks */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -158,7 +158,7 @@ done:
|
||||
static hbool_t
|
||||
H5D__none_idx_is_space_alloc(const H5O_storage_chunk_t *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -181,7 +181,7 @@ H5D__none_idx_is_space_alloc(const H5O_storage_chunk_t *storage)
|
||||
static herr_t
|
||||
H5D__none_idx_get_addr(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -229,7 +229,7 @@ H5D__none_idx_iterate(const H5D_chk_idx_info_t *idx_info, H5D_chunk_cb_func_t ch
|
||||
hsize_t idx; /* Array index of chunk */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -303,7 +303,7 @@ static herr_t
|
||||
H5D__none_idx_remove(const H5D_chk_idx_info_t H5_ATTR_UNUSED *idx_info,
|
||||
H5D_chunk_common_ud_t H5_ATTR_UNUSED *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* NO OP */
|
||||
|
||||
@ -328,7 +328,7 @@ H5D__none_idx_delete(const H5D_chk_idx_info_t *idx_info)
|
||||
hsize_t nbytes; /* Size of all chunks */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -367,7 +367,7 @@ H5D__none_idx_copy_setup(const H5D_chk_idx_info_t H5_ATTR_NDEBUG_UNUSED *idx_inf
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info_src);
|
||||
@ -414,7 +414,7 @@ done:
|
||||
static herr_t
|
||||
H5D__none_idx_size(const H5D_chk_idx_info_t H5_ATTR_UNUSED *idx_info, hsize_t *index_size)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(index_size);
|
||||
@ -438,7 +438,7 @@ H5D__none_idx_size(const H5D_chk_idx_info_t H5_ATTR_UNUSED *idx_info, hsize_t *i
|
||||
static herr_t
|
||||
H5D__none_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -464,7 +464,7 @@ H5D__none_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
static herr_t
|
||||
H5D__none_idx_dump(const H5O_storage_chunk_t *storage, FILE *stream)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
|
16
src/H5Doh.c
16
src/H5Doh.c
@ -99,7 +99,7 @@ H5O__dset_get_copy_file_udata(void)
|
||||
{
|
||||
void *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate space for the 'copy file' user data for copying datasets */
|
||||
if (NULL == (ret_value = H5FL_CALLOC(H5D_copy_file_ud_t)))
|
||||
@ -127,7 +127,7 @@ H5O__dset_free_copy_file_udata(void *_udata)
|
||||
{
|
||||
H5D_copy_file_ud_t *udata = (H5D_copy_file_ud_t *)_udata;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(udata);
|
||||
@ -173,7 +173,7 @@ H5O__dset_isa(const H5O_t *oh)
|
||||
htri_t exists; /* Flag if header message of interest exists */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(oh);
|
||||
|
||||
@ -213,7 +213,7 @@ H5O__dset_open(const H5G_loc_t *obj_loc, H5I_type_t *opened_type)
|
||||
hid_t dapl_id; /* dapl to use to open this dataset */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(obj_loc);
|
||||
|
||||
@ -276,7 +276,7 @@ H5O__dset_create(H5F_t *f, void *_crt_info, H5G_loc_t *obj_loc)
|
||||
H5D_t * dset = NULL; /* New dataset created */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -324,7 +324,7 @@ H5O__dset_get_oloc(hid_t obj_id)
|
||||
H5D_t * dset; /* Dataset opened */
|
||||
H5O_loc_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the dataset */
|
||||
if (NULL == (dset = (H5D_t *)H5VL_object(obj_id)))
|
||||
@ -362,7 +362,7 @@ H5O__dset_bh_info(const H5O_loc_t *loc, H5O_t *oh, H5_ih_info_t *bh_info)
|
||||
htri_t exists; /* Flag if header message of interest exists */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(loc);
|
||||
@ -442,7 +442,7 @@ H5O__dset_flush(void *_obj_ptr)
|
||||
H5O_type_t obj_type; /* Type of object at location */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(dset);
|
||||
HDassert(&dset->oloc);
|
||||
|
@ -96,7 +96,7 @@ H5D__scatter_file(const H5D_io_info_t *_io_info, H5S_sel_iter_t *iter, size_t ne
|
||||
size_t vec_size; /* Vector length */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(_io_info);
|
||||
@ -193,7 +193,7 @@ H5D__gather_file(const H5D_io_info_t *_io_info, H5S_sel_iter_t *iter, size_t nel
|
||||
size_t vec_size; /* Vector length */
|
||||
size_t ret_value = nelmts; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(_io_info);
|
||||
@ -751,7 +751,7 @@ H5D__compound_opt_read(size_t nelmts, H5S_sel_iter_t *iter, const H5D_type_info_
|
||||
size_t vec_size; /* Vector length */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(nelmts > 0);
|
||||
@ -875,7 +875,7 @@ H5D__compound_opt_write(size_t nelmts, const H5D_type_info_t *type_info)
|
||||
size_t src_stride, dst_stride; /* Strides through source & destination datatypes */
|
||||
size_t i; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(nelmts > 0);
|
||||
|
@ -97,7 +97,7 @@ H5D__select_io(const H5D_io_info_t *io_info, size_t elmt_size, size_t nelmts, H5
|
||||
ssize_t tmp_file_len; /* Temporary number of bytes in file sequence */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(io_info);
|
||||
|
@ -116,7 +116,7 @@ static herr_t
|
||||
H5D__single_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t H5_ATTR_UNUSED *space,
|
||||
haddr_t H5_ATTR_UNUSED dset_ohdr_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -154,7 +154,7 @@ H5D__single_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t H5_ATTR_UNU
|
||||
static herr_t
|
||||
H5D__single_idx_create(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info);
|
||||
@ -188,7 +188,7 @@ H5D__single_idx_create(const H5D_chk_idx_info_t *idx_info)
|
||||
static hbool_t
|
||||
H5D__single_idx_is_space_alloc(const H5O_storage_chunk_t *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -212,7 +212,7 @@ H5D__single_idx_insert(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -258,7 +258,7 @@ done:
|
||||
static herr_t
|
||||
H5D__single_idx_get_addr(const H5D_chk_idx_info_t *idx_info, H5D_chunk_ud_t *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -302,7 +302,7 @@ H5D__single_idx_iterate(const H5D_chk_idx_info_t *idx_info, H5D_chunk_cb_func_t
|
||||
H5D_chunk_rec_t chunk_rec; /* generic chunk record */
|
||||
int ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -351,7 +351,7 @@ H5D__single_idx_remove(const H5D_chk_idx_info_t *idx_info, H5D_chunk_common_ud_t
|
||||
hsize_t nbytes; /* Size of all chunks */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -392,7 +392,7 @@ H5D__single_idx_delete(const H5D_chk_idx_info_t *idx_info)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(idx_info);
|
||||
@ -426,7 +426,7 @@ H5D__single_idx_copy_setup(const H5D_chk_idx_info_t H5_ATTR_NDEBUG_UNUSED *idx_i
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(idx_info_src);
|
||||
@ -471,7 +471,7 @@ done:
|
||||
static herr_t
|
||||
H5D__single_idx_size(const H5D_chk_idx_info_t H5_ATTR_UNUSED *idx_info, hsize_t *index_size)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(index_size);
|
||||
@ -495,7 +495,7 @@ H5D__single_idx_size(const H5D_chk_idx_info_t H5_ATTR_UNUSED *idx_info, hsize_t
|
||||
static herr_t
|
||||
H5D__single_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
@ -521,7 +521,7 @@ H5D__single_idx_reset(H5O_storage_chunk_t *storage, hbool_t reset_addr)
|
||||
static herr_t
|
||||
H5D__single_idx_dump(const H5O_storage_chunk_t *storage, FILE *stream)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check args */
|
||||
HDassert(storage);
|
||||
|
@ -896,7 +896,7 @@ H5D__virtual_open_source_dset(const H5D_t *vdset, H5O_storage_virtual_ent_t *vir
|
||||
hbool_t src_file_open = FALSE; /* Whether we have opened and need to close src_file */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(vdset);
|
||||
@ -988,7 +988,7 @@ H5D__virtual_reset_source_dset(H5O_storage_virtual_ent_t * virtual_ent,
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(source_dset);
|
||||
@ -1070,7 +1070,7 @@ H5D__virtual_str_append(const char *src, size_t src_len, char **p, char **buf, s
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(src);
|
||||
@ -1262,7 +1262,7 @@ H5D__virtual_copy_parsed_name(H5O_storage_virtual_name_seg_t **dst, H5O_storage_
|
||||
H5O_storage_virtual_name_seg_t **p_dst = &tmp_dst;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dst);
|
||||
@ -1347,7 +1347,7 @@ H5D__virtual_build_source_name(char *source_name, const H5O_storage_virtual_name
|
||||
char * tmp_name = NULL; /* Name buffer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(source_name);
|
||||
@ -1937,7 +1937,7 @@ H5D__virtual_init_all(const H5D_t *dset)
|
||||
size_t i, j;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset);
|
||||
@ -2342,7 +2342,7 @@ H5D__virtual_is_data_cached(const H5D_shared_t *shared_dset)
|
||||
size_t i, j; /* Local index variables */
|
||||
hbool_t ret_value = FALSE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(shared_dset);
|
||||
@ -2398,7 +2398,7 @@ H5D__virtual_pre_io(H5D_io_info_t *io_info, H5O_storage_virtual_t *storage, H5S_
|
||||
size_t i, j, k; /* Local index variables */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(storage);
|
||||
@ -2654,7 +2654,7 @@ H5D__virtual_post_io(H5O_storage_virtual_t *storage)
|
||||
size_t i, j; /* Local index variables */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(storage);
|
||||
@ -2704,7 +2704,7 @@ H5D__virtual_read_one(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
H5S_t *projected_src_space = NULL; /* File space for selection in a single source dataset */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(source_dset);
|
||||
|
||||
@ -2767,7 +2767,7 @@ H5D__virtual_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_info, hsiz
|
||||
size_t i, j; /* Local index variables */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(io_info);
|
||||
@ -2894,7 +2894,7 @@ H5D__virtual_write_one(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
H5S_t *projected_src_space = NULL; /* File space for selection in a single source dataset */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(source_dset);
|
||||
|
||||
@ -2958,7 +2958,7 @@ H5D__virtual_write(H5D_io_info_t *io_info, const H5D_type_info_t *type_info, hsi
|
||||
size_t i, j; /* Local index variables */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(io_info);
|
||||
@ -3031,7 +3031,7 @@ H5D__virtual_flush(H5D_t *dset)
|
||||
size_t i, j; /* Local index variables */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset);
|
||||
@ -3151,7 +3151,7 @@ H5D__virtual_refresh_source_dset(H5D_t **dset)
|
||||
H5VL_object_t *vol_obj = NULL; /* VOL object stored with the ID */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dset && *dset);
|
||||
|
28
src/H5E.c
28
src/H5E.c
@ -282,7 +282,7 @@ H5E_term_package(void)
|
||||
static herr_t
|
||||
H5E__set_default_auto(H5E_t *stk)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#ifndef H5_NO_DEPRECATED_SYMBOLS
|
||||
#ifdef H5_USE_16_API_DEFAULT
|
||||
@ -372,7 +372,7 @@ H5E__get_stack(void)
|
||||
static herr_t
|
||||
H5E__free_class(H5E_cls_t *cls)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(cls);
|
||||
@ -443,7 +443,7 @@ H5E__register_class(const char *cls_name, const char *lib_name, const char *vers
|
||||
H5E_cls_t *cls = NULL; /* Pointer to error class */
|
||||
H5E_cls_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(cls_name);
|
||||
@ -525,7 +525,7 @@ H5E__unregister_class(H5E_cls_t *cls, void H5_ATTR_UNUSED **request)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(cls);
|
||||
@ -594,7 +594,7 @@ H5E__get_class_name(const H5E_cls_t *cls, char *name, size_t size)
|
||||
{
|
||||
ssize_t len = -1; /* Length of error class's name */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(cls);
|
||||
@ -634,7 +634,7 @@ H5E__close_msg_cb(void *obj_ptr, hid_t obj_id, void *udata)
|
||||
H5E_cls_t *cls = (H5E_cls_t *)udata;
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(err_msg);
|
||||
@ -698,7 +698,7 @@ done:
|
||||
static herr_t
|
||||
H5E__close_msg(H5E_msg_t *err, void H5_ATTR_UNUSED **request)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(err);
|
||||
@ -775,7 +775,7 @@ H5E__create_msg(H5E_cls_t *cls, H5E_type_t msg_type, const char *msg_str)
|
||||
H5E_msg_t *msg = NULL; /* Pointer to new error message */
|
||||
H5E_msg_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(cls);
|
||||
@ -931,7 +931,7 @@ H5E__get_current_stack(void)
|
||||
unsigned u; /* Local index variable */
|
||||
H5E_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get a pointer to the current error stack */
|
||||
if (NULL == (current_stack = H5E__get_my_stack())) /*lint !e506 !e774 Make lint 'constant value Boolean'
|
||||
@ -1050,7 +1050,7 @@ H5E__set_current_stack(H5E_t *estack)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(estack);
|
||||
@ -1148,7 +1148,7 @@ done:
|
||||
static herr_t
|
||||
H5E__close_stack(H5E_t *estack, void H5_ATTR_UNUSED **request)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(estack);
|
||||
@ -1224,7 +1224,7 @@ done:
|
||||
static ssize_t
|
||||
H5E__get_num(const H5E_t *estack)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(estack);
|
||||
|
||||
@ -1444,7 +1444,7 @@ H5E__print2(hid_t err_stack, FILE *stream)
|
||||
H5E_t *estack; /* Error stack to operate on */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Need to check for errors */
|
||||
if (err_stack == H5E_DEFAULT) {
|
||||
@ -1755,7 +1755,7 @@ H5E__append_stack(H5E_t *dst_stack, const H5E_t *src_stack)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dst_stack);
|
||||
|
@ -120,7 +120,7 @@ H5EA__new(H5F_t *f, haddr_t ea_addr, hbool_t from_open, void *ctx_udata)
|
||||
H5EA_hdr_t *hdr = NULL; /* The extensible array header information */
|
||||
H5EA_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -339,7 +339,7 @@ H5EA__lookup_elmt(const H5EA_t *ea, hsize_t idx, hbool_t will_extend, unsigned t
|
||||
hbool_t hdr_dirty = FALSE; /* Whether the array header changed */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(ea);
|
||||
|
@ -226,7 +226,7 @@ H5EA__cache_hdr_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5EA_hdr_cache_ud_t *udata = (H5EA_hdr_cache_ud_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -260,7 +260,7 @@ H5EA__cache_hdr_verify_chksum(const void *_image, size_t len, void H5_ATTR_UNUSE
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -297,7 +297,7 @@ H5EA__cache_hdr_deserialize(const void *_image, size_t len, void *_udata, hbool_
|
||||
uint32_t stored_chksum; /* Stored metadata checksum value */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -418,7 +418,7 @@ H5EA__cache_hdr_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5EA_hdr_t *hdr = (const H5EA_hdr_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(hdr);
|
||||
@ -449,7 +449,7 @@ H5EA__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
|
||||
uint8_t * image = (uint8_t *)_image; /* Pointer into raw data buffer */
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -519,7 +519,7 @@ H5EA__cache_hdr_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5EA_hdr_t *hdr = (H5EA_hdr_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(hdr);
|
||||
@ -599,7 +599,7 @@ H5EA__cache_hdr_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
@ -630,7 +630,7 @@ H5EA__cache_iblock_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
H5EA_hdr_t * hdr = (H5EA_hdr_t *)_udata; /* User data for callback */
|
||||
H5EA_iblock_t iblock; /* Fake index block for computing size */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(hdr);
|
||||
@ -670,7 +670,7 @@ H5EA__cache_iblock_verify_chksum(const void *_image, size_t len, void H5_ATTR_UN
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -708,7 +708,7 @@ H5EA__cache_iblock_deserialize(const void *_image, size_t len, void *_udata, hbo
|
||||
size_t u; /* Local index variable */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -809,7 +809,7 @@ H5EA__cache_iblock_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5EA_iblock_t *iblock = (const H5EA_iblock_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(iblock);
|
||||
@ -841,7 +841,7 @@ H5EA__cache_iblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -925,7 +925,7 @@ H5EA__cache_iblock_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5EA_iblock_t *iblock = (H5EA_iblock_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(iblock);
|
||||
@ -1000,7 +1000,7 @@ H5EA__cache_iblock_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
@ -1031,7 +1031,7 @@ H5EA__cache_sblock_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
H5EA_sblock_cache_ud_t *udata = (H5EA_sblock_cache_ud_t *)_udata; /* User data */
|
||||
H5EA_sblock_t sblock; /* Fake super block for computing size */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -1090,7 +1090,7 @@ H5EA__cache_sblock_verify_chksum(const void *_image, size_t len, void H5_ATTR_UN
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -1128,7 +1128,7 @@ H5EA__cache_sblock_deserialize(const void *_image, size_t len, void *_udata, hbo
|
||||
size_t u; /* Local index variable */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(udata);
|
||||
@ -1226,7 +1226,7 @@ H5EA__cache_sblock_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5EA_sblock_t *sblock = (const H5EA_sblock_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(sblock);
|
||||
@ -1258,7 +1258,7 @@ H5EA__cache_sblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
size_t u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -1329,7 +1329,7 @@ H5EA__cache_sblock_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5EA_sblock_t *sblock = (H5EA_sblock_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(sblock);
|
||||
@ -1425,7 +1425,7 @@ H5EA__cache_sblock_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
@ -1456,7 +1456,7 @@ H5EA__cache_dblock_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
H5EA_dblock_cache_ud_t *udata = (H5EA_dblock_cache_ud_t *)_udata; /* User data */
|
||||
H5EA_dblock_t dblock; /* Fake data block for computing size */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -1516,7 +1516,7 @@ H5EA__cache_dblock_verify_chksum(const void *_image, size_t len, void H5_ATTR_UN
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -1652,7 +1652,7 @@ H5EA__cache_dblock_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5EA_dblock_t *dblock = (const H5EA_dblock_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblock);
|
||||
@ -1687,7 +1687,7 @@ H5EA__cache_dblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -1755,7 +1755,7 @@ H5EA__cache_dblock_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5EA_dblock_t *dblock = (H5EA_dblock_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblock);
|
||||
@ -1850,7 +1850,7 @@ H5EA__cache_dblock_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
@ -1897,7 +1897,7 @@ H5EA__cache_dblock_fsf_size(const void *_thing, hsize_t *fsf_size)
|
||||
{
|
||||
const H5EA_dblock_t *dblock = (const H5EA_dblock_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblock);
|
||||
@ -1927,7 +1927,7 @@ H5EA__cache_dblk_page_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5EA_dblk_page_cache_ud_t *udata = (H5EA_dblk_page_cache_ud_t *)_udata; /* User data */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -1961,7 +1961,7 @@ H5EA__cache_dblk_page_verify_chksum(const void *_image, size_t len, void H5_ATTR
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -1998,7 +1998,7 @@ H5EA__cache_dblk_page_deserialize(const void *_image, size_t len, void *_udata,
|
||||
uint32_t stored_chksum; /* Stored metadata checksum value */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(udata);
|
||||
@ -2066,7 +2066,7 @@ H5EA__cache_dblk_page_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5EA_dblk_page_t *dblk_page = (const H5EA_dblk_page_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblk_page);
|
||||
@ -2099,7 +2099,7 @@ H5EA__cache_dblk_page_serialize(const H5F_t H5_ATTR_NDEBUG_UNUSED *f, void *_ima
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -2148,7 +2148,7 @@ H5EA__cache_dblk_page_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5EA_dblk_page_t *dblk_page = (H5EA_dblk_page_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dblk_page);
|
||||
@ -2244,7 +2244,7 @@ H5EA__cache_dblk_page_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
|
@ -126,7 +126,7 @@ H5EA__test_crt_context(void *_udata)
|
||||
H5EA__ctx_cb_t * udata = (H5EA__ctx_cb_t *)_udata; /* User data for context */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate new context structure */
|
||||
if (NULL == (ctx = H5FL_MALLOC(H5EA__test_ctx_t)))
|
||||
@ -162,7 +162,7 @@ H5EA__test_dst_context(void *_ctx)
|
||||
{
|
||||
H5EA__test_ctx_t *ctx = (H5EA__test_ctx_t *)_ctx; /* Callback context to destroy */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(H5EA__TEST_BOGUS_VAL == ctx->bogus);
|
||||
@ -191,7 +191,7 @@ H5EA__test_fill(void *nat_blk, size_t nelmts)
|
||||
{
|
||||
uint64_t fill_val = H5EA_TEST_FILL; /* Value to fill elements with */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(nat_blk);
|
||||
@ -222,7 +222,7 @@ H5EA__test_encode(void *raw, const void *_elmt, size_t nelmts, void *_ctx)
|
||||
const uint64_t * elmt = (const uint64_t *)_elmt; /* Convenience pointer to native elements */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -274,7 +274,7 @@ H5EA__test_decode(const void *_raw, void *_elmt, size_t nelmts, void H5_ATTR_NDE
|
||||
uint64_t * elmt = (uint64_t *)_elmt; /* Convenience pointer to native elements */
|
||||
const uint8_t *raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -315,7 +315,7 @@ H5EA__test_debug(FILE *stream, int indent, int fwidth, hsize_t idx, const void *
|
||||
{
|
||||
char temp_str[128]; /* Temporary string, for formatting */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(stream);
|
||||
@ -347,7 +347,7 @@ H5EA__test_crt_dbg_context(H5F_t H5_ATTR_UNUSED *f, haddr_t H5_ATTR_UNUSED obj_a
|
||||
H5EA__ctx_cb_t *ctx; /* Context for callbacks */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate new context structure */
|
||||
if (NULL == (ctx = H5FL_MALLOC(H5EA__ctx_cb_t)))
|
||||
@ -378,7 +378,7 @@ H5EA__test_dst_dbg_context(void *_ctx)
|
||||
{
|
||||
H5EA__ctx_cb_t *ctx = (H5EA__ctx_cb_t *)_ctx; /* Callback context to destroy */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(_ctx);
|
||||
|
||||
|
@ -192,7 +192,7 @@ H5ES__close_cb(void *_es, void H5_ATTR_UNUSED **rt)
|
||||
H5ES_t *es = (H5ES_t *)_es; /* The event set to close */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(es);
|
||||
@ -261,7 +261,7 @@ H5ES__insert(H5ES_t *es, H5VL_t *connector, void *request_token, const char *app
|
||||
hbool_t ev_inserted = FALSE; /* Flag to indicate that event is in active list */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(es);
|
||||
@ -447,7 +447,7 @@ H5ES__get_requests_cb(H5ES_event_t *ev, void *_ctx)
|
||||
H5ES_get_requests_ctx_t *ctx = (H5ES_get_requests_ctx_t *)_ctx; /* Callback context */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ev);
|
||||
@ -523,7 +523,7 @@ done:
|
||||
static herr_t
|
||||
H5ES__handle_fail(H5ES_t *es, H5ES_event_t *ev)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(es);
|
||||
@ -561,7 +561,7 @@ H5ES__op_complete(H5ES_t *es, H5ES_event_t *ev, H5VL_request_status_t ev_status)
|
||||
hid_t err_stack_id = H5I_INVALID_HID; /* Error stack for failed operation */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(es);
|
||||
@ -657,7 +657,7 @@ H5ES__wait_cb(H5ES_event_t *ev, void *_ctx)
|
||||
uint64_t start_time = 0, elapsed_time = 0; /* Start and elapsed times for waiting on an operation */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ev);
|
||||
@ -777,7 +777,7 @@ H5ES__cancel_cb(H5ES_event_t *ev, void *_ctx)
|
||||
H5VL_request_status_t ev_status = H5VL_REQUEST_STATUS_SUCCEED; /* Status from event's operation */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ev);
|
||||
@ -885,7 +885,7 @@ H5ES__get_err_info_cb(H5ES_event_t *ev, void *_ctx)
|
||||
H5ES_gei_ctx_t * ctx = (H5ES_gei_ctx_t *)_ctx; /* Callback context */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ev);
|
||||
|
@ -190,7 +190,7 @@ H5E__walk1_cb(int n, H5E_error1_t *err_desc, void *client_data)
|
||||
unsigned have_desc = 1; /* Flag to indicate whether the error has a "real" description */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(err_desc);
|
||||
@ -313,7 +313,7 @@ H5E__walk2_cb(unsigned n, const H5E_error2_t *err_desc, void *client_data)
|
||||
unsigned have_desc = 1; /* Flag to indicate whether the error has a "real" description */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(err_desc);
|
||||
@ -807,7 +807,7 @@ H5E__clear_entries(H5E_t *estack, size_t nentries)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(estack);
|
||||
|
14
src/H5F.c
14
src/H5F.c
@ -202,7 +202,7 @@ H5F__get_all_count_cb(void H5_ATTR_UNUSED *obj_ptr, hid_t H5_ATTR_UNUSED obj_id,
|
||||
H5F_trav_obj_cnt_t *udata = (H5F_trav_obj_cnt_t *)key;
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
udata->obj_count++;
|
||||
|
||||
@ -309,7 +309,7 @@ H5F__get_all_ids_cb(void H5_ATTR_UNUSED *obj_ptr, hid_t obj_id, void *key)
|
||||
H5F_trav_obj_ids_t *udata = (H5F_trav_obj_ids_t *)key;
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (udata->obj_count >= udata->max_objs)
|
||||
HGOTO_DONE(H5_ITER_STOP);
|
||||
@ -524,7 +524,7 @@ H5F__post_open_api_common(H5VL_object_t *vol_obj, void **token_ptr)
|
||||
uint64_t supported; /* Whether 'post open' operation is supported by VOL connector */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for 'post open' callback */
|
||||
supported = 0;
|
||||
@ -563,7 +563,7 @@ H5F__create_api_common(const char *filename, unsigned flags, hid_t fcpl_id, hid_
|
||||
H5VL_connector_prop_t connector_prop; /* Property for VOL connector ID & info */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check/fix arguments */
|
||||
if (!filename || !*filename)
|
||||
@ -757,7 +757,7 @@ H5F__open_api_common(const char *filename, unsigned flags, hid_t fapl_id, void *
|
||||
H5VL_connector_prop_t connector_prop; /* Property for VOL connector ID & info */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (!filename || !*filename)
|
||||
@ -934,7 +934,7 @@ H5F__flush_api_common(hid_t object_id, H5F_scope_t scope, void **token_ptr, H5VL
|
||||
H5VL_file_specific_args_t vol_cb_args; /* Arguments to VOL callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the type of object we're flushing + sanity check */
|
||||
obj_type = H5I_get_type(object_id);
|
||||
@ -1418,7 +1418,7 @@ H5F__reopen_api_common(hid_t file_id, void **token_ptr)
|
||||
void * reopen_file = NULL; /* Pointer to the re-opened file object */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the file object */
|
||||
if (NULL == (vol_obj = (H5VL_object_t *)H5I_object_verify(file_id, H5I_FILE)))
|
||||
|
@ -109,7 +109,7 @@ H5FA__new(H5F_t *f, haddr_t fa_addr, hbool_t from_open, void *ctx_udata)
|
||||
H5FA_hdr_t *hdr = NULL; /* The fixed array header information */
|
||||
H5FA_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
|
@ -172,7 +172,7 @@ H5FA__cache_hdr_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5FA_hdr_cache_ud_t *udata = (H5FA_hdr_cache_ud_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -206,7 +206,7 @@ H5FA__cache_hdr_verify_chksum(const void *_image, size_t len, void H5_ATTR_UNUSE
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -244,7 +244,7 @@ H5FA__cache_hdr_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED len
|
||||
uint32_t stored_chksum; /* Stored metadata checksum value */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -350,7 +350,7 @@ H5FA__cache_hdr_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5FA_hdr_t *hdr = (const H5FA_hdr_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(hdr);
|
||||
@ -381,7 +381,7 @@ H5FA__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
|
||||
uint8_t * image = (uint8_t *)_image; /* Pointer into raw data buffer */
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -441,7 +441,7 @@ H5FA__cache_hdr_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5FA_hdr_t *hdr = (H5FA_hdr_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(hdr);
|
||||
@ -522,7 +522,7 @@ H5FA__cache_hdr_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
@ -554,7 +554,7 @@ H5FA__cache_dblock_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
H5FA_dblock_t dblock; /* Fake data block for computing size */
|
||||
size_t dblk_page_nelmts; /* # of elements per data block page */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -608,7 +608,7 @@ H5FA__cache_dblock_verify_chksum(const void *_image, size_t len, void H5_ATTR_UN
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -646,7 +646,7 @@ H5FA__cache_dblock_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED
|
||||
haddr_t arr_addr; /* Address of array header in the file */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(udata);
|
||||
@ -740,7 +740,7 @@ H5FA__cache_dblock_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5FA_dblock_t *dblock = (const H5FA_dblock_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblock);
|
||||
@ -775,7 +775,7 @@ H5FA__cache_dblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -847,7 +847,7 @@ H5FA__cache_dblock_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5FA_dblock_t *dblock = (H5FA_dblock_t *)_thing;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dblock);
|
||||
@ -922,7 +922,7 @@ H5FA__cache_dblock_free_icr(void *_thing)
|
||||
H5FA_dblock_t *dblock = (H5FA_dblock_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblock);
|
||||
@ -969,7 +969,7 @@ H5FA__cache_dblock_fsf_size(const void *_thing, hsize_t *fsf_size)
|
||||
{
|
||||
const H5FA_dblock_t *dblock = (const H5FA_dblock_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblock);
|
||||
@ -999,7 +999,7 @@ H5FA__cache_dblk_page_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5FA_dblk_page_cache_ud_t *udata = (H5FA_dblk_page_cache_ud_t *)_udata; /* User data */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -1034,7 +1034,7 @@ H5FA__cache_dblk_page_verify_chksum(const void *_image, size_t len, void H5_ATTR
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -1072,7 +1072,7 @@ H5FA__cache_dblk_page_deserialize(const void *_image, size_t len, void *_udata,
|
||||
void * ret_value = NULL;
|
||||
|
||||
/* Sanity check */
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(udata);
|
||||
HDassert(udata->hdr);
|
||||
@ -1140,7 +1140,7 @@ H5FA__cache_dblk_page_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5FA_dblk_page_t *dblk_page = (const H5FA_dblk_page_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(dblk_page);
|
||||
@ -1173,7 +1173,7 @@ H5FA__cache_dblk_page_serialize(const H5F_t H5_ATTR_NDEBUG_UNUSED *f, void *_ima
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -1222,7 +1222,7 @@ H5FA__cache_dblk_page_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5FA_dblk_page_t *dblk_page = (H5FA_dblk_page_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(dblk_page);
|
||||
@ -1285,7 +1285,7 @@ H5FA__cache_dblk_page_free_icr(void *thing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(thing);
|
||||
|
@ -118,7 +118,7 @@ H5FA__test_crt_context(void H5_ATTR_UNUSED *udata)
|
||||
H5FA__test_ctx_t *ctx; /* Context for callbacks */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate new context structure */
|
||||
if (NULL == (ctx = H5FL_MALLOC(H5FA__test_ctx_t)))
|
||||
@ -151,7 +151,7 @@ H5FA__test_dst_context(void *_ctx)
|
||||
{
|
||||
H5FA__test_ctx_t *ctx = (H5FA__test_ctx_t *)_ctx; /* Callback context to destroy */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(H5FA__TEST_BOGUS_VAL == ctx->bogus);
|
||||
@ -179,7 +179,7 @@ H5FA__test_fill(void *nat_blk, size_t nelmts)
|
||||
{
|
||||
uint64_t fill_val = H5FA_TEST_FILL; /* Value to fill elements with */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(nat_blk);
|
||||
@ -210,7 +210,7 @@ H5FA__test_encode(void *raw, const void *_elmt, size_t nelmts, void H5_ATTR_UNUS
|
||||
#endif
|
||||
const uint64_t *elmt = (const uint64_t *)_elmt; /* Convenience pointer to native elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -255,7 +255,7 @@ H5FA__test_decode(const void *_raw, void *_elmt, size_t nelmts, void H5_ATTR_UNU
|
||||
uint64_t * elmt = (uint64_t *)_elmt; /* Convenience pointer to native elements */
|
||||
const uint8_t *raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(raw);
|
||||
@ -296,7 +296,7 @@ H5FA__test_debug(FILE *stream, int indent, int fwidth, hsize_t idx, const void *
|
||||
{
|
||||
char temp_str[128]; /* Temporary string, for formatting */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(stream);
|
||||
@ -329,7 +329,7 @@ H5FA__test_crt_dbg_context(H5F_t H5_ATTR_UNUSED *f, haddr_t H5_ATTR_UNUSED obj_a
|
||||
H5FA__test_ctx_t *ctx; /* Context for callbacks */
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate new context structure */
|
||||
if (NULL == (ctx = H5FL_MALLOC(H5FA__test_ctx_t)))
|
||||
|
@ -167,7 +167,7 @@ H5FD__free_cls(H5FD_class_t *cls, void H5_ATTR_UNUSED **request)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(cls);
|
||||
@ -507,7 +507,7 @@ H5FD__sb_decode(H5FD_t *file, const char *name, const uint8_t *buf)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(file);
|
||||
@ -1007,7 +1007,7 @@ H5FD__query(const H5FD_t *file, unsigned long *flags /*out*/)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(file);
|
||||
|
@ -223,7 +223,7 @@ H5FD__core_add_dirty_region(H5FD_core_t *file, haddr_t start, haddr_t end)
|
||||
hbool_t create_new_node = TRUE;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
HDassert(file->dirty_list);
|
||||
@ -322,7 +322,7 @@ H5FD__core_destroy_dirty_list(H5FD_core_t *file)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -360,7 +360,7 @@ H5FD__core_write_to_bstore(H5FD_core_t *file, haddr_t addr, size_t size)
|
||||
HDoff_t offset = (HDoff_t)addr; /* Offset to write at */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -501,7 +501,7 @@ H5FD_core_init(void)
|
||||
static herr_t
|
||||
H5FD__core_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Reset VFL ID */
|
||||
H5FD_CORE_g = 0;
|
||||
@ -702,7 +702,7 @@ H5FD__core_fapl_get(H5FD_t *_file)
|
||||
H5FD_core_fapl_t *fa; /* Core VFD info */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (NULL == (fa = (H5FD_core_fapl_t *)H5MM_calloc(sizeof(H5FD_core_fapl_t))))
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
|
||||
@ -749,7 +749,7 @@ H5FD__core_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr
|
||||
H5FD_file_image_info_t file_image_info;
|
||||
H5FD_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (!name || !*name)
|
||||
@ -1005,7 +1005,7 @@ H5FD__core_close(H5FD_t *_file)
|
||||
H5FD_core_t *file = (H5FD_core_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Flush any changed buffers */
|
||||
if (H5FD__core_flush(_file, (hid_t)-1, TRUE) < 0)
|
||||
@ -1062,7 +1062,7 @@ H5FD__core_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
const H5FD_core_t *f2 = (const H5FD_core_t *)_f2;
|
||||
int ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (f1->fd >= 0 && f2->fd >= 0) {
|
||||
/* Compare low level file information for backing store */
|
||||
@ -1145,7 +1145,7 @@ H5FD__core_query(const H5FD_t *_file, unsigned long *flags /* out */)
|
||||
{
|
||||
const H5FD_core_t *file = (const H5FD_core_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* clang-format off */
|
||||
/* Set the VFL feature flags that this driver supports */
|
||||
@ -1188,7 +1188,7 @@ H5FD__core_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_core_t *file = (const H5FD_core_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eoa)
|
||||
} /* end H5FD__core_get_eoa() */
|
||||
@ -1213,7 +1213,7 @@ H5FD__core_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
H5FD_core_t *file = (H5FD_core_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (ADDR_OVERFLOW(addr))
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_OVERFLOW, FAIL, "address overflow")
|
||||
@ -1245,7 +1245,7 @@ H5FD__core_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_core_t *file = (const H5FD_core_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eof)
|
||||
} /* end H5FD__core_get_eof() */
|
||||
@ -1268,7 +1268,7 @@ H5FD__core_get_handle(H5FD_t *_file, hid_t fapl, void **file_handle)
|
||||
H5FD_core_t *file = (H5FD_core_t *)_file; /* core VFD info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
if (!file_handle)
|
||||
@ -1332,7 +1332,7 @@ H5FD__core_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNU
|
||||
H5FD_core_t *file = (H5FD_core_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(buf);
|
||||
@ -1391,7 +1391,7 @@ H5FD__core_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UN
|
||||
H5FD_core_t *file = (H5FD_core_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(buf);
|
||||
@ -1476,7 +1476,7 @@ H5FD__core_flush(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR_UN
|
||||
H5FD_core_t *file = (H5FD_core_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Write to backing store */
|
||||
if (file->dirty && file->fd >= 0 && file->backing_store) {
|
||||
@ -1560,7 +1560,7 @@ H5FD__core_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t closing
|
||||
size_t new_eof; /* New size of memory buffer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1661,7 +1661,7 @@ H5FD__core_lock(H5FD_t *_file, hbool_t rw)
|
||||
int lock_flags; /* file locking flags */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1706,7 +1706,7 @@ H5FD__core_unlock(H5FD_t *_file)
|
||||
H5FD_core_t *file = (H5FD_core_t *)_file; /* VFD file struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1742,7 +1742,7 @@ H5FD__core_delete(const char *filename, hid_t fapl_id)
|
||||
H5P_genplist_t * plist; /* Property list pointer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(filename);
|
||||
|
||||
|
@ -246,7 +246,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__direct_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Reset VFL ID */
|
||||
H5FD_DIRECT_g = 0;
|
||||
@ -348,7 +348,7 @@ H5FD__direct_populate_config(size_t boundary, size_t block_size, size_t cbuf_siz
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(fa_out);
|
||||
|
||||
@ -403,7 +403,7 @@ H5FD__direct_fapl_get(H5FD_t *_file)
|
||||
H5FD_direct_t *file = (H5FD_direct_t *)_file;
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set return value */
|
||||
ret_value = H5FD__direct_fapl_copy(&(file->fa));
|
||||
@ -431,7 +431,7 @@ H5FD__direct_fapl_copy(const void *_old_fa)
|
||||
const H5FD_direct_fapl_t *old_fa = (const H5FD_direct_fapl_t *)_old_fa;
|
||||
H5FD_direct_fapl_t * new_fa = H5MM_calloc(sizeof(H5FD_direct_fapl_t));
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(new_fa);
|
||||
|
||||
@ -474,7 +474,7 @@ H5FD__direct_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxad
|
||||
void * buf1, *buf2;
|
||||
H5FD_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check on file offsets */
|
||||
HDassert(sizeof(HDoff_t) >= sizeof(size_t));
|
||||
@ -628,7 +628,7 @@ H5FD__direct_close(H5FD_t *_file)
|
||||
H5FD_direct_t *file = (H5FD_direct_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (HDclose(file->fd) < 0)
|
||||
HSYS_GOTO_ERROR(H5E_IO, H5E_CANTCLOSEFILE, FAIL, "unable to close file")
|
||||
@ -662,7 +662,7 @@ H5FD__direct_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
const H5FD_direct_t *f2 = (const H5FD_direct_t *)_f2;
|
||||
int ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#ifdef H5_HAVE_WIN32_API
|
||||
if (f1->fileindexhi < f2->fileindexhi)
|
||||
@ -721,7 +721,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__direct_query(const H5FD_t H5_ATTR_UNUSED *_f, unsigned long *flags /* out */)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set the VFL feature flags that this driver supports */
|
||||
if (flags) {
|
||||
@ -758,7 +758,7 @@ H5FD__direct_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_direct_t *file = (const H5FD_direct_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eoa)
|
||||
}
|
||||
@ -784,7 +784,7 @@ H5FD__direct_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr
|
||||
{
|
||||
H5FD_direct_t *file = (H5FD_direct_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
file->eoa = addr;
|
||||
|
||||
@ -814,7 +814,7 @@ H5FD__direct_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_direct_t *file = (const H5FD_direct_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eof)
|
||||
}
|
||||
@ -837,7 +837,7 @@ H5FD__direct_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_ha
|
||||
H5FD_direct_t *file = (H5FD_direct_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (!file_handle)
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "file handle not valid")
|
||||
@ -881,7 +881,7 @@ H5FD__direct_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_U
|
||||
size_t copy_size = size; /* Size remaining to read when using copy buffer */
|
||||
size_t copy_offset; /* Offset into copy buffer of the requested data */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(buf);
|
||||
@ -1064,7 +1064,7 @@ H5FD__direct_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_
|
||||
size_t copy_size = size; /* Size remaining to write when using copy buffer */
|
||||
size_t copy_offset; /* Offset into copy buffer of the data to write */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(buf);
|
||||
@ -1278,7 +1278,7 @@ H5FD__direct_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_AT
|
||||
H5FD_direct_t *file = (H5FD_direct_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1342,7 +1342,7 @@ H5FD__direct_lock(H5FD_t *_file, hbool_t rw)
|
||||
int lock_flags; /* file locking flags */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1382,7 +1382,7 @@ H5FD__direct_unlock(H5FD_t *_file)
|
||||
H5FD_direct_t *file = (H5FD_direct_t *)_file; /* VFD file struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1415,7 +1415,7 @@ H5FD__direct_delete(const char *filename, hid_t H5_ATTR_UNUSED fapl_id)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(filename);
|
||||
|
||||
|
@ -171,7 +171,7 @@ H5FD__family_get_default_config(H5FD_family_fapl_t *fa_out)
|
||||
H5P_genplist_t *plist;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(fa_out);
|
||||
|
||||
@ -225,7 +225,7 @@ H5FD__family_get_default_printf_filename(const char *old_filename)
|
||||
char * tmp_buffer = NULL;
|
||||
char * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(old_filename);
|
||||
|
||||
@ -315,7 +315,7 @@ H5FD_family_init(void)
|
||||
static herr_t
|
||||
H5FD__family_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Reset VFL ID */
|
||||
H5FD_FAMILY_g = 0;
|
||||
@ -441,7 +441,7 @@ H5FD__family_fapl_get(H5FD_t *_file)
|
||||
H5P_genplist_t * plist; /* Property list pointer */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (NULL == (fa = (H5FD_family_fapl_t *)H5MM_calloc(sizeof(H5FD_family_fapl_t))))
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
|
||||
@ -484,7 +484,7 @@ H5FD__family_fapl_copy(const void *_old_fa)
|
||||
H5P_genplist_t * plist; /* Property list pointer */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (NULL == (new_fa = (H5FD_family_fapl_t *)H5MM_malloc(sizeof(H5FD_family_fapl_t))))
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
|
||||
@ -534,7 +534,7 @@ H5FD__family_fapl_free(void *_fa)
|
||||
H5FD_family_fapl_t *fa = (H5FD_family_fapl_t *)_fa;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (H5I_dec_ref(fa->memb_fapl_id) < 0)
|
||||
HGOTO_ERROR(H5E_VFL, H5E_CANTDEC, FAIL, "can't close driver ID")
|
||||
@ -562,7 +562,7 @@ done:
|
||||
static hsize_t
|
||||
H5FD__family_sb_size(H5FD_t H5_ATTR_UNUSED *_file)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* 8 bytes field for the size of member file size field should be
|
||||
* enough for now. */
|
||||
@ -592,7 +592,7 @@ H5FD__family_sb_encode(H5FD_t *_file, char *name /*out*/, unsigned char *buf /*o
|
||||
{
|
||||
H5FD_family_t *file = (H5FD_family_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Name and version number */
|
||||
HDstrncpy(name, "NCSAfami", (size_t)9);
|
||||
@ -636,7 +636,7 @@ H5FD__family_sb_decode(H5FD_t *_file, const char H5_ATTR_UNUSED *name, const uns
|
||||
uint64_t msize;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Read member file size. Skip name template for now although it's saved. */
|
||||
UINT64DECODE(buf, msize);
|
||||
@ -700,7 +700,7 @@ H5FD__family_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxad
|
||||
unsigned t_flags = flags & ~H5F_ACC_CREAT;
|
||||
H5FD_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (!name || !*name)
|
||||
@ -891,7 +891,7 @@ H5FD__family_close(H5FD_t *_file)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Close as many members as possible. Use private function here to avoid clearing
|
||||
* the error stack. We need the error message to indicate wrong member file size. */
|
||||
@ -941,7 +941,7 @@ H5FD__family_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
const H5FD_family_t *f2 = (const H5FD_family_t *)_f2;
|
||||
int ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(f1->nmembs >= 1 && f1->memb[0]);
|
||||
HDassert(f2->nmembs >= 1 && f2->memb[0]);
|
||||
@ -970,7 +970,7 @@ H5FD__family_query(const H5FD_t *_file, unsigned long *flags /* out */)
|
||||
{
|
||||
const H5FD_family_t *file = (const H5FD_family_t *)_file; /* Family VFD info */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set the VFL feature flags that this driver supports */
|
||||
if (flags) {
|
||||
@ -1010,7 +1010,7 @@ H5FD__family_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_family_t *file = (const H5FD_family_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eoa)
|
||||
}
|
||||
@ -1045,7 +1045,7 @@ H5FD__family_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t abs_eoa)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate space for the member name buffer */
|
||||
if (NULL == (memb_name = (char *)H5MM_malloc(H5FD_FAM_MEMB_NAME_BUF_SIZE)))
|
||||
@ -1131,7 +1131,7 @@ H5FD__family_get_eof(const H5FD_t *_file, H5FD_mem_t type)
|
||||
int i; /* Local index variable */
|
||||
haddr_t ret_value = HADDR_UNDEF; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/*
|
||||
* Find the last member that has a non-zero EOF and break out of the loop
|
||||
@ -1182,7 +1182,7 @@ H5FD__family_get_handle(H5FD_t *_file, hid_t fapl, void **file_handle)
|
||||
int memb;
|
||||
herr_t ret_value = FAIL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the plist structure and family offset */
|
||||
if (NULL == (plist = H5P_object_verify(fapl, H5P_FILE_ACCESS)))
|
||||
@ -1230,7 +1230,7 @@ H5FD__family_read(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, s
|
||||
H5P_genplist_t *plist; /* Property list pointer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Get the member data transfer property list. If the transfer property
|
||||
@ -1295,7 +1295,7 @@ H5FD__family_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr,
|
||||
H5P_genplist_t * plist; /* Property list pointer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Get the member data transfer property list. If the transfer property
|
||||
@ -1352,7 +1352,7 @@ H5FD__family_flush(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t closing)
|
||||
unsigned u, nerrors = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
for (u = 0; u < file->nmembs; u++)
|
||||
if (file->memb[u] && H5FD_flush(file->memb[u], closing) < 0)
|
||||
@ -1386,7 +1386,7 @@ H5FD__family_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t closi
|
||||
unsigned u, nerrors = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
for (u = 0; u < file->nmembs; u++)
|
||||
if (file->memb[u] && H5FD_truncate(file->memb[u], closing) < 0)
|
||||
@ -1420,7 +1420,7 @@ H5FD__family_lock(H5FD_t *_file, hbool_t rw)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Place the lock on all the member files */
|
||||
for (u = 0; u < file->nmembs; u++)
|
||||
@ -1464,7 +1464,7 @@ H5FD__family_unlock(H5FD_t *_file)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Remove the lock on the member files */
|
||||
for (u = 0; u < file->nmembs; u++)
|
||||
@ -1499,7 +1499,7 @@ H5FD__family_delete(const char *filename, hid_t fapl_id)
|
||||
herr_t delete_error = FAIL;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(filename);
|
||||
|
||||
|
@ -385,7 +385,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__hdfs_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -419,7 +419,7 @@ H5FD__hdfs_handle_open(const char *path, const char *namenode_name, const int32_
|
||||
hdfs_t * handle = NULL;
|
||||
hdfs_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -504,7 +504,7 @@ H5FD__hdfs_handle_close(hdfs_t *handle)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -556,7 +556,7 @@ H5FD__hdfs_validate_config(const H5FD_hdfs_fapl_t *fa)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(fa != NULL);
|
||||
|
||||
@ -684,7 +684,7 @@ H5FD__hdfs_fapl_get(H5FD_t *_file)
|
||||
H5FD_hdfs_fapl_t *fa = NULL;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
fa = (H5FD_hdfs_fapl_t *)H5MM_calloc(sizeof(H5FD_hdfs_fapl_t));
|
||||
if (fa == NULL)
|
||||
@ -723,7 +723,7 @@ H5FD__hdfs_fapl_copy(const void *_old_fa)
|
||||
H5FD_hdfs_fapl_t * new_fa = NULL;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
new_fa = (H5FD_hdfs_fapl_t *)H5MM_malloc(sizeof(H5FD_hdfs_fapl_t));
|
||||
if (new_fa == NULL)
|
||||
@ -756,7 +756,7 @@ H5FD__hdfs_fapl_free(void *_fa)
|
||||
{
|
||||
H5FD_hdfs_fapl_t *fa = (H5FD_hdfs_fapl_t *)_fa;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(fa != NULL); /* sanity check */
|
||||
|
||||
@ -793,7 +793,7 @@ hdfs__reset_stats(H5FD_hdfs_t *file)
|
||||
unsigned i = 0;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -851,7 +851,7 @@ H5FD__hdfs_open(const char *path, unsigned flags, hid_t fapl_id, haddr_t maxaddr
|
||||
hdfs_t * handle = NULL;
|
||||
H5FD_hdfs_fapl_t fa;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -983,7 +983,7 @@ hdfs__fprint_stats(FILE *stream, const H5FD_hdfs_t *file)
|
||||
unsigned suffix_i = 0;
|
||||
const char suffixes[] = {' ', 'K', 'M', 'G', 'T', 'P'};
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (stream == NULL)
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "file stream cannot be null")
|
||||
@ -1189,7 +1189,7 @@ H5FD__hdfs_close(H5FD_t *_file)
|
||||
H5FD_hdfs_t *file = (H5FD_hdfs_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1245,7 +1245,7 @@ H5FD__hdfs_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
hdfsFileInfo * finfo1 = NULL;
|
||||
hdfsFileInfo * finfo2 = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1318,7 +1318,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__hdfs_query(const H5FD_t H5_ATTR_UNUSED *_file, unsigned long *flags)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1356,7 +1356,7 @@ H5FD__hdfs_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_hdfs_t *file = (const H5FD_hdfs_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1387,7 +1387,7 @@ H5FD__hdfs_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_hdfs_t *file = (H5FD_hdfs_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1421,7 +1421,7 @@ H5FD__hdfs_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_hdfs_t *file = (const H5FD_hdfs_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1456,7 +1456,7 @@ H5FD__hdfs_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_hand
|
||||
H5FD_hdfs_t *file = (H5FD_hdfs_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1506,7 +1506,7 @@ H5FD__hdfs_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNU
|
||||
unsigned bin_i = 0;
|
||||
#endif /* HDFS_STATS */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1578,7 +1578,7 @@ H5FD__hdfs_write(H5FD_t H5_ATTR_UNUSED *_file, H5FD_mem_t H5_ATTR_UNUSED type, h
|
||||
{
|
||||
herr_t ret_value = FAIL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
@ -1616,7 +1616,7 @@ H5FD__hdfs_truncate(H5FD_t H5_ATTR_UNUSED *_file, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if HDFS_DEBUG
|
||||
HDfprintf(stdout, "called %s.\n", __func__);
|
||||
|
@ -2171,7 +2171,7 @@ H5FD__vsrt_tmp_cmp(const void *element_1, const void *element_2)
|
||||
haddr_t addr_2 = ((const H5FD_vsrt_tmp_t *)element_2)->addr;
|
||||
int ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(H5F_addr_defined(addr_1));
|
||||
@ -2482,7 +2482,7 @@ H5FD__get_driver_cb(void *obj, hid_t id, void *_op_data)
|
||||
H5FD_class_t * cls = (H5FD_class_t *)obj;
|
||||
int ret_value = H5_ITER_CONT; /* Callback return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (H5FD_GET_DRIVER_BY_NAME == op_data->key.kind) {
|
||||
if (0 == HDstrcmp(cls->name, op_data->key.u.name)) {
|
||||
|
@ -283,7 +283,7 @@ H5FD_log_init(void)
|
||||
static herr_t
|
||||
H5FD__log_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Reset VFL ID */
|
||||
H5FD_LOG_g = 0;
|
||||
@ -364,7 +364,7 @@ H5FD__log_fapl_get(H5FD_t *_file)
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set return value */
|
||||
ret_value = H5FD__log_fapl_copy(&(file->fa));
|
||||
@ -392,7 +392,7 @@ H5FD__log_fapl_copy(const void *_old_fa)
|
||||
H5FD_log_fapl_t * new_fa = NULL; /* New FAPL info */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(old_fa);
|
||||
|
||||
@ -439,7 +439,7 @@ H5FD__log_fapl_free(void *_fa)
|
||||
{
|
||||
H5FD_log_fapl_t *fa = (H5FD_log_fapl_t *)_fa;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Free the fapl information */
|
||||
if (fa->logfile)
|
||||
@ -481,7 +481,7 @@ H5FD__log_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
|
||||
h5_stat_t sb;
|
||||
H5FD_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check on file offsets */
|
||||
HDcompile_assert(sizeof(HDoff_t) >= sizeof(size_t));
|
||||
@ -675,7 +675,7 @@ H5FD__log_close(H5FD_t *_file)
|
||||
H5_timer_t close_timer; /* Timer for close() call */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(file);
|
||||
@ -833,7 +833,7 @@ H5FD__log_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
const H5FD_log_t *f2 = (const H5FD_log_t *)_f2;
|
||||
int ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#ifdef H5_HAVE_WIN32_API
|
||||
if (f1->dwVolumeSerialNumber < f2->dwVolumeSerialNumber)
|
||||
@ -896,7 +896,7 @@ H5FD__log_query(const H5FD_t *_file, unsigned long *flags /* out */)
|
||||
{
|
||||
const H5FD_log_t *file = (const H5FD_log_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set the VFL feature flags that this driver supports */
|
||||
if (flags) {
|
||||
@ -940,7 +940,7 @@ H5FD__log_alloc(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, hs
|
||||
haddr_t addr;
|
||||
haddr_t ret_value = HADDR_UNDEF; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Compute the address for the block to allocate */
|
||||
addr = file->eoa;
|
||||
@ -985,7 +985,7 @@ H5FD__log_free(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, had
|
||||
{
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (file->fa.flags != 0) {
|
||||
/* Reset the flavor of the information in the file */
|
||||
@ -1024,7 +1024,7 @@ H5FD__log_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_log_t *file = (const H5FD_log_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eoa)
|
||||
} /* end H5FD__log_get_eoa() */
|
||||
@ -1048,7 +1048,7 @@ H5FD__log_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t addr)
|
||||
{
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (file->fa.flags != 0) {
|
||||
/* Check for increasing file size */
|
||||
@ -1115,7 +1115,7 @@ H5FD__log_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_log_t *file = (const H5FD_log_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eof)
|
||||
} /* end H5FD__log_get_eof() */
|
||||
@ -1138,7 +1138,7 @@ H5FD__log_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_handl
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (!file_handle)
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "file handle not valid")
|
||||
@ -1177,7 +1177,7 @@ H5FD__log_read(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, had
|
||||
HDoff_t offset = (HDoff_t)addr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(buf);
|
||||
@ -1391,7 +1391,7 @@ H5FD__log_write(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, ha
|
||||
HDoff_t offset = (HDoff_t)addr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(size > 0);
|
||||
@ -1602,7 +1602,7 @@ H5FD__log_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR_
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1710,7 +1710,7 @@ H5FD__log_lock(H5FD_t *_file, hbool_t rw)
|
||||
int lock_flags; /* file locking flags */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(file);
|
||||
@ -1751,7 +1751,7 @@ H5FD__log_unlock(H5FD_t *_file)
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file; /* VFD file struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1784,7 +1784,7 @@ H5FD__log_delete(const char *filename, hid_t H5_ATTR_UNUSED fapl_id)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(filename);
|
||||
|
||||
|
@ -252,7 +252,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__mirror_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Reset VFL ID */
|
||||
H5FD_MIRROR_g = 0;
|
||||
@ -1111,7 +1111,7 @@ H5FD__mirror_verify_reply(H5FD_mirror_t *file)
|
||||
ssize_t read_ret = 0;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1166,7 +1166,7 @@ H5FD__mirror_fapl_get(H5FD_t *_file)
|
||||
H5FD_mirror_fapl_t *fa = NULL;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1202,7 +1202,7 @@ H5FD__mirror_fapl_copy(const void *_old_fa)
|
||||
H5FD_mirror_fapl_t * new_fa = NULL;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1234,7 +1234,7 @@ H5FD__mirror_fapl_free(void *_fa)
|
||||
{
|
||||
H5FD_mirror_fapl_t *fa = (H5FD_mirror_fapl_t *)_fa;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1352,7 +1352,7 @@ H5FD__mirror_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxad
|
||||
H5FD_mirror_xmit_open_t *open_xmit = NULL;
|
||||
H5FD_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1477,7 +1477,7 @@ H5FD__mirror_close(H5FD_t *_file)
|
||||
int xmit_encoded = 0; /* monitor point of failure */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1549,7 +1549,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__mirror_query(const H5FD_t H5_ATTR_UNUSED *_file, unsigned long *flags)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR;
|
||||
FUNC_ENTER_PACKAGE_NOERR;
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1586,7 +1586,7 @@ H5FD__mirror_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_mirror_t *file = (const H5FD_mirror_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1613,7 +1613,7 @@ H5FD__mirror_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t addr)
|
||||
H5FD_mirror_t * file = (H5FD_mirror_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1668,7 +1668,7 @@ H5FD__mirror_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_mirror_t *file = (const H5FD_mirror_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1689,7 +1689,7 @@ static herr_t
|
||||
H5FD__mirror_read(H5FD_t H5_ATTR_UNUSED *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED fapl_id,
|
||||
haddr_t H5_ATTR_UNUSED addr, size_t H5_ATTR_UNUSED size, void H5_ATTR_UNUSED *buf)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1722,7 +1722,7 @@ H5FD__mirror_write(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
H5FD_mirror_t * file = (H5FD_mirror_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1785,7 +1785,7 @@ H5FD__mirror_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_AT
|
||||
H5FD_mirror_t *file = (H5FD_mirror_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1833,7 +1833,7 @@ H5FD__mirror_lock(H5FD_t *_file, hbool_t rw)
|
||||
H5FD_mirror_t * file = (H5FD_mirror_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
@ -1880,7 +1880,7 @@ H5FD__mirror_unlock(H5FD_t *_file)
|
||||
H5FD_mirror_t *file = (H5FD_mirror_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
LOG_OP_CALL(__func__);
|
||||
|
||||
|
@ -189,7 +189,7 @@ static int H5FD_mpio_debug_rank_s = -1;
|
||||
static void
|
||||
H5FD__mpio_parse_debug_str(const char *s)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(s);
|
||||
@ -328,7 +328,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__mpio_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Terminate MPI if the driver initialized it */
|
||||
if (H5FD_mpi_self_initialized) {
|
||||
@ -851,7 +851,7 @@ H5FD__mpio_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t H5_ATTR
|
||||
int mpi_code; /* MPI return code */
|
||||
H5FD_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get a pointer to the fapl */
|
||||
if (NULL == (plist = H5P_object_verify(fapl_id, H5P_FILE_ACCESS)))
|
||||
@ -993,7 +993,7 @@ H5FD__mpio_close(H5FD_t *_file)
|
||||
int mpi_code; /* MPI return code */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FDmpio_DEBUG
|
||||
if (H5FD_mpio_debug_t_flag)
|
||||
@ -1038,7 +1038,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__mpio_query(const H5FD_t H5_ATTR_UNUSED *_file, unsigned long *flags /* out */)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set the VFL feature flags that this driver supports */
|
||||
if (flags) {
|
||||
@ -1073,7 +1073,7 @@ H5FD__mpio_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_mpio_t *file = (const H5FD_mpio_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(file);
|
||||
@ -1101,7 +1101,7 @@ H5FD__mpio_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_mpio_t *file = (H5FD_mpio_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(file);
|
||||
@ -1143,7 +1143,7 @@ H5FD__mpio_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_mpio_t *file = (const H5FD_mpio_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(file);
|
||||
@ -1170,7 +1170,7 @@ H5FD__mpio_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_hand
|
||||
H5FD_mpio_t *file = (H5FD_mpio_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (!file_handle)
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "file handle not valid")
|
||||
@ -1232,7 +1232,7 @@ H5FD__mpio_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNU
|
||||
int mpi_code; /* MPI return code */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FDmpio_DEBUG
|
||||
if (H5FD_mpio_debug_t_flag)
|
||||
@ -1502,7 +1502,7 @@ H5FD__mpio_write(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, h
|
||||
int mpi_code; /* MPI return code */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FDmpio_DEBUG
|
||||
if (H5FD_mpio_debug_t_flag)
|
||||
@ -1717,7 +1717,7 @@ H5FD__mpio_vector_build_types(uint32_t count, H5FD_mem_t types[], haddr_t addrs[
|
||||
int mpi_code; /* MPI return code */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(s_sizes);
|
||||
@ -2095,7 +2095,7 @@ H5FD__mpio_read_vector(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, uint32_t cou
|
||||
#endif
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FDmpio_DEBUG
|
||||
if (H5FD_mpio_debug_t_flag)
|
||||
@ -2487,7 +2487,7 @@ H5FD__mpio_write_vector(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, uint32_t co
|
||||
haddr_t max_addr = 0;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FDmpio_DEBUG
|
||||
if (H5FD_mpio_debug_t_flag)
|
||||
@ -2745,7 +2745,7 @@ H5FD__mpio_flush(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t closing)
|
||||
int mpi_code; /* mpi return code */
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FDmpio_DEBUG
|
||||
if (H5FD_mpio_debug_t_flag)
|
||||
@ -2802,7 +2802,7 @@ H5FD__mpio_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR
|
||||
#endif
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FDmpio_DEBUG
|
||||
if (H5FD_mpio_debug_t_flag)
|
||||
@ -2902,7 +2902,7 @@ H5FD__mpio_delete(const char *filename, hid_t fapl_id)
|
||||
int mpi_code; /* MPI return code */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(filename);
|
||||
|
||||
|
@ -347,7 +347,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__ros3_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_term() called.\n");
|
||||
@ -427,7 +427,7 @@ H5FD__ros3_validate_config(const H5FD_ros3_fapl_t *fa)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(fa != NULL);
|
||||
|
||||
@ -515,7 +515,7 @@ H5FD__ros3_fapl_get(H5FD_t *_file)
|
||||
H5FD_ros3_fapl_t *fa = NULL;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
fa = (H5FD_ros3_fapl_t *)H5MM_calloc(sizeof(H5FD_ros3_fapl_t));
|
||||
if (fa == NULL)
|
||||
@ -556,7 +556,7 @@ H5FD__ros3_fapl_copy(const void *_old_fa)
|
||||
H5FD_ros3_fapl_t * new_fa = NULL;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
new_fa = (H5FD_ros3_fapl_t *)H5MM_malloc(sizeof(H5FD_ros3_fapl_t));
|
||||
if (new_fa == NULL)
|
||||
@ -590,7 +590,7 @@ H5FD__ros3_fapl_free(void *_fa)
|
||||
{
|
||||
H5FD_ros3_fapl_t *fa = (H5FD_ros3_fapl_t *)_fa;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(fa != NULL); /* sanity check */
|
||||
|
||||
@ -627,7 +627,7 @@ ros3_reset_stats(H5FD_ros3_t *file)
|
||||
unsigned i = 0;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDprintf("ros3_reset_stats() called\n");
|
||||
@ -695,7 +695,7 @@ H5FD__ros3_open(const char *url, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
|
||||
H5FD_ros3_fapl_t fa;
|
||||
H5FD_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_open() called.\n");
|
||||
@ -852,7 +852,7 @@ ros3_fprint_stats(FILE *stream, const H5FD_ros3_t *file)
|
||||
unsigned suffix_i = 0;
|
||||
const char suffixes[] = {' ', 'K', 'M', 'G', 'T', 'P'};
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (stream == NULL)
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "file stream cannot be null");
|
||||
@ -1080,7 +1080,7 @@ H5FD__ros3_close(H5FD_t H5_ATTR_UNUSED *_file)
|
||||
H5FD_ros3_t *file = (H5FD_ros3_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_close() called.\n");
|
||||
@ -1149,7 +1149,7 @@ H5FD__ros3_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
const parsed_url_t *purl2 = NULL;
|
||||
int ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_cmp() called.\n");
|
||||
@ -1261,7 +1261,7 @@ done:
|
||||
static herr_t
|
||||
H5FD__ros3_query(const H5FD_t H5_ATTR_UNUSED *_file, unsigned long *flags)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_query() called.\n");
|
||||
@ -1301,7 +1301,7 @@ H5FD__ros3_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_ros3_t *file = (const H5FD_ros3_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_get_eoa() called.\n");
|
||||
@ -1332,7 +1332,7 @@ H5FD__ros3_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_ros3_t *file = (H5FD_ros3_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_set_eoa() called.\n");
|
||||
@ -1366,7 +1366,7 @@ H5FD__ros3_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_ros3_t *file = (const H5FD_ros3_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_get_eof() called.\n");
|
||||
@ -1398,7 +1398,7 @@ H5FD__ros3_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_hand
|
||||
H5FD_ros3_t *file = (H5FD_ros3_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_get_handle() called.\n");
|
||||
@ -1448,7 +1448,7 @@ H5FD__ros3_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNU
|
||||
unsigned bin_i = 0;
|
||||
#endif /* ROS3_STATS */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_read() called.\n");
|
||||
@ -1518,7 +1518,7 @@ H5FD__ros3_write(H5FD_t H5_ATTR_UNUSED *_file, H5FD_mem_t H5_ATTR_UNUSED type, h
|
||||
{
|
||||
herr_t ret_value = FAIL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_write() called.\n");
|
||||
@ -1556,7 +1556,7 @@ H5FD__ros3_truncate(H5FD_t H5_ATTR_UNUSED *_file, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if ROS3_DEBUG
|
||||
HDfprintf(stdout, "H5FD__ros3_truncate() called.\n");
|
||||
|
@ -1935,7 +1935,7 @@ H5FD__s3comms_load_aws_creds_from_file(FILE *file, const char *profile_name, cha
|
||||
int found_setting = 0;
|
||||
char * line_buffer = &(buffer[0]);
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#if S3COMMS_DEBUG
|
||||
HDfprintf(stdout, "called load_aws_creds_from_file.\n");
|
||||
|
@ -243,7 +243,7 @@ H5FD_sec2_init(void)
|
||||
static herr_t
|
||||
H5FD__sec2_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Reset VFL ID */
|
||||
H5FD_SEC2_g = 0;
|
||||
@ -311,7 +311,7 @@ H5FD__sec2_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr
|
||||
H5P_genplist_t *plist; /* Property list pointer */
|
||||
H5FD_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check on file offsets */
|
||||
HDcompile_assert(sizeof(HDoff_t) >= sizeof(size_t));
|
||||
@ -433,7 +433,7 @@ H5FD__sec2_close(H5FD_t *_file)
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(file);
|
||||
@ -471,7 +471,7 @@ H5FD__sec2_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
const H5FD_sec2_t *f2 = (const H5FD_sec2_t *)_f2;
|
||||
int ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
#ifdef H5_HAVE_WIN32_API
|
||||
if (f1->dwVolumeSerialNumber < f2->dwVolumeSerialNumber)
|
||||
@ -532,7 +532,7 @@ H5FD__sec2_query(const H5FD_t *_file, unsigned long *flags /* out */)
|
||||
{
|
||||
const H5FD_sec2_t *file = (const H5FD_sec2_t *)_file; /* sec2 VFD info */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set the VFL feature flags that this driver supports */
|
||||
/* Notice: the Mirror VFD Writer currently uses only the Sec2 driver as
|
||||
@ -581,7 +581,7 @@ H5FD__sec2_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_sec2_t *file = (const H5FD_sec2_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eoa)
|
||||
} /* end H5FD__sec2_get_eoa() */
|
||||
@ -605,7 +605,7 @@ H5FD__sec2_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
file->eoa = addr;
|
||||
|
||||
@ -632,7 +632,7 @@ H5FD__sec2_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_sec2_t *file = (const H5FD_sec2_t *)_file;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(file->eof)
|
||||
} /* end H5FD__sec2_get_eof() */
|
||||
@ -655,7 +655,7 @@ H5FD__sec2_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_hand
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (!file_handle)
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "file handle not valid")
|
||||
@ -690,7 +690,7 @@ H5FD__sec2_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNU
|
||||
HDoff_t offset = (HDoff_t)addr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(buf);
|
||||
@ -798,7 +798,7 @@ H5FD__sec2_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UN
|
||||
HDoff_t offset = (HDoff_t)addr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file && file->pub.cls);
|
||||
HDassert(buf);
|
||||
@ -900,7 +900,7 @@ H5FD__sec2_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -970,7 +970,7 @@ H5FD__sec2_lock(H5FD_t *_file, hbool_t rw)
|
||||
int lock_flags; /* file locking flags */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1010,7 +1010,7 @@ H5FD__sec2_unlock(H5FD_t *_file)
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file; /* VFD file struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(file);
|
||||
|
||||
@ -1043,7 +1043,7 @@ H5FD__sec2_delete(const char *filename, hid_t H5_ATTR_UNUSED fapl_id)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(filename);
|
||||
|
||||
@ -1081,7 +1081,7 @@ H5FD__sec2_ctl(H5FD_t *_file, uint64_t op_code, uint64_t flags, const void H5_AT
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(file);
|
||||
|
@ -94,7 +94,7 @@ H5FD__extend(H5FD_t *file, H5FD_mem_t type, hsize_t size)
|
||||
haddr_t eoa; /* Address of end-of-allocated space */
|
||||
haddr_t ret_value = HADDR_UNDEF; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check args */
|
||||
HDassert(file);
|
||||
|
@ -224,7 +224,7 @@ H5FD_splitter_init(void)
|
||||
static herr_t
|
||||
H5FD__splitter_term(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -249,7 +249,7 @@ H5FD__copy_plist(hid_t fapl_id, hid_t *id_out_ptr)
|
||||
int ret_value = 0;
|
||||
H5P_genplist_t *plist_ptr = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -402,7 +402,7 @@ H5FD__splitter_populate_config(H5FD_splitter_vfd_config_t *vfd_config, H5FD_spli
|
||||
hbool_t free_config = FALSE;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(fapl_out);
|
||||
|
||||
@ -521,7 +521,7 @@ H5FD__splitter_get_default_wo_path(char *new_path, size_t new_path_len, const ch
|
||||
char * file_extension = NULL;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(new_path);
|
||||
HDassert(base_filename);
|
||||
@ -573,7 +573,7 @@ H5FD__splitter_flush(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t closin
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -608,7 +608,7 @@ H5FD__splitter_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -648,7 +648,7 @@ H5FD__splitter_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr
|
||||
H5P_genplist_t * plist_ptr = NULL;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -684,7 +684,7 @@ H5FD__splitter_fapl_get(H5FD_t *_file)
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -709,7 +709,7 @@ H5FD__splitter_fapl_copy(const void *_old_fa)
|
||||
H5FD_splitter_fapl_t * new_fa_ptr = NULL;
|
||||
void * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -753,7 +753,7 @@ H5FD__splitter_fapl_free(void *_fapl)
|
||||
H5FD_splitter_fapl_t *fapl = (H5FD_splitter_fapl_t *)_fapl;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -792,7 +792,7 @@ H5FD__splitter_open(const char *name, unsigned flags, hid_t splitter_fapl_id, ha
|
||||
H5P_genplist_t * plist_ptr = NULL;
|
||||
H5FD_t * ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -903,7 +903,7 @@ H5FD__splitter_close(H5FD_t *_file)
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -954,7 +954,7 @@ H5FD__splitter_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
const H5FD_splitter_t *file = (const H5FD_splitter_t *)_file;
|
||||
haddr_t ret_value = HADDR_UNDEF;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -985,7 +985,7 @@ H5FD__splitter_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t ad
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__)
|
||||
|
||||
@ -1022,7 +1022,7 @@ H5FD__splitter_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
const H5FD_splitter_t *file = (const H5FD_splitter_t *)_file;
|
||||
haddr_t ret_value = HADDR_UNDEF; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1051,7 +1051,7 @@ H5FD__splitter_truncate(H5FD_t *_file, hid_t dxpl_id, hbool_t closing)
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1089,7 +1089,7 @@ H5FD__splitter_sb_size(H5FD_t *_file)
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
hsize_t ret_value = 0;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1117,7 +1117,7 @@ H5FD__splitter_sb_encode(H5FD_t *_file, char *name /*out*/, unsigned char *buf /
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1148,7 +1148,7 @@ H5FD__splitter_sb_decode(H5FD_t *_file, const char *name, const unsigned char *b
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1179,7 +1179,7 @@ H5FD__splitter_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
|
||||
const H5FD_splitter_t *f2 = (const H5FD_splitter_t *)_f2;
|
||||
herr_t ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1206,7 +1206,7 @@ H5FD__splitter_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1237,7 +1237,7 @@ H5FD__splitter_lock(H5FD_t *_file, hbool_t rw)
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file; /* VFD file struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1270,7 +1270,7 @@ H5FD__splitter_unlock(H5FD_t *_file)
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file; /* VFD file struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1317,7 +1317,7 @@ H5FD__splitter_ctl(H5FD_t *_file, uint64_t op_code, uint64_t flags, const void *
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(file);
|
||||
@ -1361,7 +1361,7 @@ H5FD__splitter_query(const H5FD_t *_file, unsigned long *flags /* out */)
|
||||
const H5FD_splitter_t *file = (const H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1398,7 +1398,7 @@ H5FD__splitter_alloc(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file; /* VFD file struct */
|
||||
haddr_t ret_value = HADDR_UNDEF; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1432,7 +1432,7 @@ H5FD__splitter_get_type_map(const H5FD_t *_file, H5FD_mem_t *type_map)
|
||||
const H5FD_splitter_t *file = (const H5FD_splitter_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1462,7 +1462,7 @@ H5FD__splitter_free(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr,
|
||||
H5FD_splitter_t *file = (H5FD_splitter_t *)_file; /* VFD file struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
@ -1497,7 +1497,7 @@ H5FD__splitter_delete(const char *filename, hid_t fapl_id)
|
||||
H5P_genplist_t * plist;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(filename);
|
||||
|
||||
@ -1561,7 +1561,7 @@ H5FD__splitter_log_error(const H5FD_splitter_t *file, const char *atfunc, const
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
H5FD_SPLITTER_LOG_CALL(__func__);
|
||||
|
||||
|
34
src/H5FL.c
34
src/H5FL.c
@ -232,7 +232,7 @@ H5FL__malloc(size_t mem_size)
|
||||
{
|
||||
void *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Attempt to allocate the memory requested */
|
||||
if (NULL == (ret_value = H5MM_malloc(mem_size))) {
|
||||
@ -269,7 +269,7 @@ H5FL__reg_init(H5FL_reg_head_t *head)
|
||||
H5FL_reg_gc_node_t *new_node; /* Pointer to the node for the new list to garbage collect */
|
||||
herr_t ret_value = SUCCEED; /* return value*/
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate a new garbage collection node */
|
||||
if (NULL == (new_node = (H5FL_reg_gc_node_t *)H5MM_malloc(sizeof(H5FL_reg_gc_node_t))))
|
||||
@ -513,7 +513,7 @@ H5FL__reg_gc_list(H5FL_reg_head_t *head)
|
||||
{
|
||||
H5FL_reg_node_t *free_list; /* Pointer to nodes in free list being garbage collected */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* For each free list being garbage collected, walk through the nodes and free them */
|
||||
free_list = head->list;
|
||||
@ -562,7 +562,7 @@ H5FL__reg_gc(void)
|
||||
H5FL_reg_gc_node_t *gc_node; /* Pointer into the list of things to garbage collect */
|
||||
herr_t ret_value = SUCCEED; /* return value*/
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Walk through all the free lists, free()'ing the nodes */
|
||||
gc_node = H5FL_reg_gc_head.first;
|
||||
@ -612,7 +612,7 @@ H5FL__reg_term(void)
|
||||
{
|
||||
H5FL_reg_gc_node_t *left; /* pointer to garbage collection lists with work left */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Free the nodes on the garbage collection list, keeping nodes with allocations outstanding */
|
||||
left = NULL;
|
||||
@ -672,7 +672,7 @@ H5FL__blk_find_list(H5FL_blk_node_t **head, size_t size)
|
||||
{
|
||||
H5FL_blk_node_t *temp = NULL; /* Temp. pointer to node in the native list */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Find the correct free list */
|
||||
temp = *head;
|
||||
@ -730,7 +730,7 @@ H5FL__blk_create_list(H5FL_blk_node_t **head, size_t size)
|
||||
{
|
||||
H5FL_blk_node_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate room for the new free list node */
|
||||
if (NULL == (ret_value = H5FL_CALLOC(H5FL_blk_node_t)))
|
||||
@ -772,7 +772,7 @@ H5FL__blk_init(H5FL_blk_head_t *head)
|
||||
H5FL_blk_gc_node_t *new_node; /* Pointer to the node for the new list to garbage collect */
|
||||
herr_t ret_value = SUCCEED; /* return value*/
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate a new garbage collection node */
|
||||
if (NULL == (new_node = (H5FL_blk_gc_node_t *)H5MM_malloc(sizeof(H5FL_blk_gc_node_t))))
|
||||
@ -1180,7 +1180,7 @@ H5FL__blk_gc_list(H5FL_blk_head_t *head)
|
||||
{
|
||||
H5FL_blk_node_t *blk_head; /* Temp. ptr to the free list page node */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Loop through all the nodes in the block free list queue */
|
||||
blk_head = head->head;
|
||||
@ -1269,7 +1269,7 @@ H5FL__blk_gc(void)
|
||||
H5FL_blk_gc_node_t *gc_node; /* Pointer into the list of things to garbage collect */
|
||||
herr_t ret_value = SUCCEED; /* return value*/
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Walk through all the free lists, free()'ing the nodes */
|
||||
gc_node = H5FL_blk_gc_head.first;
|
||||
@ -1313,7 +1313,7 @@ H5FL__blk_term(void)
|
||||
{
|
||||
H5FL_blk_gc_node_t *left; /* pointer to garbage collection lists with work left */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Free the nodes on the garbage collection list, keeping nodes with allocations outstanding */
|
||||
left = NULL;
|
||||
@ -1372,7 +1372,7 @@ H5FL__arr_init(H5FL_arr_head_t *head)
|
||||
size_t u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* return value*/
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate a new garbage collection node */
|
||||
if (NULL == (new_node = (H5FL_gc_arr_node_t *)H5MM_malloc(sizeof(H5FL_gc_arr_node_t))))
|
||||
@ -1748,7 +1748,7 @@ H5FL__arr_gc_list(H5FL_arr_head_t *head)
|
||||
{
|
||||
unsigned u; /* Counter for array of free lists */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Walk through the array of free lists */
|
||||
for (u = 0; u < (unsigned)head->maxelem; u++) {
|
||||
@ -1811,7 +1811,7 @@ H5FL__arr_gc(void)
|
||||
H5FL_gc_arr_node_t *gc_arr_node; /* Pointer into the list of things to garbage collect */
|
||||
herr_t ret_value = SUCCEED; /* return value*/
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Walk through all the free lists, free()'ing the nodes */
|
||||
gc_arr_node = H5FL_arr_gc_head.first;
|
||||
@ -1855,7 +1855,7 @@ H5FL__arr_term(void)
|
||||
{
|
||||
H5FL_gc_arr_node_t *left; /* pointer to garbage collection lists with work left */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Free the nodes on the garbage collection list, keeping nodes with allocations outstanding */
|
||||
left = NULL;
|
||||
@ -2302,7 +2302,7 @@ H5FL__fac_gc_list(H5FL_fac_head_t *head)
|
||||
{
|
||||
H5FL_fac_node_t *free_list; /* Pointer to nodes in free list being garbage collected */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* For each free list being garbage collected, walk through the nodes and free them */
|
||||
free_list = head->list;
|
||||
@ -2448,7 +2448,7 @@ done:
|
||||
static int
|
||||
H5FL__fac_term_all(void)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Free the nodes on the garbage collection list */
|
||||
while (H5FL_fac_gc_head.first != NULL) {
|
||||
|
@ -1074,7 +1074,7 @@ H5FS__sinfo_free_sect_cb(void *_sect, void H5_ATTR_UNUSED *key, void *op_data)
|
||||
H5FS_section_info_t *sect = (H5FS_section_info_t *)_sect; /* Section to free */
|
||||
const H5FS_sinfo_t * sinfo = (const H5FS_sinfo_t *)op_data; /* Free space manager for section */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(sect);
|
||||
HDassert(sinfo);
|
||||
@ -1102,7 +1102,7 @@ H5FS__sinfo_free_node_cb(void *item, void H5_ATTR_UNUSED *key, void *op_data)
|
||||
{
|
||||
H5FS_node_t *fspace_node = (H5FS_node_t *)item; /* Temporary pointer to free space list node */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(fspace_node);
|
||||
HDassert(op_data);
|
||||
|
@ -158,7 +158,7 @@ H5FS__cache_hdr_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5FS_hdr_cache_ud_t *udata = (H5FS_hdr_cache_ud_t *)_udata; /* User-data for metadata cache callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(udata);
|
||||
@ -192,7 +192,7 @@ H5FS__cache_hdr_verify_chksum(const void *_image, size_t len, void H5_ATTR_UNUSE
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -233,7 +233,7 @@ H5FS__cache_hdr_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED len
|
||||
unsigned nclasses; /* Number of section classes */
|
||||
H5FS_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -340,7 +340,7 @@ H5FS__cache_hdr_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5FS_t *fspace = (const H5FS_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(fspace);
|
||||
@ -390,7 +390,7 @@ H5FS__cache_hdr_pre_serialize(H5F_t *f, void *_thing, haddr_t addr, size_t H5_AT
|
||||
H5AC_ring_t orig_ring = H5AC_RING_INV; /* Original ring value */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -688,7 +688,7 @@ H5FS__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_NDEBUG_UN
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -852,7 +852,7 @@ H5FS__cache_hdr_free_icr(void *_thing)
|
||||
H5FS_t *fspace = (H5FS_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(fspace);
|
||||
@ -890,7 +890,7 @@ H5FS__cache_sinfo_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
const H5FS_t * fspace; /* free space manager */
|
||||
H5FS_sinfo_cache_ud_t *udata = (H5FS_sinfo_cache_ud_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata);
|
||||
@ -970,7 +970,7 @@ H5FS__cache_sinfo_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED l
|
||||
uint32_t stored_chksum; /* Stored metadata checksum */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(image);
|
||||
@ -1121,7 +1121,7 @@ H5FS__cache_sinfo_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5FS_sinfo_t *sinfo = (const H5FS_sinfo_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(sinfo);
|
||||
@ -1163,7 +1163,7 @@ H5FS__cache_sinfo_pre_serialize(H5F_t *f, void *_thing, haddr_t addr, size_t H5_
|
||||
haddr_t sinfo_addr; /* Address for section info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -1248,7 +1248,7 @@ H5FS__cache_sinfo_serialize(const H5F_t *f, void *_image, size_t len, void *_thi
|
||||
unsigned bin; /* Current bin we are on */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -1392,7 +1392,7 @@ H5FS__cache_sinfo_free_icr(void *_thing)
|
||||
H5FS_sinfo_t *sinfo = (H5FS_sinfo_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(sinfo);
|
||||
@ -1431,7 +1431,7 @@ H5FS__sinfo_serialize_sect_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udat
|
||||
H5FS_iter_ud_t * udata = (H5FS_iter_ud_t *)_udata; /* Callback info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(sect);
|
||||
@ -1485,7 +1485,7 @@ H5FS__sinfo_serialize_node_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udat
|
||||
H5FS_iter_ud_t *udata = (H5FS_iter_ud_t *)_udata; /* Callback info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace_node);
|
||||
|
@ -197,7 +197,7 @@ H5FS__sinfo_lock(H5F_t *f, H5FS_t *fspace, unsigned accmode)
|
||||
H5FS_sinfo_cache_ud_t cache_udata; /* User-data for cache callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
#ifdef H5FS_SINFO_DEBUG
|
||||
HDfprintf(stderr,
|
||||
@ -333,7 +333,7 @@ H5FS__sinfo_unlock(H5F_t *f, H5FS_t *fspace, hbool_t modified)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
#ifdef H5FS_SINFO_DEBUG
|
||||
HDfprintf(stderr,
|
||||
"%s: Called, modified = %d, fspace->addr = %" PRIuHADDR ", fspace->sect_addr = %" PRIuHADDR
|
||||
@ -529,7 +529,7 @@ done:
|
||||
static herr_t
|
||||
H5FS__sect_serialize_size(H5FS_t *fspace)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -585,7 +585,7 @@ H5FS__sect_increase(H5FS_t *fspace, const H5FS_section_class_t *cls, unsigned fl
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -640,7 +640,7 @@ H5FS__sect_decrease(H5FS_t *fspace, const H5FS_section_class_t *cls)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -692,7 +692,7 @@ H5FS__size_node_decr(H5FS_sinfo_t *sinfo, unsigned bin, H5FS_node_t *fspace_node
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(sinfo);
|
||||
@ -779,7 +779,7 @@ H5FS__sect_unlink_size(H5FS_sinfo_t *sinfo, const H5FS_section_class_t *cls, H5F
|
||||
unsigned bin; /* Bin to put the free space section in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(sinfo);
|
||||
@ -829,7 +829,7 @@ H5FS__sect_unlink_rest(H5FS_t *fspace, const H5FS_section_class_t *cls, H5FS_sec
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -875,7 +875,7 @@ H5FS__sect_remove_real(H5FS_t *fspace, H5FS_section_info_t *sect)
|
||||
const H5FS_section_class_t *cls; /* Class of section */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -960,7 +960,7 @@ H5FS__sect_link_size(H5FS_sinfo_t *sinfo, const H5FS_section_class_t *cls, H5FS_
|
||||
unsigned bin; /* Bin to put the free space section in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(sinfo);
|
||||
@ -1058,7 +1058,7 @@ H5FS__sect_link_rest(H5FS_t *fspace, const H5FS_section_class_t *cls, H5FS_secti
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -1105,7 +1105,7 @@ H5FS__sect_link(H5FS_t *fspace, H5FS_section_info_t *sect, unsigned flags)
|
||||
const H5FS_section_class_t *cls; /* Class of section */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -1150,7 +1150,7 @@ H5FS__sect_merge(H5FS_t *fspace, H5FS_section_info_t **sect, void *op_data)
|
||||
htri_t status; /* Status value */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -1642,7 +1642,7 @@ H5FS__sect_find_node(H5FS_t *fspace, hsize_t request, H5FS_section_info_t **node
|
||||
const H5FS_section_class_t *cls; /* Class of section */
|
||||
hsize_t alignment;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace);
|
||||
@ -1848,7 +1848,7 @@ H5FS__iterate_sect_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata)
|
||||
H5FS_iter_ud_t * udata = (H5FS_iter_ud_t *)_udata; /* Callback info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(sect_info);
|
||||
@ -1883,7 +1883,7 @@ H5FS__iterate_node_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata)
|
||||
H5FS_iter_ud_t *udata = (H5FS_iter_ud_t *)_udata; /* Callback info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(fspace_node);
|
||||
|
@ -273,7 +273,7 @@ H5F__accum_adjust(H5F_meta_accum_t *accum, H5FD_t *file, H5F_accum_adjust_t adju
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(accum);
|
||||
HDassert(file);
|
||||
|
@ -445,7 +445,7 @@ H5F__efc_release_real(H5F_efc_t *efc)
|
||||
H5F_efc_ent_t *prev_ent = NULL; /* Previous EFC entry */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(efc);
|
||||
@ -586,7 +586,7 @@ H5F__efc_remove_ent(H5F_efc_t *efc, H5F_efc_ent_t *ent)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(efc);
|
||||
@ -652,7 +652,7 @@ H5F__efc_try_close_tag1(H5F_shared_t *sf, H5F_shared_t **tail)
|
||||
H5F_efc_ent_t *ent = NULL; /* EFC entry */
|
||||
H5F_shared_t * esf; /* Convenience pointer to ent->file->shared */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(sf);
|
||||
@ -725,7 +725,7 @@ H5F__efc_try_close_tag2(H5F_shared_t *sf, H5F_shared_t **tail)
|
||||
H5F_efc_ent_t *ent = NULL; /* EFC entry */
|
||||
H5F_shared_t * esf; /* Convenience pointer to ent->file->shared */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(sf);
|
||||
|
24
src/H5Fint.c
24
src/H5Fint.c
@ -207,7 +207,7 @@ H5F__close_cb(H5VL_object_t *file_vol_obj, void **request)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(file_vol_obj);
|
||||
@ -273,7 +273,7 @@ H5F__set_vol_conn(H5F_t *file)
|
||||
void * new_connector_info = NULL; /* Copy of connector info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(file);
|
||||
@ -525,7 +525,7 @@ H5F__get_objects(const H5F_t *f, unsigned types, size_t max_nobjs, hid_t *obj_id
|
||||
H5F_olist_t olist; /* Structure to hold search results */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(obj_id_count_ptr);
|
||||
@ -627,7 +627,7 @@ H5F__get_objects_cb(void *obj_ptr, hid_t obj_id, void *key)
|
||||
hbool_t add_obj = FALSE;
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(obj_ptr);
|
||||
HDassert(olist);
|
||||
@ -739,7 +739,7 @@ H5F__build_name(const char *prefix, const char *file_name, char **full_name /*ou
|
||||
size_t fname_len; /* Length of external link file name */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
prefix_len = HDstrlen(prefix);
|
||||
fname_len = HDstrlen(file_name);
|
||||
@ -775,7 +775,7 @@ H5F__getenv_prefix_name(char **env_prefix /*in,out*/)
|
||||
char *strret; /* Pointer to next separator */
|
||||
char *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Set return value now */
|
||||
ret_value = *env_prefix;
|
||||
@ -1086,7 +1086,7 @@ H5F__new(H5F_shared_t *shared, unsigned flags, hid_t fcpl_id, hid_t fapl_id, H5F
|
||||
H5F_t *f = NULL;
|
||||
H5F_t *ret_value = NULL;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
if (NULL == (f = H5FL_CALLOC(H5F_t)))
|
||||
HGOTO_ERROR(H5E_FILE, H5E_NOSPACE, NULL, "can't allocate top file structure")
|
||||
@ -1354,7 +1354,7 @@ H5F__dest(H5F_t *f, hbool_t flush)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -1649,7 +1649,7 @@ H5F__check_if_using_file_locks(H5P_genplist_t *fapl, hbool_t *use_file_locking)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Make sure the out parameter has a value */
|
||||
*use_file_locking = TRUE;
|
||||
@ -2130,7 +2130,7 @@ H5F__flush_phase1(H5F_t *f)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check arguments */
|
||||
HDassert(f);
|
||||
@ -2167,7 +2167,7 @@ H5F__flush_phase2(H5F_t *f, hbool_t closing)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check arguments */
|
||||
HDassert(f);
|
||||
@ -2659,7 +2659,7 @@ H5F__build_actual_name(const H5F_t *f, const H5P_genplist_t *fapl, const char *n
|
||||
#endif /* H5_HAVE_SYMLINK */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
|
@ -440,7 +440,7 @@ H5F__mount_count_ids_recurse(H5F_t *f, unsigned *nopen_files, unsigned *nopen_ob
|
||||
{
|
||||
unsigned u; /* Local index value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -523,7 +523,7 @@ H5F__flush_mounts_recurse(H5F_t *f)
|
||||
unsigned u; /* Index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
|
@ -91,7 +91,7 @@ H5F__super_ext_create(H5F_t *f, H5O_loc_t *ext_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -241,7 +241,7 @@ H5F__update_super_ext_driver_msg(H5F_t *f)
|
||||
H5F_super_t *sblock; /* Pointer to the super block */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
|
@ -152,7 +152,7 @@ H5F__superblock_prefix_decode(H5F_super_t *sblock, const uint8_t **image_ref,
|
||||
const uint8_t *image = (const uint8_t *)*image_ref; /* Pointer into raw data buffer */
|
||||
htri_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(sblock);
|
||||
@ -231,7 +231,7 @@ H5F__drvrinfo_prefix_decode(H5O_drvinfo_t *drvrinfo, char *drv_name, const uint8
|
||||
unsigned drv_vers; /* Version of driver info block */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(drvrinfo);
|
||||
@ -298,7 +298,7 @@ done:
|
||||
static herr_t
|
||||
H5F__cache_superblock_get_initial_load_size(void H5_ATTR_UNUSED *_udata, size_t *image_len)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image_len);
|
||||
@ -331,7 +331,7 @@ H5F__cache_superblock_get_final_load_size(const void *_image, size_t H5_ATTR_NDE
|
||||
H5F_super_t sblock; /* Temporary file superblock */
|
||||
htri_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -377,7 +377,7 @@ H5F__cache_superblock_verify_chksum(const void *_image, size_t len, void *_udata
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -418,7 +418,7 @@ H5F__cache_superblock_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUS
|
||||
const uint8_t * image = _image; /* Pointer into raw data buffer */
|
||||
H5F_super_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -606,7 +606,7 @@ H5F__cache_superblock_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5F_super_t *sblock = (const H5F_super_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(sblock);
|
||||
@ -640,7 +640,7 @@ H5F__cache_superblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNU
|
||||
haddr_t rel_eof; /* Relative EOF for file */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -779,7 +779,7 @@ H5F__cache_superblock_free_icr(void *_thing)
|
||||
H5F_super_t *sblock = (H5F_super_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(sblock);
|
||||
@ -809,7 +809,7 @@ done:
|
||||
static herr_t
|
||||
H5F__cache_drvrinfo_get_initial_load_size(void H5_ATTR_UNUSED *_udata, size_t *image_len)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image_len);
|
||||
@ -841,7 +841,7 @@ H5F__cache_drvrinfo_get_final_load_size(const void *_image, size_t H5_ATTR_NDEBU
|
||||
H5O_drvinfo_t drvrinfo; /* Driver info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -884,7 +884,7 @@ H5F__cache_drvrinfo_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED
|
||||
char drv_name[9]; /* Name of driver */
|
||||
H5O_drvinfo_t * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(image);
|
||||
@ -938,7 +938,7 @@ H5F__cache_drvrinfo_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5O_drvinfo_t *drvinfo = (const H5O_drvinfo_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(drvinfo);
|
||||
@ -973,7 +973,7 @@ H5F__cache_drvrinfo_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_NDEBU
|
||||
uint8_t * dbuf; /* Pointer to beginning of driver info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(f);
|
||||
@ -1031,7 +1031,7 @@ H5F__cache_drvrinfo_free_icr(void *_thing)
|
||||
{
|
||||
H5O_drvinfo_t *drvinfo = (H5O_drvinfo_t *)_thing; /* Pointer to the object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(drvinfo);
|
||||
|
10
src/H5G.c
10
src/H5G.c
@ -152,7 +152,7 @@ H5G__create_api_common(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
if (!name)
|
||||
@ -382,7 +382,7 @@ H5G__open_api_common(hid_t loc_id, const char *name, hid_t gapl_id, void **token
|
||||
H5VL_loc_params_t loc_params; /* Location parameters for object access */
|
||||
hid_t ret_value = H5I_INVALID_HID; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
if (!name)
|
||||
@ -549,7 +549,7 @@ H5G__get_info_api_common(hid_t loc_id, H5G_info_t *group_info /*out*/, void **to
|
||||
H5I_type_t id_type; /* Type of ID */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
id_type = H5I_get_type(loc_id);
|
||||
@ -658,7 +658,7 @@ H5G__get_info_by_name_api_common(hid_t loc_id, const char *name, H5G_info_t *gro
|
||||
H5VL_group_get_args_t vol_cb_args; /* Arguments to VOL callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
if (!group_info)
|
||||
@ -767,7 +767,7 @@ H5G__get_info_by_idx_api_common(hid_t loc_id, const char *group_name, H5_index_t
|
||||
H5VL_group_get_args_t vol_cb_args; /* Arguments to VOL callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
if (!group_info)
|
||||
|
@ -149,7 +149,7 @@ H5G__dense_fh_name_cmp(const void *obj, size_t obj_len, void *_udata)
|
||||
H5O_link_t * lnk; /* Pointer to link created from heap object */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode link information */
|
||||
if (NULL == (lnk = (H5O_link_t *)H5O_msg_decode(udata->f, NULL, H5O_LINK_ID, obj_len,
|
||||
@ -191,7 +191,7 @@ H5G__dense_btree2_name_store(void *_nrecord, const void *_udata)
|
||||
const H5G_bt2_ud_ins_t * udata = (const H5G_bt2_ud_ins_t *)_udata;
|
||||
H5G_dense_bt2_name_rec_t *nrecord = (H5G_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Copy user information info native record */
|
||||
nrecord->hash = udata->common.name_hash;
|
||||
@ -221,7 +221,7 @@ H5G__dense_btree2_name_compare(const void *_bt2_udata, const void *_bt2_rec, int
|
||||
const H5G_dense_bt2_name_rec_t *bt2_rec = (const H5G_dense_bt2_name_rec_t *)_bt2_rec;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(bt2_udata);
|
||||
@ -278,7 +278,7 @@ H5G__dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_U
|
||||
{
|
||||
const H5G_dense_bt2_name_rec_t *nrecord = (const H5G_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Encode the record's fields */
|
||||
UINT32ENCODE(raw, nrecord->hash)
|
||||
@ -305,7 +305,7 @@ H5G__dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_U
|
||||
{
|
||||
H5G_dense_bt2_name_rec_t *nrecord = (H5G_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Decode the record's fields */
|
||||
UINT32DECODE(raw, nrecord->hash)
|
||||
@ -334,7 +334,7 @@ H5G__dense_btree2_name_debug(FILE *stream, int indent, int fwidth, const void *_
|
||||
const H5G_dense_bt2_name_rec_t *nrecord = (const H5G_dense_bt2_name_rec_t *)_nrecord;
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%x, ", indent, "", fwidth, "Record:", (unsigned)nrecord->hash);
|
||||
for (u = 0; u < H5G_DENSE_FHEAP_ID_LEN; u++)
|
||||
@ -362,7 +362,7 @@ H5G__dense_btree2_corder_store(void *_nrecord, const void *_udata)
|
||||
const H5G_bt2_ud_ins_t * udata = (const H5G_bt2_ud_ins_t *)_udata;
|
||||
H5G_dense_bt2_corder_rec_t *nrecord = (H5G_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Copy user information info native record */
|
||||
nrecord->corder = udata->common.corder;
|
||||
@ -391,7 +391,7 @@ H5G__dense_btree2_corder_compare(const void *_bt2_udata, const void *_bt2_rec, i
|
||||
const H5G_bt2_ud_common_t * bt2_udata = (const H5G_bt2_ud_common_t *)_bt2_udata;
|
||||
const H5G_dense_bt2_corder_rec_t *bt2_rec = (const H5G_dense_bt2_corder_rec_t *)_bt2_rec;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(bt2_udata);
|
||||
@ -426,7 +426,7 @@ H5G__dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR
|
||||
{
|
||||
const H5G_dense_bt2_corder_rec_t *nrecord = (const H5G_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Encode the record's fields */
|
||||
INT64ENCODE(raw, nrecord->corder)
|
||||
@ -453,7 +453,7 @@ H5G__dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR
|
||||
{
|
||||
H5G_dense_bt2_corder_rec_t *nrecord = (H5G_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Decode the record's fields */
|
||||
INT64DECODE(raw, nrecord->corder)
|
||||
@ -482,7 +482,7 @@ H5G__dense_btree2_corder_debug(FILE *stream, int indent, int fwidth, const void
|
||||
const H5G_dense_bt2_corder_rec_t *nrecord = (const H5G_dense_bt2_corder_rec_t *)_nrecord;
|
||||
unsigned u; /* Local index variable */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%llu, ", indent, "", fwidth, "Record:", (unsigned long long)nrecord->corder);
|
||||
for (u = 0; u < H5G_DENSE_FHEAP_ID_LEN; u++)
|
||||
|
@ -118,7 +118,7 @@ H5G__cache_node_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5F_t *f = (H5F_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -160,7 +160,7 @@ H5G__cache_node_deserialize(const void *_image, size_t len, void *_udata, hbool_
|
||||
const uint8_t *image_end = image + len - 1; /* Pointer to end of image buffer */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(image);
|
||||
@ -224,7 +224,7 @@ H5G__cache_node_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5G_node_t *sym = (const H5G_node_t *)_thing; /* Pointer to object */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(sym);
|
||||
@ -260,7 +260,7 @@ H5G__cache_node_serialize(const H5F_t *f, void *_image, size_t len, void *_thing
|
||||
uint8_t * image = (uint8_t *)_image; /* Pointer into raw data buffer */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -317,7 +317,7 @@ H5G__cache_node_free_icr(void *_thing)
|
||||
H5G_node_t *sym = (H5G_node_t *)_thing; /* Pointer to the object */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(sym);
|
||||
|
@ -83,7 +83,7 @@ H5G__compact_build_table_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, void
|
||||
H5G_iter_bt_t * udata = (H5G_iter_bt_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(lnk);
|
||||
@ -121,7 +121,7 @@ H5G__compact_build_table(const H5O_loc_t *oloc, const H5O_linfo_t *linfo, H5_ind
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(oloc);
|
||||
@ -266,7 +266,7 @@ H5G__compact_remove_common_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, vo
|
||||
H5G_iter_rm_t * udata = (H5G_iter_rm_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(lnk);
|
||||
@ -435,7 +435,7 @@ H5G__compact_lookup_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, void *_ud
|
||||
H5G_iter_lkp_t * udata = (H5G_iter_lkp_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(lnk);
|
||||
|
@ -458,7 +458,7 @@ H5G__dense_lookup_cb(const void *_lnk, void *_user_lnk)
|
||||
H5O_link_t * user_lnk = (H5O_link_t *)_user_lnk; /* User data from v2 B-tree link lookup */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -555,7 +555,7 @@ H5G__dense_lookup_by_idx_fh_cb(const void *obj, size_t obj_len, void *_udata)
|
||||
H5O_link_t * tmp_lnk = NULL; /* Temporary pointer to link */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode link information & keep a copy */
|
||||
if (NULL == (tmp_lnk = (H5O_link_t *)H5O_msg_decode(udata->f, NULL, H5O_LINK_ID, obj_len,
|
||||
@ -594,7 +594,7 @@ H5G__dense_lookup_by_idx_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
H5G_fh_ud_lbi_t fh_udata; /* User data for fractal heap 'op' callback */
|
||||
int ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Prepare user data for callback */
|
||||
/* down */
|
||||
@ -736,7 +736,7 @@ H5G__dense_build_table_cb(const H5O_link_t *lnk, void *_udata)
|
||||
H5G_dense_bt_ud_t *udata = (H5G_dense_bt_ud_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(lnk);
|
||||
@ -834,7 +834,7 @@ H5G__dense_iterate_fh_cb(const void *obj, size_t obj_len, void *_udata)
|
||||
H5G_fh_ud_it_t *udata = (H5G_fh_ud_it_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode link information & keep a copy */
|
||||
/* (we make a copy instead of calling the user/library callback directly in
|
||||
@ -870,7 +870,7 @@ H5G__dense_iterate_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
H5G_bt2_ud_it_t * bt2_udata = (H5G_bt2_ud_it_t *)_bt2_udata; /* User data for callback */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for skipping links */
|
||||
if (bt2_udata->skip > 0)
|
||||
@ -1038,7 +1038,7 @@ H5G__dense_get_name_by_idx_fh_cb(const void *obj, size_t obj_len, void *_udata)
|
||||
H5O_link_t * lnk; /* Pointer to link created from heap object */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode link information */
|
||||
if (NULL == (lnk = (H5O_link_t *)H5O_msg_decode(udata->f, NULL, H5O_LINK_ID, obj_len,
|
||||
@ -1082,7 +1082,7 @@ H5G__dense_get_name_by_idx_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
H5G_fh_ud_gnbi_t fh_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Prepare user data for callback */
|
||||
/* down */
|
||||
@ -1236,7 +1236,7 @@ H5G__dense_remove_fh_cb(const void *obj, size_t obj_len, void *_udata)
|
||||
H5B2_t * bt2 = NULL; /* v2 B-tree handle for index */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode link information */
|
||||
if (NULL == (lnk = (H5O_link_t *)H5O_msg_decode(udata->f, NULL, H5O_LINK_ID, obj_len,
|
||||
@ -1301,7 +1301,7 @@ H5G__dense_remove_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
H5G_fh_ud_rm_t fh_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Set up the user data for fractal heap 'op' callback */
|
||||
fh_udata.f = bt2_udata->common.f;
|
||||
@ -1403,7 +1403,7 @@ H5G__dense_remove_by_idx_fh_cb(const void *obj, size_t obj_len, void *_udata)
|
||||
H5G_fh_ud_rmbi_t *udata = (H5G_fh_ud_rmbi_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Decode link information */
|
||||
if (NULL == (udata->lnk = (H5O_link_t *)H5O_msg_decode(udata->f, NULL, H5O_LINK_ID, obj_len,
|
||||
@ -1437,7 +1437,7 @@ H5G__dense_remove_by_idx_bt2_cb(const void *_record, void *_bt2_udata)
|
||||
const uint8_t * heap_id; /* Heap ID for link */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Determine the index being used */
|
||||
if (bt2_udata->idx_type == H5_INDEX_NAME) {
|
||||
|
@ -1009,7 +1009,7 @@ H5G__get_objinfo_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char *name,
|
||||
H5G_trav_goi_t *udata = (H5G_trav_goi_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid link */
|
||||
if (lnk == NULL && obj_loc == NULL)
|
||||
|
10
src/H5Gint.c
10
src/H5Gint.c
@ -214,7 +214,7 @@ H5G__close_cb(H5VL_object_t *grp_vol_obj, void **request)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(grp_vol_obj);
|
||||
@ -531,7 +531,7 @@ H5G__open_oid(H5G_t *grp)
|
||||
hbool_t obj_opened = FALSE;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check args */
|
||||
HDassert(grp);
|
||||
@ -841,7 +841,7 @@ H5G__iterate_cb(const H5O_link_t *lnk, void *_udata)
|
||||
H5G_iter_appcall_ud_t *udata = (H5G_iter_appcall_ud_t *)_udata; /* User data for callback */
|
||||
herr_t ret_value = H5_ITER_ERROR; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(lnk);
|
||||
@ -949,7 +949,7 @@ done:
|
||||
static herr_t
|
||||
H5G__free_visit_visited(void *item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *operator_data /*in,out*/)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
item = H5FL_FREE(H5_obj_t, item);
|
||||
|
||||
@ -983,7 +983,7 @@ H5G__visit_cb(const H5O_link_t *lnk, void *_udata)
|
||||
size_t len_needed; /* Length of path string needed */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(lnk);
|
||||
|
@ -95,7 +95,7 @@ static int H5G__link_cmp_corder_dec(const void *lnk1, const void *lnk2);
|
||||
static int
|
||||
H5G__link_cmp_name_inc(const void *lnk1, const void *lnk2)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(HDstrcmp(((const H5O_link_t *)lnk1)->name, ((const H5O_link_t *)lnk2)->name))
|
||||
} /* end H5G__link_cmp_name_inc() */
|
||||
@ -120,7 +120,7 @@ H5G__link_cmp_name_inc(const void *lnk1, const void *lnk2)
|
||||
static int
|
||||
H5G__link_cmp_name_dec(const void *lnk1, const void *lnk2)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
FUNC_LEAVE_NOAPI(HDstrcmp(((const H5O_link_t *)lnk2)->name, ((const H5O_link_t *)lnk1)->name))
|
||||
} /* end H5G__link_cmp_name_dec() */
|
||||
@ -146,7 +146,7 @@ H5G__link_cmp_corder_inc(const void *lnk1, const void *lnk2)
|
||||
{
|
||||
int ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (((const H5O_link_t *)lnk1)->corder < ((const H5O_link_t *)lnk2)->corder)
|
||||
ret_value = -1;
|
||||
@ -179,7 +179,7 @@ H5G__link_cmp_corder_dec(const void *lnk1, const void *lnk2)
|
||||
{
|
||||
int ret_value = -1; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (((const H5O_link_t *)lnk1)->corder < ((const H5O_link_t *)lnk2)->corder)
|
||||
ret_value = 1;
|
||||
|
16
src/H5Gloc.c
16
src/H5Gloc.c
@ -389,7 +389,7 @@ H5G__loc_find_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char *name,
|
||||
H5G_loc_fnd_t *udata = (H5G_loc_fnd_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid object */
|
||||
if (obj_loc == NULL)
|
||||
@ -467,7 +467,7 @@ H5G__loc_find_by_idx_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_
|
||||
hbool_t obj_exists = FALSE; /* Whether the object exists (unused) */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid link */
|
||||
if (obj_loc == NULL)
|
||||
@ -613,7 +613,7 @@ H5G__loc_exists_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_ATTR_
|
||||
hbool_t *exists = (hbool_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid object */
|
||||
if (obj_loc == NULL)
|
||||
@ -685,7 +685,7 @@ H5G__loc_addr_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_ATTR_UN
|
||||
haddr_t *udata = (haddr_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid link */
|
||||
if (obj_loc == NULL)
|
||||
@ -755,7 +755,7 @@ H5G__loc_info_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_ATTR_UN
|
||||
H5G_loc_info_t *udata = (H5G_loc_info_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid link */
|
||||
if (obj_loc == NULL)
|
||||
@ -831,7 +831,7 @@ H5G__loc_native_info_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_
|
||||
H5G_loc_native_info_t *udata = (H5G_loc_native_info_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid link */
|
||||
if (obj_loc == NULL)
|
||||
@ -909,7 +909,7 @@ H5G__loc_set_comment_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_
|
||||
htri_t exists; /* Whether a "comment" message already exists */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid link */
|
||||
if (obj_loc == NULL)
|
||||
@ -998,7 +998,7 @@ H5G__loc_get_comment_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_
|
||||
H5O_name_t comment; /* Object header "comment" message */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check if the name in this group resolved to a valid link */
|
||||
if (obj_loc == NULL)
|
||||
|
@ -212,7 +212,7 @@ H5G__common_path(const H5RS_str_t *fullpath_r, const H5RS_str_t *prefix_r)
|
||||
size_t nchars1, nchars2; /* Number of characters in components */
|
||||
htri_t ret_value = FALSE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Get component of each name */
|
||||
fullpath = H5RS_get_str(fullpath_r);
|
||||
@ -273,7 +273,7 @@ H5G__build_fullpath(const char *prefix, const char *name)
|
||||
{
|
||||
H5RS_str_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(prefix);
|
||||
@ -597,7 +597,7 @@ H5G__name_move_path(H5RS_str_t **path_r_ptr, const char *full_suffix, const char
|
||||
size_t full_suffix_len; /* Length of full suffix */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(path_r_ptr && *path_r_ptr);
|
||||
@ -690,7 +690,7 @@ H5G__name_replace_cb(void *obj_ptr, hid_t obj_id, void *key)
|
||||
hbool_t obj_in_child = FALSE; /* Flag to indicate that the object is in the child mount hier. */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(obj_ptr);
|
||||
|
||||
@ -1086,7 +1086,7 @@ H5G__get_name_by_addr_cb(hid_t gid, const char *path, const H5L_info2_t *linfo,
|
||||
hbool_t obj_found = FALSE; /* Object at 'path' found */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(path);
|
||||
|
@ -139,7 +139,7 @@ H5FL_SEQ_DEFINE(H5G_entry_t);
|
||||
static H5UC_t *
|
||||
H5G__node_get_shared(const H5F_t *f, const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(f);
|
||||
|
||||
@ -164,7 +164,7 @@ H5G__node_decode_key(const H5B_shared_t *shared, const uint8_t *raw, void *_key)
|
||||
{
|
||||
H5G_node_key_t *key = (H5G_node_key_t *)_key;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(shared);
|
||||
HDassert(raw);
|
||||
@ -192,7 +192,7 @@ H5G__node_encode_key(const H5B_shared_t *shared, uint8_t *raw, const void *_key)
|
||||
{
|
||||
const H5G_node_key_t *key = (const H5G_node_key_t *)_key;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(shared);
|
||||
HDassert(raw);
|
||||
@ -221,7 +221,7 @@ H5G__node_debug_key(FILE *stream, int indent, int fwidth, const void *_key, cons
|
||||
const H5G_node_key_t * key = (const H5G_node_key_t *)_key;
|
||||
const H5G_bt_common_t *udata = (const H5G_bt_common_t *)_udata;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDassert(key);
|
||||
|
||||
@ -300,7 +300,7 @@ H5G__node_create(H5F_t *f, H5B_ins_t H5_ATTR_UNUSED op, void *_lt_key, void H5_A
|
||||
H5G_node_t * sym = NULL;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -370,7 +370,7 @@ H5G__node_cmp2(void *_lt_key, void *_udata, void *_rt_key)
|
||||
const char * s1, *s2;
|
||||
int ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata && udata->heap);
|
||||
@ -423,7 +423,7 @@ H5G__node_cmp3(void *_lt_key, void *_udata, void *_rt_key)
|
||||
const char * s;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata && udata->heap);
|
||||
@ -481,7 +481,7 @@ H5G__node_found(H5F_t *f, haddr_t addr, const void H5_ATTR_UNUSED *_lt_key, hboo
|
||||
const char * s;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -579,7 +579,7 @@ H5G__node_insert(H5F_t *f, haddr_t addr, void H5_ATTR_UNUSED *_lt_key, hbool_t H
|
||||
H5G_entry_t ent; /* Entry to insert in node */
|
||||
H5B_ins_t ret_value = H5B_INS_ERROR;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -737,7 +737,7 @@ H5G__node_remove(H5F_t *f, haddr_t addr, void H5_ATTR_NDEBUG_UNUSED *_lt_key /*i
|
||||
int cmp = 1;
|
||||
H5B_ins_t ret_value = H5B_INS_ERROR;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
|
@ -358,7 +358,7 @@ H5G__obj_compact_to_dense_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, voi
|
||||
H5G_obj_oh_it_ud1_t *udata = (H5G_obj_oh_it_ud1_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(lnk);
|
||||
@ -391,7 +391,7 @@ H5G__obj_stab_to_new_cb(const H5O_link_t *lnk, void *_udata)
|
||||
H5G_obj_stab_it_ud1_t *udata = (H5G_obj_stab_it_ud1_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* check arguments */
|
||||
HDassert(lnk);
|
||||
@ -835,7 +835,7 @@ H5G__obj_remove_update_linfo(const H5O_loc_t *oloc, H5O_linfo_t *linfo)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(oloc);
|
||||
|
14
src/H5Goh.c
14
src/H5Goh.c
@ -97,7 +97,7 @@ H5O__group_get_copy_file_udata(void)
|
||||
{
|
||||
void *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Allocate space for the 'copy file' user data for copying groups.
|
||||
* Currently this is only a ginfo, so there is no specific struct type for
|
||||
@ -127,7 +127,7 @@ H5O__group_free_copy_file_udata(void *_udata)
|
||||
{
|
||||
H5G_copy_file_ud_t *udata = (H5G_copy_file_ud_t *)_udata;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(udata);
|
||||
@ -165,7 +165,7 @@ H5O__group_isa(const H5O_t *oh)
|
||||
htri_t linfo_exists; /* Whether the 'linfo' message is in the object header */
|
||||
htri_t ret_value = FAIL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(oh);
|
||||
|
||||
@ -200,7 +200,7 @@ H5O__group_open(const H5G_loc_t *obj_loc, H5I_type_t *opened_type)
|
||||
H5G_t *grp = NULL; /* Group opened */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
HDassert(obj_loc);
|
||||
|
||||
@ -240,7 +240,7 @@ H5O__group_create(H5F_t *f, void *_crt_info, H5G_loc_t *obj_loc)
|
||||
H5G_t * grp = NULL; /* New group created */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -287,7 +287,7 @@ H5O__group_get_oloc(hid_t obj_id)
|
||||
H5G_t * grp; /* Group opened */
|
||||
H5O_loc_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Get the group */
|
||||
if (NULL == (grp = (H5G_t *)H5VL_object(obj_id)))
|
||||
@ -323,7 +323,7 @@ H5O__group_bh_info(const H5O_loc_t *loc, H5O_t *oh, H5_ih_info_t *bh_info)
|
||||
H5B2_t *bt2_corder = NULL; /* v2 B-tree handle for creation order index */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(loc);
|
||||
|
@ -681,7 +681,7 @@ H5G__stab_get_name_by_idx_cb(const H5G_entry_t *ent, void *_udata)
|
||||
const char * name; /* Pointer to name string in heap */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ent);
|
||||
@ -808,7 +808,7 @@ H5G__stab_lookup_cb(const H5G_entry_t *ent, void *_udata)
|
||||
H5G_stab_fnd_ud_t *udata = (H5G_stab_fnd_ud_t *)_udata; /* 'User data' passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for setting link info */
|
||||
if (udata->lnk)
|
||||
@ -901,7 +901,7 @@ H5G__stab_lookup_by_idx_cb(const H5G_entry_t *ent, void *_udata)
|
||||
const char * name; /* Pointer to name string in heap */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ent);
|
||||
|
@ -721,7 +721,7 @@ H5G__verify_cached_stabs_test_cb(H5F_t *f, const void H5_ATTR_UNUSED *_lt_key, h
|
||||
unsigned i;
|
||||
int ret_value = H5_ITER_CONT;
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
|
@ -111,7 +111,7 @@ H5G__traverse_slink_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc, const char H5_ATTR_UNU
|
||||
H5G_trav_slink_t *udata = (H5G_trav_slink_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check for dangling soft link */
|
||||
if (obj_loc == NULL) {
|
||||
@ -163,7 +163,7 @@ H5G__traverse_ud(const H5G_loc_t *grp_loc /*in,out*/, const H5O_link_t *lnk, H5G
|
||||
hid_t cur_grp = (-1);
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(grp_loc);
|
||||
@ -284,7 +284,7 @@ H5G__traverse_slink(const H5G_loc_t *grp_loc, const H5O_link_t *lnk, H5G_loc_t *
|
||||
hbool_t tmp_grp_loc_set = FALSE; /* Flag to indicate that tmp group location is initialized */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(grp_loc);
|
||||
@ -475,7 +475,7 @@ H5G__traverse_real(const H5G_loc_t *_loc, const char *name, unsigned target, H5G
|
||||
hbool_t last_comp = FALSE; /* Flag to indicate that a component is the last component in the name */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Check parameters */
|
||||
HDassert(_loc);
|
||||
|
@ -192,7 +192,7 @@ H5HF__huge_bt2_crt_context(void *_f)
|
||||
H5HF_huge_bt2_ctx_t *ctx; /* Callback context structure */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
@ -232,7 +232,7 @@ H5HF__huge_bt2_dst_context(void *_ctx)
|
||||
{
|
||||
H5HF_huge_bt2_ctx_t *ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -317,7 +317,7 @@ done:
|
||||
static herr_t
|
||||
H5HF__huge_bt2_indir_store(void *nrecord, const void *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(H5HF_huge_bt2_indir_rec_t *)nrecord = *(const H5HF_huge_bt2_indir_rec_t *)udata;
|
||||
|
||||
@ -341,7 +341,7 @@ H5HF__huge_bt2_indir_store(void *nrecord, const void *udata)
|
||||
static herr_t
|
||||
H5HF__huge_bt2_indir_compare(const void *_rec1, const void *_rec2, int *result)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*result = (int)(((const H5HF_huge_bt2_indir_rec_t *)_rec1)->id -
|
||||
((const H5HF_huge_bt2_indir_rec_t *)_rec2)->id);
|
||||
@ -368,7 +368,7 @@ H5HF__huge_bt2_indir_encode(uint8_t *raw, const void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
const H5HF_huge_bt2_indir_rec_t *nrecord = (const H5HF_huge_bt2_indir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -400,7 +400,7 @@ H5HF__huge_bt2_indir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
H5HF_huge_bt2_indir_rec_t *nrecord = (H5HF_huge_bt2_indir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -432,7 +432,7 @@ H5HF__huge_bt2_indir_debug(FILE *stream, int indent, int fwidth, const void *_nr
|
||||
{
|
||||
const H5HF_huge_bt2_indir_rec_t *nrecord = (const H5HF_huge_bt2_indir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%" PRIuHADDR ", %" PRIuHSIZE ", %" PRIuHSIZE "}\n", indent, "", fwidth,
|
||||
"Record:", nrecord->addr, nrecord->len, nrecord->id);
|
||||
@ -515,7 +515,7 @@ done:
|
||||
static herr_t
|
||||
H5HF__huge_bt2_filt_indir_store(void *nrecord, const void *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(H5HF_huge_bt2_filt_indir_rec_t *)nrecord = *(const H5HF_huge_bt2_filt_indir_rec_t *)udata;
|
||||
|
||||
@ -539,7 +539,7 @@ H5HF__huge_bt2_filt_indir_store(void *nrecord, const void *udata)
|
||||
static herr_t
|
||||
H5HF__huge_bt2_filt_indir_compare(const void *_rec1, const void *_rec2, int *result)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*result = (int)(((const H5HF_huge_bt2_filt_indir_rec_t *)_rec1)->id -
|
||||
((const H5HF_huge_bt2_filt_indir_rec_t *)_rec2)->id);
|
||||
@ -566,7 +566,7 @@ H5HF__huge_bt2_filt_indir_encode(uint8_t *raw, const void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
const H5HF_huge_bt2_filt_indir_rec_t *nrecord = (const H5HF_huge_bt2_filt_indir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -600,7 +600,7 @@ H5HF__huge_bt2_filt_indir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
H5HF_huge_bt2_filt_indir_rec_t *nrecord = (H5HF_huge_bt2_filt_indir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -634,7 +634,7 @@ H5HF__huge_bt2_filt_indir_debug(FILE *stream, int indent, int fwidth, const void
|
||||
{
|
||||
const H5HF_huge_bt2_filt_indir_rec_t *nrecord = (const H5HF_huge_bt2_filt_indir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%" PRIuHADDR ", %" PRIuHSIZE ", %x, %" PRIuHSIZE ", %" PRIuHSIZE "}\n",
|
||||
indent, "", fwidth, "Record:", nrecord->addr, nrecord->len, nrecord->filter_mask,
|
||||
@ -693,7 +693,7 @@ done:
|
||||
static herr_t
|
||||
H5HF__huge_bt2_dir_store(void *nrecord, const void *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(H5HF_huge_bt2_dir_rec_t *)nrecord = *(const H5HF_huge_bt2_dir_rec_t *)udata;
|
||||
|
||||
@ -720,7 +720,7 @@ H5HF__huge_bt2_dir_compare(const void *_rec1, const void *_rec2, int *result)
|
||||
const H5HF_huge_bt2_dir_rec_t *rec1 = (const H5HF_huge_bt2_dir_rec_t *)_rec1;
|
||||
const H5HF_huge_bt2_dir_rec_t *rec2 = (const H5HF_huge_bt2_dir_rec_t *)_rec2;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (rec1->addr < rec2->addr)
|
||||
*result = -1;
|
||||
@ -755,7 +755,7 @@ H5HF__huge_bt2_dir_encode(uint8_t *raw, const void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
const H5HF_huge_bt2_dir_rec_t *nrecord = (const H5HF_huge_bt2_dir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -786,7 +786,7 @@ H5HF__huge_bt2_dir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
H5HF_huge_bt2_dir_rec_t *nrecord = (H5HF_huge_bt2_dir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -817,7 +817,7 @@ H5HF__huge_bt2_dir_debug(FILE *stream, int indent, int fwidth, const void *_nrec
|
||||
{
|
||||
const H5HF_huge_bt2_dir_rec_t *nrecord = (const H5HF_huge_bt2_dir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%" PRIuHADDR ", %" PRIuHSIZE "}\n", indent, "", fwidth,
|
||||
"Record:", nrecord->addr, nrecord->len);
|
||||
@ -900,7 +900,7 @@ done:
|
||||
static herr_t
|
||||
H5HF__huge_bt2_filt_dir_store(void *nrecord, const void *udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
*(H5HF_huge_bt2_filt_dir_rec_t *)nrecord = *(const H5HF_huge_bt2_filt_dir_rec_t *)udata;
|
||||
|
||||
@ -927,7 +927,7 @@ H5HF__huge_bt2_filt_dir_compare(const void *_rec1, const void *_rec2, int *resul
|
||||
const H5HF_huge_bt2_filt_dir_rec_t *rec1 = (const H5HF_huge_bt2_filt_dir_rec_t *)_rec1;
|
||||
const H5HF_huge_bt2_filt_dir_rec_t *rec2 = (const H5HF_huge_bt2_filt_dir_rec_t *)_rec2;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
if (rec1->addr < rec2->addr)
|
||||
*result = -1;
|
||||
@ -962,7 +962,7 @@ H5HF__huge_bt2_filt_dir_encode(uint8_t *raw, const void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
const H5HF_huge_bt2_filt_dir_rec_t *nrecord = (const H5HF_huge_bt2_filt_dir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -995,7 +995,7 @@ H5HF__huge_bt2_filt_dir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
H5HF_huge_bt2_ctx_t * ctx = (H5HF_huge_bt2_ctx_t *)_ctx; /* Callback context structure */
|
||||
H5HF_huge_bt2_filt_dir_rec_t *nrecord = (H5HF_huge_bt2_filt_dir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(ctx);
|
||||
@ -1028,7 +1028,7 @@ H5HF__huge_bt2_filt_dir_debug(FILE *stream, int indent, int fwidth, const void *
|
||||
{
|
||||
const H5HF_huge_bt2_filt_dir_rec_t *nrecord = (const H5HF_huge_bt2_filt_dir_rec_t *)_nrecord;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
HDfprintf(stream, "%*s%-*s {%" PRIuHADDR ", %" PRIuHSIZE ", %x, %" PRIuHSIZE "}\n", indent, "", fwidth,
|
||||
"Record:", nrecord->addr, nrecord->len, nrecord->filter_mask, nrecord->obj_size);
|
||||
|
@ -202,7 +202,7 @@ H5HF__hdr_prefix_decode(H5HF_hdr_t *hdr, const uint8_t **image_ref)
|
||||
const uint8_t *image = *image_ref; /* Pointer into into supplied image */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(hdr);
|
||||
@ -245,7 +245,7 @@ done:
|
||||
static herr_t
|
||||
H5HF__dtable_decode(H5F_t *f, const uint8_t **pp, H5HF_dtable_t *dtable)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -293,7 +293,7 @@ H5HF__dtable_decode(H5F_t *f, const uint8_t **pp, H5HF_dtable_t *dtable)
|
||||
static herr_t
|
||||
H5HF__dtable_encode(H5F_t *f, uint8_t **pp, const H5HF_dtable_t *dtable)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(f);
|
||||
@ -349,7 +349,7 @@ H5HF__cache_hdr_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
H5HF_hdr_cache_ud_t *udata = (H5HF_hdr_cache_ud_t *)_udata; /* Pointer to user data */
|
||||
H5HF_hdr_t dummy_hdr; /* Dummy header -- to compute size */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata);
|
||||
@ -389,7 +389,7 @@ H5HF__cache_hdr_get_final_load_size(const void *_image, size_t H5_ATTR_NDEBUG_UN
|
||||
H5HF_hdr_cache_ud_t *udata = (H5HF_hdr_cache_ud_t *)_udata; /* User data for callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(image);
|
||||
@ -433,7 +433,7 @@ H5HF__cache_hdr_verify_chksum(const void *_image, size_t len, void H5_ATTR_UNUSE
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -473,7 +473,7 @@ H5HF__cache_hdr_deserialize(const void *_image, size_t len, void *_udata, hbool_
|
||||
uint8_t heap_flags; /* Status flags for heap */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(image);
|
||||
@ -603,7 +603,7 @@ H5HF__cache_hdr_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5HF_hdr_t *hdr = (const H5HF_hdr_t *)_thing; /* Fractal heap info */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(hdr);
|
||||
@ -644,7 +644,7 @@ H5HF__cache_hdr_pre_serialize(H5F_t *f, void *_thing, haddr_t addr, size_t len,
|
||||
H5HF_hdr_t *hdr = (H5HF_hdr_t *)_thing; /* Fractal heap info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -731,7 +731,7 @@ H5HF__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_NDEBUG_UN
|
||||
uint32_t metadata_chksum; /* Computed metadata checksum value */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -843,7 +843,7 @@ H5HF__cache_hdr_free_icr(void *_thing)
|
||||
H5HF_hdr_t *hdr = (H5HF_hdr_t *)_thing; /* Fractal heap info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(hdr);
|
||||
@ -877,7 +877,7 @@ H5HF__cache_iblock_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
{
|
||||
H5HF_iblock_cache_ud_t *udata = (H5HF_iblock_cache_ud_t *)_udata; /* User data for callback */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata);
|
||||
@ -912,7 +912,7 @@ H5HF__cache_iblock_verify_chksum(const void *_image, size_t len, void H5_ATTR_UN
|
||||
uint32_t computed_chksum; /* Computed metadata checksum value */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Check arguments */
|
||||
HDassert(image);
|
||||
@ -959,7 +959,7 @@ H5HF__cache_iblock_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED
|
||||
unsigned u; /* Local index variable */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(image);
|
||||
@ -1140,7 +1140,7 @@ H5HF__cache_iblock_image_len(const void *_thing, size_t *image_len)
|
||||
{
|
||||
const H5HF_indirect_t *iblock = (const H5HF_indirect_t *)_thing; /* Indirect block info */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(iblock);
|
||||
@ -1181,7 +1181,7 @@ H5HF__cache_iblock_pre_serialize(H5F_t *f, void *_thing, haddr_t addr, size_t H5
|
||||
H5HF_indirect_t *iblock = (H5HF_indirect_t *)_thing; /* Indirect block info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -1309,7 +1309,7 @@ H5HF__cache_iblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_NDEBUG
|
||||
size_t u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -1420,7 +1420,7 @@ H5HF__cache_iblock_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5HF_indirect_t *iblock = (H5HF_indirect_t *)_thing; /* Indirect block info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(iblock);
|
||||
@ -1519,7 +1519,7 @@ H5HF__cache_iblock_free_icr(void *thing)
|
||||
H5HF_indirect_t *iblock = (H5HF_indirect_t *)thing; /* Fractal heap indirect block to free */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(iblock);
|
||||
@ -1557,7 +1557,7 @@ H5HF__cache_dblock_get_initial_load_size(void *_udata, size_t *image_len)
|
||||
const H5HF_parent_t * par_info; /* Pointer to parent information */
|
||||
const H5HF_hdr_t * hdr; /* Shared fractal heap information */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata);
|
||||
@ -1612,7 +1612,7 @@ H5HF__cache_dblock_verify_chksum(const void *_image, size_t len, void *_udata)
|
||||
uint8_t * chk_p; /* Pointer to the area for validating checksum */
|
||||
htri_t ret_value = TRUE; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(image);
|
||||
@ -1742,7 +1742,7 @@ H5HF__cache_dblock_deserialize(const void *_image, size_t len, void *_udata, hbo
|
||||
haddr_t heap_addr; /* Address of heap header in the file */
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(image);
|
||||
@ -1918,7 +1918,7 @@ H5HF__cache_dblock_image_len(const void *_thing, size_t *image_len)
|
||||
const H5HF_hdr_t * hdr; /* Shared fractal heap information */
|
||||
size_t size;
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dblock);
|
||||
@ -2060,7 +2060,7 @@ H5HF__cache_dblock_pre_serialize(H5F_t *f, void *_thing, haddr_t addr, size_t le
|
||||
unsigned dblock_flags = 0;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -2424,7 +2424,7 @@ H5HF__cache_dblock_serialize(const H5F_t H5_ATTR_NDEBUG_UNUSED *f, void *image,
|
||||
H5HF_direct_t *dblock = (H5HF_direct_t *)_thing; /* Direct block info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -2475,7 +2475,7 @@ H5HF__cache_dblock_notify(H5AC_notify_action_t action, void *_thing)
|
||||
H5HF_direct_t *dblock = (H5HF_direct_t *)_thing; /* Fractal heap direct block */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dblock);
|
||||
@ -2544,7 +2544,7 @@ H5HF__cache_dblock_free_icr(void *_thing)
|
||||
H5HF_direct_t *dblock = (H5HF_direct_t *)_thing; /* Fractal heap direct block */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dblock);
|
||||
@ -2579,7 +2579,7 @@ H5HF__cache_dblock_fsf_size(const void *_thing, hsize_t *fsf_size)
|
||||
{
|
||||
const H5HF_direct_t *dblock = (const H5HF_direct_t *)_thing; /* Fractal heap direct block */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(dblock);
|
||||
@ -2666,7 +2666,7 @@ H5HF__cache_verify_hdr_descendants_clean(H5F_t *f, H5HF_hdr_t *hdr, hbool_t *fd_
|
||||
unsigned hdr_status = 0; /* Header cache entry status */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -3030,7 +3030,7 @@ H5HF__cache_verify_iblock_descendants_clean(H5F_t *f, haddr_t fd_parent_addr, H5
|
||||
hbool_t has_iblocks = FALSE;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -3149,7 +3149,7 @@ H5HF__cache_verify_iblocks_dblocks_clean(H5F_t *f, haddr_t fd_parent_addr, H5HF_
|
||||
haddr_t iblock_addr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
@ -3314,7 +3314,7 @@ H5HF__cache_verify_descendant_iblocks_clean(H5F_t *f, haddr_t fd_parent_addr, H5
|
||||
haddr_t iblock_addr;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(f);
|
||||
|
@ -175,7 +175,7 @@ done:
|
||||
static herr_t
|
||||
H5HF__dtable_debug(const H5HF_dtable_t *dtable, FILE *stream, int indent, int fwidth)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
|
@ -148,7 +148,7 @@ H5HF__hdr_compute_free_space(H5HF_hdr_t *hdr, unsigned iblock_row)
|
||||
unsigned curr_row; /* Current row in block */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
|
@ -96,7 +96,7 @@ H5HF__huge_bt2_create(H5HF_hdr_t *hdr)
|
||||
H5B2_create_t bt2_cparam; /* v2 B-tree creation parameters */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -246,7 +246,7 @@ H5HF__huge_new_id(H5HF_hdr_t *hdr)
|
||||
hsize_t new_id; /* New object's ID */
|
||||
hsize_t ret_value = 0; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
@ -670,7 +670,7 @@ H5HF__huge_op_real(H5HF_hdr_t *hdr, const uint8_t *id, hbool_t is_read, H5HF_ope
|
||||
unsigned filter_mask = 0; /* Filter mask for object (only used for filtered objects) */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
|
@ -99,7 +99,7 @@ H5HF__iblock_pin(H5HF_indirect_t *iblock)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(iblock);
|
||||
@ -164,7 +164,7 @@ H5HF__iblock_unpin(H5HF_indirect_t *iblock)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(iblock);
|
||||
@ -679,7 +679,7 @@ H5HF__man_iblock_root_halve(H5HF_indirect_t *iblock)
|
||||
unsigned u; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(iblock);
|
||||
@ -809,7 +809,7 @@ H5HF__man_iblock_root_revert(H5HF_indirect_t *root_iblock)
|
||||
size_t dblock_size; /* Direct block's size */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_STATIC
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
/*
|
||||
* Check arguments.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user