HDF5  1.12.0
H5CX.c File Reference

Data Structures

struct  H5CX_t
 
struct  H5CX_node_t
 
struct  H5CX_dxpl_cache_t
 
struct  H5CX_lcpl_cache_t
 
struct  H5CX_lapl_cache_t
 
struct  H5CX_dcpl_cache_t
 
struct  H5CX_dapl_cache_t
 
struct  H5CX_fapl_cache_t
 

Typedefs

typedef struct H5CX_t H5CX_t
 
typedef struct H5CX_node_t H5CX_node_t
 
typedef struct H5CX_dxpl_cache_t H5CX_dxpl_cache_t
 
typedef struct H5CX_lcpl_cache_t H5CX_lcpl_cache_t
 
typedef struct H5CX_lapl_cache_t H5CX_lapl_cache_t
 
typedef struct H5CX_dcpl_cache_t H5CX_dcpl_cache_t
 
typedef struct H5CX_dapl_cache_t H5CX_dapl_cache_t
 
typedef struct H5CX_fapl_cache_t H5CX_fapl_cache_t
 

Functions

 H5FL_DEFINE_STATIC (H5CX_node_t)
 
 H5FL_DEFINE_STATIC (H5CX_state_t)
 
herr_t H5CX__init_package (void)
 
int H5CX_term_package (void)
 
herr_t H5CX_push (void)
 
void H5CX_push_special (void)
 
herr_t H5CX_retrieve_state (H5CX_state_t **api_state)
 
herr_t H5CX_restore_state (const H5CX_state_t *api_state)
 
herr_t H5CX_free_state (H5CX_state_t *api_state)
 
hbool_t H5CX_is_def_dxpl (void)
 
void H5CX_set_dxpl (hid_t dxpl_id)
 
void H5CX_set_dcpl (hid_t dcpl_id)
 
herr_t H5CX_set_libver_bounds (H5F_t *f)
 
void H5CX_set_lcpl (hid_t lcpl_id)
 
void H5CX_set_lapl (hid_t lapl_id)
 
herr_t H5CX_set_apl (hid_t *acspl_id, const H5P_libclass_t *libclass, hid_t #ifndef H5_HAVE_PARALLEL H5_ATTR_UNUSED #endif loc_id, hbool_t #ifndef H5_HAVE_PARALLEL H5_ATTR_UNUSED #endif is_collective)
 
herr_t H5CX_set_loc (hid_t #ifndef H5_HAVE_PARALLEL H5_ATTR_UNUSED #endif loc_id)
 
herr_t H5CX_set_vol_wrap_ctx (void *vol_wrap_ctx)
 
herr_t H5CX_set_vol_connector_prop (const H5VL_connector_prop_t *vol_connector_prop)
 
hid_t H5CX_get_dxpl (void)
 
hid_t H5CX_get_lapl (void)
 
herr_t H5CX_get_vol_wrap_ctx (void **vol_wrap_ctx)
 
herr_t H5CX_get_vol_connector_prop (H5VL_connector_prop_t *vol_connector_prop)
 
haddr_t H5CX_get_tag (void)
 
H5AC_ring_t H5CX_get_ring (void)
 
hbool_t H5CX_get_coll_metadata_read (void)
 
herr_t H5CX_get_mpi_coll_datatypes (MPI_Datatype *btype, MPI_Datatype *ftype)
 
hbool_t H5CX_get_mpi_file_flushing (void)
 
hbool_t H5CX_get_mpio_rank0_bcast (void)
 
herr_t H5CX_get_btree_split_ratios (double split_ratio[3])
 
herr_t H5CX_get_max_temp_buf (size_t *max_temp_buf)
 
herr_t H5CX_get_tconv_buf (void **tconv_buf)
 
herr_t H5CX_get_bkgr_buf (void **bkgr_buf)
 
herr_t H5CX_get_bkgr_buf_type (H5T_bkg_t *bkgr_buf_type)
 
herr_t H5CX_get_vec_size (size_t *vec_size)
 
herr_t H5CX_get_io_xfer_mode (H5FD_mpio_xfer_t *io_xfer_mode)
 
herr_t H5CX_get_mpio_coll_opt (H5FD_mpio_collective_opt_t *mpio_coll_opt)
 
herr_t H5CX_get_mpio_local_no_coll_cause (uint32_t *mpio_local_no_coll_cause)
 
herr_t H5CX_get_mpio_global_no_coll_cause (uint32_t *mpio_global_no_coll_cause)
 
herr_t H5CX_get_mpio_chunk_opt_mode (H5FD_mpio_chunk_opt_t *mpio_chunk_opt_mode)
 
herr_t H5CX_get_mpio_chunk_opt_num (unsigned *mpio_chunk_opt_num)
 
herr_t H5CX_get_mpio_chunk_opt_ratio (unsigned *mpio_chunk_opt_ratio)
 
herr_t H5CX_get_err_detect (H5Z_EDC_t *err_detect)
 
herr_t H5CX_get_filter_cb (H5Z_cb_t *filter_cb)
 
herr_t H5CX_get_data_transform (H5Z_data_xform_t **data_transform)
 
herr_t H5CX_get_vlen_alloc_info (H5T_vlen_alloc_info_t *vl_alloc_info)
 
herr_t H5CX_get_dt_conv_cb (H5T_conv_cb_t *dt_conv_cb)
 
herr_t H5CX_get_encoding (H5T_cset_t *encoding)
 
herr_t H5CX_get_intermediate_group (unsigned *crt_intermed_group)
 
herr_t H5CX_get_nlinks (size_t *nlinks)
 
herr_t H5CX_get_libver_bounds (H5F_libver_t *low_bound, H5F_libver_t *high_bound)
 
herr_t H5CX_get_dset_min_ohdr_flag (hbool_t *dset_min_ohdr_flag)
 
herr_t H5CX_get_ext_file_prefix (const char **extfile_prefix)
 
herr_t H5CX_get_vds_prefix (const char **vds_prefix)
 
void H5CX_set_tag (haddr_t tag)
 
void H5CX_set_ring (H5AC_ring_t ring)
 
void H5CX_set_coll_metadata_read (hbool_t cmdr)
 
herr_t H5CX_set_mpi_coll_datatypes (MPI_Datatype btype, MPI_Datatype ftype)
 
herr_t H5CX_set_io_xfer_mode (H5FD_mpio_xfer_t io_xfer_mode)
 
herr_t H5CX_set_mpio_coll_opt (H5FD_mpio_collective_opt_t mpio_coll_opt)
 
void H5CX_set_mpi_file_flushing (hbool_t flushing)
 
void H5CX_set_mpio_rank0_bcast (hbool_t rank0_bcast)
 
herr_t H5CX_set_vlen_alloc_info (H5MM_allocate_t alloc_func, void *alloc_info, H5MM_free_t free_func, void *free_info)
 
herr_t H5CX_set_nlinks (size_t nlinks)
 
void H5CX_set_mpio_actual_chunk_opt (H5D_mpio_actual_chunk_opt_mode_t mpio_actual_chunk_opt)
 
void H5CX_set_mpio_actual_io_mode (H5D_mpio_actual_io_mode_t mpio_actual_io_mode)
 
void H5CX_set_mpio_local_no_coll_cause (uint32_t mpio_local_no_coll_cause)
 
void H5CX_set_mpio_global_no_coll_cause (uint32_t mpio_global_no_coll_cause)
 
herr_t H5CX_test_set_mpio_coll_chunk_link_hard (int mpio_coll_chunk_link_hard)
 
herr_t H5CX_test_set_mpio_coll_chunk_multi_hard (int mpio_coll_chunk_multi_hard)
 
herr_t H5CX_test_set_mpio_coll_chunk_link_num_true (int mpio_coll_chunk_link_num_true)
 
herr_t H5CX_test_set_mpio_coll_chunk_link_num_false (int mpio_coll_chunk_link_num_false)
 
herr_t H5CX_test_set_mpio_coll_chunk_multi_ratio_coll (int mpio_coll_chunk_multi_ratio_coll)
 
herr_t H5CX_test_set_mpio_coll_chunk_multi_ratio_ind (int mpio_coll_chunk_multi_ratio_ind)
 
herr_t H5CX_test_set_mpio_coll_rank0_bcast (hbool_t mpio_coll_rank0_bcast)
 
herr_t H5CX_get_ohdr_flags (uint8_t *ohdr_flags)
 
herr_t H5CX_pop (void)
 

Variables

hbool_t H5_PKG_INIT_VAR = FALSE
 

Typedef Documentation

◆ H5CX_dapl_cache_t

◆ H5CX_dcpl_cache_t

◆ H5CX_dxpl_cache_t

◆ H5CX_fapl_cache_t

◆ H5CX_lapl_cache_t

◆ H5CX_lcpl_cache_t

◆ H5CX_node_t

typedef struct H5CX_node_t H5CX_node_t

◆ H5CX_t

typedef struct H5CX_t H5CX_t

Function Documentation

◆ H5CX__init_package()

herr_t H5CX__init_package ( void  )

References ret_value.

◆ H5CX_free_state()

◆ H5CX_get_bkgr_buf()

herr_t H5CX_get_bkgr_buf ( void **  bkgr_buf)

◆ H5CX_get_bkgr_buf_type()

herr_t H5CX_get_bkgr_buf_type ( H5T_bkg_t bkgr_buf_type)

◆ H5CX_get_btree_split_ratios()

herr_t H5CX_get_btree_split_ratios ( double  split_ratio[3])

◆ H5CX_get_coll_metadata_read()

hbool_t H5CX_get_coll_metadata_read ( void  )

References FUNC_LEAVE_NOAPI(), and HDassert().

◆ H5CX_get_data_transform()

herr_t H5CX_get_data_transform ( H5Z_data_xform_t **  data_transform)

◆ H5CX_get_dset_min_ohdr_flag()

herr_t H5CX_get_dset_min_ohdr_flag ( hbool_t dset_min_ohdr_flag)

◆ H5CX_get_dt_conv_cb()

◆ H5CX_get_dxpl()

◆ H5CX_get_encoding()

herr_t H5CX_get_encoding ( H5T_cset_t encoding)

◆ H5CX_get_err_detect()

herr_t H5CX_get_err_detect ( H5Z_EDC_t err_detect)

◆ H5CX_get_ext_file_prefix()

herr_t H5CX_get_ext_file_prefix ( const char **  extfile_prefix)

◆ H5CX_get_filter_cb()

herr_t H5CX_get_filter_cb ( H5Z_cb_t filter_cb)

◆ H5CX_get_intermediate_group()

herr_t H5CX_get_intermediate_group ( unsigned *  crt_intermed_group)

◆ H5CX_get_io_xfer_mode()

herr_t H5CX_get_io_xfer_mode ( H5FD_mpio_xfer_t io_xfer_mode)

◆ H5CX_get_lapl()

hid_t H5CX_get_lapl ( void  )

References FUNC_LEAVE_NOAPI(), and HDassert().

◆ H5CX_get_libver_bounds()

herr_t H5CX_get_libver_bounds ( H5F_libver_t low_bound,
H5F_libver_t high_bound 
)

◆ H5CX_get_max_temp_buf()

herr_t H5CX_get_max_temp_buf ( size_t *  max_temp_buf)

◆ H5CX_get_mpi_coll_datatypes()

herr_t H5CX_get_mpi_coll_datatypes ( MPI_Datatype *  btype,
MPI_Datatype *  ftype 
)

◆ H5CX_get_mpi_file_flushing()

hbool_t H5CX_get_mpi_file_flushing ( void  )

References FUNC_LEAVE_NOAPI(), and HDassert().

◆ H5CX_get_mpio_chunk_opt_mode()

herr_t H5CX_get_mpio_chunk_opt_mode ( H5FD_mpio_chunk_opt_t mpio_chunk_opt_mode)

◆ H5CX_get_mpio_chunk_opt_num()

herr_t H5CX_get_mpio_chunk_opt_num ( unsigned *  mpio_chunk_opt_num)

◆ H5CX_get_mpio_chunk_opt_ratio()

herr_t H5CX_get_mpio_chunk_opt_ratio ( unsigned *  mpio_chunk_opt_ratio)

◆ H5CX_get_mpio_coll_opt()

herr_t H5CX_get_mpio_coll_opt ( H5FD_mpio_collective_opt_t mpio_coll_opt)

◆ H5CX_get_mpio_global_no_coll_cause()

herr_t H5CX_get_mpio_global_no_coll_cause ( uint32_t mpio_global_no_coll_cause)

◆ H5CX_get_mpio_local_no_coll_cause()

herr_t H5CX_get_mpio_local_no_coll_cause ( uint32_t mpio_local_no_coll_cause)

◆ H5CX_get_mpio_rank0_bcast()

hbool_t H5CX_get_mpio_rank0_bcast ( void  )

References FUNC_LEAVE_NOAPI(), and HDassert().

◆ H5CX_get_nlinks()

herr_t H5CX_get_nlinks ( size_t *  nlinks)

◆ H5CX_get_ohdr_flags()

herr_t H5CX_get_ohdr_flags ( uint8_t ohdr_flags)

◆ H5CX_get_ring()

H5AC_ring_t H5CX_get_ring ( void  )

References FUNC_LEAVE_NOAPI(), and HDassert().

Referenced by H5AC_set_ring().

◆ H5CX_get_tag()

haddr_t H5CX_get_tag ( void  )

References FUNC_LEAVE_NOAPI(), and HDassert().

Referenced by H5AC_tag(), and H5C__tag_entry().

◆ H5CX_get_tconv_buf()

herr_t H5CX_get_tconv_buf ( void **  tconv_buf)

◆ H5CX_get_vds_prefix()

herr_t H5CX_get_vds_prefix ( const char **  vds_prefix)

◆ H5CX_get_vec_size()

herr_t H5CX_get_vec_size ( size_t *  vec_size)

◆ H5CX_get_vlen_alloc_info()

herr_t H5CX_get_vlen_alloc_info ( H5T_vlen_alloc_info_t vl_alloc_info)

◆ H5CX_get_vol_connector_prop()

herr_t H5CX_get_vol_connector_prop ( H5VL_connector_prop_t vol_connector_prop)

◆ H5CX_get_vol_wrap_ctx()

herr_t H5CX_get_vol_wrap_ctx ( void **  vol_wrap_ctx)

◆ H5CX_is_def_dxpl()

hbool_t H5CX_is_def_dxpl ( void  )

References FUNC_LEAVE_NOAPI(), and HDassert().

◆ H5CX_pop()

◆ H5CX_push()

◆ H5CX_push_special()

void H5CX_push_special ( void  )

References HDassert().

Referenced by H5_term_library().

◆ H5CX_restore_state()

◆ H5CX_retrieve_state()

◆ H5CX_set_apl()

herr_t H5CX_set_apl ( hid_t acspl_id,
const H5P_libclass_t libclass,
hid_t #ifndef H5_HAVE_PARALLEL H5_ATTR_UNUSED #endif  loc_id,
hbool_t #ifndef H5_HAVE_PARALLEL H5_ATTR_UNUSED #endif  is_collective 
)

References H5P_libclass_t::class_id, H5P_libclass_t::def_plist_id, FAIL, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), H5_coll_api_sanity_check_g, H5F_mpi_retrieve_comm(), H5I_object(), H5P_class_isa(), H5P_CLS_DACC, H5P_CLS_FACC, H5P_CLS_LACC, H5P_isa_class(), H5P_peek(), H5P_USER_TRUE, HDassert(), NULL, H5P_libclass_t::pclass, and ret_value.

Referenced by H5Acreate2(), H5Acreate_by_name(), H5Adelete_by_idx(), H5Adelete_by_name(), H5Aexists_by_name(), H5Aget_info_by_idx(), H5Aget_info_by_name(), H5Aget_name_by_idx(), H5Aiterate_by_name(), H5Aopen(), H5Aopen_by_idx(), H5Aopen_by_name(), H5Arename_by_name(), H5Dcreate2(), H5Dcreate_anon(), H5Dopen2(), H5Fcreate(), H5Fdelete(), H5Fopen(), H5Gcreate2(), H5Gcreate_anon(), H5Gget_info_by_idx(), H5Gget_info_by_name(), H5Gopen2(), H5Lcopy(), H5Lcreate_external(), H5Lcreate_hard(), H5Lcreate_soft(), H5Lcreate_ud(), H5Ldelete(), H5Ldelete_by_idx(), H5Lexists(), H5Lget_info1(), H5Lget_info2(), H5Lget_info_by_idx1(), H5Lget_info_by_idx2(), H5Lget_name_by_idx(), H5Lget_val(), H5Lget_val_by_idx(), H5Literate_by_name1(), H5Literate_by_name2(), H5Lmove(), H5Lvisit_by_name1(), H5Lvisit_by_name2(), H5Mcreate(), H5Mcreate_anon(), H5Mopen(), H5Oexists_by_name(), H5Oget_comment_by_name(), H5Oget_info_by_idx1(), H5Oget_info_by_idx2(), H5Oget_info_by_idx3(), H5Oget_info_by_name1(), H5Oget_info_by_name2(), H5Oget_info_by_name3(), H5Oget_native_info_by_idx(), H5Oget_native_info_by_name(), H5Olink(), H5Oopen(), H5Oopen_by_idx(), H5Oset_comment_by_name(), H5Ovisit_by_name1(), H5Ovisit_by_name2(), H5Ovisit_by_name3(), H5Pencode1(), H5Pencode2(), H5R__reopen_file(), H5Rdereference2(), H5Ropen_attr(), H5Ropen_object(), H5Sencode1(), H5Sencode2(), H5Tcommit2(), H5Tcommit_anon(), and H5Topen2().

◆ H5CX_set_coll_metadata_read()

void H5CX_set_coll_metadata_read ( hbool_t  cmdr)

References HDassert().

◆ H5CX_set_dcpl()

void H5CX_set_dcpl ( hid_t  dcpl_id)

References HDassert().

Referenced by H5Dcreate1(), H5Dcreate2(), and H5Dcreate_anon().

◆ H5CX_set_dxpl()

◆ H5CX_set_io_xfer_mode()

herr_t H5CX_set_io_xfer_mode ( H5FD_mpio_xfer_t  io_xfer_mode)

◆ H5CX_set_lapl()

void H5CX_set_lapl ( hid_t  lapl_id)

References HDassert().

◆ H5CX_set_lcpl()

◆ H5CX_set_libver_bounds()

◆ H5CX_set_loc()

◆ H5CX_set_mpi_coll_datatypes()

herr_t H5CX_set_mpi_coll_datatypes ( MPI_Datatype  btype,
MPI_Datatype  ftype 
)

◆ H5CX_set_mpi_file_flushing()

void H5CX_set_mpi_file_flushing ( hbool_t  flushing)

References HDassert().

◆ H5CX_set_mpio_actual_chunk_opt()

void H5CX_set_mpio_actual_chunk_opt ( H5D_mpio_actual_chunk_opt_mode_t  mpio_actual_chunk_opt)

References HDassert().

◆ H5CX_set_mpio_actual_io_mode()

void H5CX_set_mpio_actual_io_mode ( H5D_mpio_actual_io_mode_t  mpio_actual_io_mode)

References HDassert().

◆ H5CX_set_mpio_coll_opt()

herr_t H5CX_set_mpio_coll_opt ( H5FD_mpio_collective_opt_t  mpio_coll_opt)

◆ H5CX_set_mpio_global_no_coll_cause()

void H5CX_set_mpio_global_no_coll_cause ( uint32_t  mpio_global_no_coll_cause)

References HDassert().

Referenced by H5D__mpio_opt_possible().

◆ H5CX_set_mpio_local_no_coll_cause()

void H5CX_set_mpio_local_no_coll_cause ( uint32_t  mpio_local_no_coll_cause)

References HDassert().

Referenced by H5D__mpio_opt_possible().

◆ H5CX_set_mpio_rank0_bcast()

void H5CX_set_mpio_rank0_bcast ( hbool_t  rank0_bcast)

References HDassert().

Referenced by H5D__mpio_opt_possible().

◆ H5CX_set_nlinks()

herr_t H5CX_set_nlinks ( size_t  nlinks)

◆ H5CX_set_ring()

void H5CX_set_ring ( H5AC_ring_t  ring)

References HDassert().

Referenced by H5AC_set_ring().

◆ H5CX_set_tag()

void H5CX_set_tag ( haddr_t  tag)

References HDassert().

Referenced by H5AC_tag().

◆ H5CX_set_vlen_alloc_info()

herr_t H5CX_set_vlen_alloc_info ( H5MM_allocate_t  alloc_func,
void *  alloc_info,
H5MM_free_t  free_func,
void *  free_info 
)

◆ H5CX_set_vol_connector_prop()

herr_t H5CX_set_vol_connector_prop ( const H5VL_connector_prop_t vol_connector_prop)

◆ H5CX_set_vol_wrap_ctx()

herr_t H5CX_set_vol_wrap_ctx ( void *  vol_wrap_ctx)

◆ H5CX_term_package()

int H5CX_term_package ( void  )

References H5_PKG_INIT_VAR.

◆ H5CX_test_set_mpio_coll_chunk_link_hard()

herr_t H5CX_test_set_mpio_coll_chunk_link_hard ( int  mpio_coll_chunk_link_hard)

◆ H5CX_test_set_mpio_coll_chunk_link_num_false()

herr_t H5CX_test_set_mpio_coll_chunk_link_num_false ( int  mpio_coll_chunk_link_num_false)

◆ H5CX_test_set_mpio_coll_chunk_link_num_true()

herr_t H5CX_test_set_mpio_coll_chunk_link_num_true ( int  mpio_coll_chunk_link_num_true)

◆ H5CX_test_set_mpio_coll_chunk_multi_hard()

herr_t H5CX_test_set_mpio_coll_chunk_multi_hard ( int  mpio_coll_chunk_multi_hard)

◆ H5CX_test_set_mpio_coll_chunk_multi_ratio_coll()

herr_t H5CX_test_set_mpio_coll_chunk_multi_ratio_coll ( int  mpio_coll_chunk_multi_ratio_coll)

◆ H5CX_test_set_mpio_coll_chunk_multi_ratio_ind()

herr_t H5CX_test_set_mpio_coll_chunk_multi_ratio_ind ( int  mpio_coll_chunk_multi_ratio_ind)

◆ H5CX_test_set_mpio_coll_rank0_bcast()

herr_t H5CX_test_set_mpio_coll_rank0_bcast ( hbool_t  mpio_coll_rank0_bcast)

◆ H5FL_DEFINE_STATIC() [1/2]

H5FL_DEFINE_STATIC ( H5CX_node_t  )

◆ H5FL_DEFINE_STATIC() [2/2]

H5FL_DEFINE_STATIC ( H5CX_state_t  )

Variable Documentation

◆ H5_PKG_INIT_VAR

hbool_t H5_PKG_INIT_VAR = FALSE

Referenced by H5CX_term_package().