HDF5  1.12.0
H5EA.c File Reference

Typedefs

typedef herr_t(* H5EA__unprotect_func_t) (void *thing, unsigned cache_flags)
 

Functions

 H5FL_DEFINE_STATIC (H5EA_t)
 
 H5FL_BLK_DEFINE (ea_native_elmt)
 
 BEGIN_FUNC (STATIC, CATCH if(hdr &&H5EA__hdr_unprotect(ERR, CATCH if(hdr &&H5EA__hdr_unprotect(H5EA_t *, H5EA_t *ea=NULL, H5EA_t *ea=NULL, H5EA__new(H5F_t *f, haddr_t ea_addr, hbool_t from_open, void *ctx_udata))
 
 if (NULL==(iblock=H5EA__iblock_protect(hdr, thing_acc)))
 
 if (sblk_idx< iblock->nsblks)
 
 if (!H5F_addr_defined(iblock->sblk_addrs[sblk_off]))
 
 if (sblock->dblk_npages)
 
CATCH if (ret_value< 0)
 
 if (stats_changed)
 
CATCH unable to release extensible array metadata END_FUNC (BEGIN_FUNC(PRIV)
 
else H5MM_memcpy (elmt, thing_elmt_buf+(hdr->cparam.cls->nat_elmt_size *thing_elmt_idx), hdr->cparam.cls->nat_elmt_size)
 

Variables

hbool_t H5_PKG_INIT_VAR = FALSE
 
const H5EA_class_t *const H5EA_client_class_g []
 
 else
 
size_t dblk_idx
 
hsize_t elmt_idx = idx - (hdr->cparam.idx_blk_elmts + hdr->sblk_info[sblk_idx].start_idx)
 
 sblk_idx = H5EA__dblock_sblk_idx(hdr, idx)
 
 sblk_off = sblk_idx - iblock->nsblks
 
thing_elmt_buf = (uint8_t *)dblock->elmts
 
thing_elmt_idx = elmt_idx
 
thing_unprot_func = (H5EA__unprotect_func_t)H5EA__dblock_unprotect
 
HDassertthing
 
hdr f = ea->f
 
 ea = (H5EA_t *)H5FL_FREE(H5EA_t, ea)
 

Typedef Documentation

◆ H5EA__unprotect_func_t

typedef herr_t(* H5EA__unprotect_func_t) (void *thing, unsigned cache_flags)

Function Documentation

◆ BEGIN_FUNC()

BEGIN_FUNC ( STATIC  ,
CATCH if(hdr && H5EA__hdr_unprotect ERR,
CATCH if(hdr && H5EA__hdr_unprotect H5EA_t *,
H5EA_t *ea NULL,
H5EA_t *ea NULL,
H5EA__new(H5F_t *f, haddr_t ea_addr, hbool_t from_open, void *ctx_udata)   
)

◆ END_FUNC()

CATCH END_FUNC ( BEGIN_FUNC PRIV)

References hdr.

◆ H5FL_BLK_DEFINE()

H5FL_BLK_DEFINE ( ea_native_elmt  )

◆ H5FL_DEFINE_STATIC()

H5FL_DEFINE_STATIC ( H5EA_t  )

◆ H5MM_memcpy()

else H5MM_memcpy ( elmt  ,
thing_elmt_buf hdr->cparam.cls->nat_elmt_size *thing_elmt_idx,
hdr->cparam.cls->  nat_elmt_size 
)

Referenced by H5A__attr_copy_file(), H5A__get_name(), H5A__read(), H5A__write(), H5B2__insert_leaf(), H5B2__iterate_node(), H5B2__merge2(), H5B2__merge3(), H5B2__redistribute2(), H5B2__redistribute3(), H5B2__split1(), H5B2__swap_leaf(), H5B2__update_leaf(), H5B2_find(), H5B2_modify(), H5CX_get_btree_split_ratios(), H5CX_get_vol_connector_prop(), H5CX_restore_state(), H5CX_retrieve_state(), H5CX_set_vol_connector_prop(), H5D__compact_copy(), H5D__contig_copy(), H5D__fill(), H5D__fill_refill_vl(), H5D__format_convert(), H5D__gather_mem(), H5D__scatter_mem(), H5D__set_extent(), H5D__virtual_store_layout(), H5F_get_metadata_read_retry_info(), H5FD_get_fs_type_map(), H5FD_register(), H5FL_arr_realloc(), H5FL_blk_realloc(), H5FS__new(), H5G__ent_copy(), H5G__node_copy(), H5G_name_copy(), H5HF__man_insert(), H5HF_get_cparam_test(), H5HF_hdr_create(), H5HF_op_read(), H5HF_op_write(), H5HF_tiny_insert(), H5HG_read(), H5O__alloc_chunk(), H5O__apply_ohdr(), H5O__shared_decode(), H5O__shared_encode(), H5O_fill_convert(), H5O_loc_copy_deep(), H5O_loc_copy_shallow(), H5P__class_get(), H5P__class_set(), H5P__encode_coll_md_read_flag_t(), H5P_close(), H5P_get_fill_value(), H5PB_read(), H5PB_update_entry(), H5PB_write(), H5Pget_file_image(), H5Pget_mdc_log_options(), H5Pset_file_image(), H5Pset_fill_value(), H5R__copy(), H5R__decode_token_obj_compat(), H5R__decode_token_region_compat(), H5R__encode_token_obj_compat(), H5R__encode_token_region_compat(), H5R__get_attr_name(), H5R__get_file_name(), H5R__get_obj_token(), H5R__set_obj_token(), H5S_select_construct_projection(), H5S_select_iter_init(), H5S_select_iterate(), H5S_select_offset(), H5S_set_extent_simple(), H5SM__message_decode(), H5SM__message_encode(), H5SM_bt2_convert_to_list_op(), H5T__conv_ref(), H5T__conv_s_s(), H5T__enum_insert(), H5T__get_member_value(), H5T__sort_name(), H5T__sort_value(), H5T_restore_refresh_state(), H5T_save_refresh_state(), H5VL_copy_connector_info(), H5VL_register_connector(), H5VM_array_fill(), H5VM_memcpyvv(), and if().

◆ if() [1/6]

if ( H5F_addr_definediblock->sblk_addrs[sblk_off])

◆ if() [2/6]

◆ if() [3/6]

◆ if() [4/6]

◆ if() [5/6]

if ( sblock->  dblk_npages)

◆ if() [6/6]

if ( stats_changed  )

Variable Documentation

◆ dblk_idx

size_t dblk_idx

Referenced by if().

◆ ea

ea = (H5EA_t *)H5FL_FREE(H5EA_t, ea)

◆ elmt_idx

elmt_idx = idx - (hdr->cparam.idx_blk_elmts + hdr->sblk_info[sblk_idx].start_idx)

Referenced by if().

◆ else

else
Initial value:
{
unsigned sblk_idx

◆ f

hdr f = ea->f

Referenced by H5A__compact_build_table(), H5A__dense_build_table(), H5A__dense_create(), H5A__dense_delete(), H5A__dense_exists(), H5A__dense_insert(), H5A__dense_iterate(), H5A__dense_open(), H5A__dense_remove(), H5A__dense_remove_by_idx(), H5A__dense_rename(), H5A__dense_write(), H5A__get_ainfo(), H5A__set_version(), H5AC__flush_entries(), H5AC__log_moved_entry(), H5AC__run_sync_point(), H5AC_cache_image_pending(), H5AC_cache_is_clean(), H5AC_cork(), H5AC_create(), H5AC_dest(), H5AC_dump_cache(), H5AC_evict(), H5AC_evict_tagged_metadata(), H5AC_expunge_entry(), H5AC_expunge_tag_type_metadata(), H5AC_flush(), H5AC_flush_dependency_exists(), H5AC_flush_tagged_metadata(), H5AC_get_entry_ptr_from_addr(), H5AC_get_entry_ring(), H5AC_get_entry_status(), H5AC_get_serialization_in_progress(), H5AC_ignore_tags(), H5AC_insert_entry(), H5AC_load_cache_image_on_next_protect(), H5AC_move_entry(), H5AC_prep_for_file_close(), H5AC_protect(), H5AC_proxy_entry_add_child(), H5AC_retag_copied_metadata(), H5AC_stats(), H5AC_unprotect(), H5AC_unsettle_ring(), H5AC_verify_entry_type(), H5B2__hdr_alloc(), H5B2__hdr_create(), H5B2__hdr_debug(), H5B2__hdr_protect(), H5B2__int_debug(), H5B2__leaf_debug(), H5B2_create(), H5B2_delete(), H5B2_open(), H5B2_patch_file(), H5B__assert(), H5B_create(), H5B_debug(), H5B_delete(), H5B_find(), H5B_get_info(), H5B_insert(), H5B_iterate(), H5B_remove(), H5B_shared_new(), H5B_valid(), H5C__deserialize_prefetched_entry(), H5C__generate_cache_image(), H5C__prep_image_for_file_close(), H5C__verify_cork_tag_test(), H5C_apply_candidate_list(), H5C_cache_image_status(), H5C_create(), H5C_dest(), H5C_evict(), H5C_evict_tagged_entries(), H5C_expunge_entry(), H5C_expunge_tag_type_metadata(), H5C_flush_cache(), H5C_flush_tagged_entries(), H5C_flush_to_min_clean(), H5C_force_cache_image_load(), H5C_get_entry_ring(), H5C_get_entry_status(), H5C_insert_entry(), H5C_mark_entries_as_clean(), H5C_prep_for_file_close(), H5C_protect(), H5C_set_cache_image_config(), H5C_stats(), H5C_unprotect(), H5CX_set_libver_bounds(), H5D__alloc_storage(), H5D__chunk_delete(), H5D__contig_alloc(), H5D__contig_delete(), H5D__efl_bh_info(), H5D__layout_meta_size(), H5D__layout_set_version(), H5D__virtual_delete(), H5D__virtual_init(), H5D__virtual_store_layout(), H5D_flush_all(), H5F__alloc(), H5F__close(), H5F__close_mounts(), H5F__dest(), H5F__efc_try_close(), H5F__evict_cache_entries(), H5F__flush(), H5F__format_convert(), H5F__free(), H5F__get_cont_info(), H5F__get_info(), H5F__get_max_eof_eoa(), H5F__mount_count_ids(), H5F__post_open(), H5F__set_base_addr(), H5F__set_eoa(), H5F__set_libver_bounds(), H5F__set_paged_aggr(), H5F__start_swmr_write(), H5F__super_ext_close(), H5F__super_ext_open(), H5F__super_ext_remove_msg(), H5F__super_ext_write_msg(), H5F__super_init(), H5F__super_read(), H5F__super_size(), H5F__try_extend(), H5F_addr_decode(), H5F_addr_encode(), H5F_block_read(), H5F_block_write(), H5F_coll_md_read(), H5F_cwfs_add(), H5F_cwfs_advance_heap(), H5F_cwfs_find_free_heap(), H5F_debug(), H5F_decr_nopen_objs(), H5F_eoa_dirty(), H5F_evict_tagged_metadata(), H5F_fake_alloc(), H5F_fake_free(), H5F_file_id_exists(), H5F_flush_mounts(), H5F_flush_tagged_metadata(), H5F_gc_ref(), H5F_get_access_plist(), H5F_get_actual_name(), H5F_get_alignment(), H5F_get_base_addr(), H5F_get_driver_id(), H5F_get_eoa(), H5F_get_evict_on_close(), H5F_get_extpath(), H5F_get_fc_degree(), H5F_get_fcpl(), H5F_get_fileno(), H5F_get_high_bound(), H5F_get_intent(), H5F_get_low_bound(), H5F_get_min_dset_ohdr(), H5F_get_mpi_handle(), H5F_get_mpi_info(), H5F_get_nmounts(), H5F_get_nopen_objs(), H5F_get_nrefs(), H5F_get_null_fsm_addr(), H5F_get_open_name(), H5F_get_parent(), H5F_get_pgend_meta_thres(), H5F_get_point_of_no_return(), H5F_get_read_attempts(), H5F_get_shared(), H5F_get_sohm_addr(), H5F_get_sohm_nindexes(), H5F_get_sohm_vers(), H5F_get_threshold(), H5F_get_vol_cls(), H5F_get_vol_obj(), H5F_grp_btree_shared(), H5F_has_feature(), H5F_incr_nopen_objs(), H5F_is_tmp_addr(), H5F_Kvalue(), H5F_mdc_log_location(), H5F_mpi_get_comm(), H5F_mpi_get_rank(), H5F_mpi_get_size(), H5F_mpi_retrieve_comm(), H5F_object_flush_cb(), H5F_rdcc_nbytes(), H5F_rdcc_nslots(), H5F_rdcc_w0(), H5F_set_grp_btree_shared(), H5F_set_min_dset_ohdr(), H5F_set_retries(), H5F_set_sohm_addr(), H5F_set_sohm_nindexes(), H5F_set_sohm_vers(), H5F_set_store_msg_crt_idx(), H5F_sieve_buf_size(), H5F_sizeof_addr(), H5F_sizeof_size(), H5F_start_mdc_log_on_access(), H5F_store_msg_crt_idx(), H5F_super_dirty(), H5F_sym_leaf_k(), H5F_track_metadata_read_retries(), H5F_try_close(), H5F_use_mdc_logging(), H5F_use_tmp_space(), H5FD_alloc(), H5FD_free(), H5FD_try_extend(), H5FO_create(), H5FO_delete(), H5FO_dest(), H5FO_insert(), H5FO_mark(), H5FO_marked(), H5FO_opened(), H5FO_top_count(), H5FO_top_create(), H5FO_top_decr(), H5FO_top_dest(), H5FO_top_incr(), H5FS__new(), H5FS__sinfo_new(), H5FS_alloc_hdr(), H5FS_alloc_sect(), H5FS_close(), H5FS_create(), H5FS_debug(), H5FS_delete(), H5FS_free(), H5FS_open(), H5FS_sect_remove(), H5FS_sect_try_extend(), H5FS_sect_try_merge(), H5FS_sects_debug(), H5FS_stat_info(), H5FS_vfd_alloc_hdr_and_section_info_if_needed(), H5G__dense_build_table(), H5G__dense_create(), H5G__dense_delete(), H5G__dense_get_name_by_idx(), H5G__dense_insert(), H5G__dense_iterate(), H5G__dense_lookup(), H5G__dense_lookup_by_idx(), H5G__dense_remove(), H5G__dense_remove_by_idx(), H5G__ent_convert(), H5G__ent_decode_vec(), H5G__ent_encode_vec(), H5G__node_build_table(), H5G__node_by_idx(), H5G__node_copy(), H5G__node_init(), H5G__node_iterate(), H5G__node_iterate_size(), H5G__node_sumup(), H5G__obj_create(), H5G__obj_create_real(), H5G__stab_bh_size(), H5G__stab_create_components(), H5G__stab_delete(), H5G__stab_insert_real(), H5G_ent_decode(), H5G_ent_encode(), H5G_get_name_by_addr(), H5G_loc_real(), H5G_mkroot(), H5G_node_close(), H5G_node_debug(), H5G_root_loc(), H5G_rootof(), H5HF__hdr_protect(), H5HF__man_dblock_delete(), H5HF__man_iblock_size(), H5HF_create(), H5HF_dblock_debug(), H5HF_delete(), H5HF_hdr_alloc(), H5HF_hdr_create(), H5HF_hdr_debug(), H5HF_iblock_debug(), H5HF_open(), H5HF_sects_debug(), H5HG__protect(), H5HG_debug(), H5HG_extend(), H5HG_get_obj_size(), H5HG_insert(), H5HG_link(), H5HG_read(), H5HG_remove(), H5MF__add_sect(), H5MF__find_sect(), H5MF__open_fstype(), H5MF__sects_dump(), H5MF__start_fstype(), H5MF_aggr_vfd_alloc(), H5MF_alloc(), H5MF_alloc_tmp(), H5MF_close(), H5MF_get_free_sections(), H5MF_get_freespace(), H5MF_sects_debug(), H5MF_settle_meta_data_fsm(), H5MF_settle_raw_data_fsm(), H5MF_try_close(), H5MF_try_extend(), H5MF_try_shrink(), H5MF_xfree(), H5O__alloc(), H5O__alloc_chunk(), H5O__apply_ohdr(), H5O__attr_bh_info(), H5O__attr_count_real(), H5O__attr_delete(), H5O__attr_link(), H5O__attr_update_shared(), H5O__chunk_add(), H5O__chunk_delete(), H5O__chunk_protect(), H5O__chunk_unprotect(), H5O__chunk_update_idx(), H5O__create_ohdr(), H5O__debug_real(), H5O__delete_mesg(), H5O__flush_msgs(), H5O__link_oh(), H5O__msg_alloc(), H5O__msg_append_real(), H5O__msg_iterate_real(), H5O__msg_remove_real(), H5O__msg_write_real(), H5O__release_mesg(), H5O__shared_decode(), H5O__shared_delete(), H5O__shared_encode(), H5O__shared_link(), H5O__shared_post_copy_file(), H5O__shared_size(), H5O_bogus_oh(), H5O_create(), H5O_debug(), H5O_debug_id(), H5O_delete(), H5O_fill_set_version(), H5O_link_delete(), H5O_msg_append_oh(), H5O_msg_decode(), H5O_msg_delete(), H5O_msg_encode(), H5O_msg_flush(), H5O_msg_raw_size(), H5O_msg_read_oh(), H5O_msg_size_f(), H5O_msg_size_oh(), H5O_msg_write_oh(), H5O_obj_create(), H5O_pline_set_version(), H5O_touch_oh(), H5Pset_btree_ratios(), H5Pset_cache(), H5Pset_chunk_cache(), H5R__decode_heap(), H5R__decode_token_compat(), H5R__decode_token_region_compat(), H5R__encode_heap(), H5R__encode_token_region_compat(), H5R__free_heap(), H5Rcreate(), H5Rget_region(), H5S_append(), H5S_debug(), H5S_decode(), H5S_encode(), H5S_set_version(), H5S_write(), H5SM__get_mesg_count_test(), H5SM_delete(), H5SM_get_fheap_addr(), H5SM_get_info(), H5SM_get_refcount(), H5SM_ih_size(), H5SM_init(), H5SM_list_debug(), H5SM_reconstitute(), H5SM_table_debug(), H5T_convert_committed_datatype(), H5T_decode(), H5T_encode(), H5T_patch_file(), H5T_set_version(), H5VL__native_blob_get(), H5VL__native_blob_put(), H5VL__native_blob_specific(), H5VL__native_file_close(), H5VL__native_file_get(), H5VL__native_file_optional(), H5VL__native_file_specific(), if(), main(), and Wflock().

◆ H5_PKG_INIT_VAR

hbool_t H5_PKG_INIT_VAR = FALSE

◆ H5EA_client_class_g

const H5EA_class_t* const H5EA_client_class_g[]

◆ sblk_idx

sblk_idx = H5EA__dblock_sblk_idx(hdr, idx)

Referenced by if().

◆ sblk_off

sblk_off = sblk_idx - iblock->nsblks

Referenced by if().

◆ thing

◆ thing_elmt_buf

* thing_elmt_buf = (uint8_t *)dblock->elmts

Referenced by if().

◆ thing_elmt_idx

hsize_t thing_elmt_idx = elmt_idx

Referenced by if().

◆ thing_unprot_func

Referenced by if().

H5EA_CLS_TEST
H5_DLLVAR const H5EA_class_t H5EA_CLS_TEST[1]
Definition: H5EApkg.h:380
H5EA_CLS_FILT_CHUNK
const H5EA_class_t H5EA_CLS_FILT_CHUNK[1]
Definition: H5Dearray.c:192
H5EA_CLS_CHUNK
const H5EA_class_t H5EA_CLS_CHUNK[1]
Definition: H5Dearray.c:177
sblk_idx
sblk_idx
Definition: H5EA.c:425