![]() |
HDF5
1.12.0
|
Data Structures | |
| struct | H5FS_section_class_t |
| struct | H5FS_section_info_t |
| struct | H5FS_create_t |
| struct | H5FS_stat_t |
Typedefs | |
| typedef struct H5FS_t | H5FS_t |
| typedef struct H5FS_section_info_t | H5FS_section_info_t |
| typedef struct H5FS_section_class_t | H5FS_section_class_t |
| typedef enum H5FS_section_state_t | H5FS_section_state_t |
| typedef enum H5FS_client_t | H5FS_client_t |
| typedef struct H5FS_create_t | H5FS_create_t |
| typedef struct H5FS_stat_t | H5FS_stat_t |
| typedef herr_t(* | H5FS_operator_t) (H5FS_section_info_t *sect, void *operator_data) |
Enumerations | |
| enum | H5FS_section_state_t { H5FS_SECT_LIVE, H5FS_SECT_SERIALIZED } |
| enum | H5FS_client_t { H5FS_CLIENT_FHEAP_ID = 0, H5FS_CLIENT_FILE_ID, H5FS_NUM_CLIENT_ID } |
Functions | |
| H5FL_SEQ_EXTERN (H5FS_section_class_t) | |
| H5_DLL herr_t | H5FS_init (void) |
| H5_DLL H5FS_t * | H5FS_create (H5F_t *f, haddr_t *fs_addr, const H5FS_create_t *fs_create, uint16_t nclasses, const H5FS_section_class_t *classes[], void *cls_init_udata, hsize_t alignment, hsize_t threshold) |
| H5_DLL H5FS_t * | H5FS_open (H5F_t *f, haddr_t fs_addr, uint16_t nclasses, const H5FS_section_class_t *classes[], void *cls_init_udata, hsize_t alignment, hsize_t threshold) |
| H5_DLL herr_t | H5FS_size (const H5FS_t *fspace, hsize_t *meta_size) |
| H5_DLL herr_t | H5FS_delete (H5F_t *f, haddr_t fs_addr) |
| H5_DLL herr_t | H5FS_close (H5F_t *f, H5FS_t *fspace) |
| H5_DLL herr_t | H5FS_alloc_hdr (H5F_t *f, H5FS_t *fspace, haddr_t *fs_addr) |
| H5_DLL herr_t | H5FS_alloc_sect (H5F_t *f, H5FS_t *fspace) |
| H5_DLL herr_t | H5FS_free (H5F_t *f, H5FS_t *fspace, hbool_t free_file_space) |
| H5_DLL herr_t | H5FS_sect_add (H5F_t *f, H5FS_t *fspace, H5FS_section_info_t *node, unsigned flags, void *op_data) |
| H5_DLL htri_t | H5FS_sect_try_merge (H5F_t *f, H5FS_t *fspace, H5FS_section_info_t *sect, unsigned flags, void *op_data) |
| H5_DLL htri_t | H5FS_sect_try_extend (H5F_t *f, H5FS_t *fspace, haddr_t addr, hsize_t size, hsize_t extra_requested, unsigned flags, void *op_data) |
| H5_DLL herr_t | H5FS_sect_remove (H5F_t *f, H5FS_t *fspace, H5FS_section_info_t *node) |
| H5_DLL htri_t | H5FS_sect_find (H5F_t *f, H5FS_t *fspace, hsize_t request, H5FS_section_info_t **node) |
| H5_DLL herr_t | H5FS_sect_iterate (H5F_t *f, H5FS_t *fspace, H5FS_operator_t op, void *op_data) |
| H5_DLL herr_t | H5FS_sect_stats (const H5FS_t *fspace, hsize_t *tot_space, hsize_t *nsects) |
| H5_DLL herr_t | H5FS_sect_change_class (H5F_t *f, H5FS_t *fspace, H5FS_section_info_t *sect, uint16_t new_class) |
| H5_DLL htri_t | H5FS_sect_try_shrink_eoa (H5F_t *f, H5FS_t *fspace, void *op_data) |
| H5_DLL herr_t | H5FS_stat_info (const H5F_t *f, const H5FS_t *frsp, H5FS_stat_t *stats) |
| H5_DLL herr_t | H5FS_get_sect_count (const H5FS_t *frsp, hsize_t *tot_sect_count) |
| H5_DLL herr_t | H5FS_vfd_alloc_hdr_and_section_info_if_needed (H5F_t *f, H5FS_t *fspace, haddr_t *fs_addr_ptr) |
| H5_DLL herr_t | H5FS_debug (H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth) |
| H5_DLL herr_t | H5FS_sects_debug (H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth, haddr_t fs_addr, haddr_t client_addr) |
| H5_DLL herr_t | H5FS_sect_debug (const H5FS_t *fspace, const H5FS_section_info_t *sect, FILE *stream, int indent, int fwidth) |
| typedef enum H5FS_client_t H5FS_client_t |
| typedef struct H5FS_create_t H5FS_create_t |
| typedef herr_t(* H5FS_operator_t) (H5FS_section_info_t *sect, void *operator_data) |
| typedef struct H5FS_section_class_t H5FS_section_class_t |
| typedef struct H5FS_section_info_t H5FS_section_info_t |
| typedef enum H5FS_section_state_t H5FS_section_state_t |
| typedef struct H5FS_stat_t H5FS_stat_t |
| enum H5FS_client_t |
| enum H5FS_section_state_t |
| H5FL_SEQ_EXTERN | ( | H5FS_section_class_t | ) |
References H5FS_t::addr, f, FAIL, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), H5AC_FSPACE_HDR, H5AC_insert_entry(), H5E_CANTINIT, H5MF_alloc(), HDassert(), and ret_value.
References H5FS_t::addr, H5FS_t::alloc_sect_size, H5FS_t::client, H5FS_sinfo_t::dirty, f, FAIL, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), H5AC_FSPACE_SINFO, H5AC_insert_entry(), H5AC_mark_entry_dirty(), H5E_CANTINIT, H5FS__decr(), H5FS__sinfo_dest(), H5FS_CLIENT_FILE_ID, H5MF_alloc(), H5MF_alloc_tmp(), H5MF_try_shrink(), H5MF_xfree(), HDassert(), HDfprintf(), NULL, H5FS_t::rc, ret_value, H5FS_t::sect_addr, H5FS_t::sect_size, H5FS_t::serial_sect_count, H5FS_t::sinfo, and H5FS_t::tot_sect_count.
Referenced by H5HF__space_close().
| H5_DLL H5FS_t* H5FS_create | ( | H5F_t * | f, |
| haddr_t * | fs_addr, | ||
| const H5FS_create_t * | fs_create, | ||
| uint16_t | nclasses, | ||
| const H5FS_section_class_t * | classes[], | ||
| void * | cls_init_udata, | ||
| hsize_t | alignment, | ||
| hsize_t | threshold | ||
| ) |
References H5FS_t::addr, H5FS_t::align_thres, H5FS_t::alignment, H5FS_create_t::client, H5FS_t::client, H5FS_create_t::expand_percent, H5FS_t::expand_percent, f, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), H5AC_FSPACE_HDR, H5AC_insert_entry(), H5E_CANTINIT, H5FS__hdr_dest(), H5FS__new(), H5MF_alloc(), HDassert(), HDfprintf(), H5FS_t::hdr_size, H5FS_create_t::max_sect_addr, H5FS_t::max_sect_addr, H5FS_create_t::max_sect_size, H5FS_t::max_sect_size, NULL, H5FS_t::rc, ret_value, H5FS_create_t::shrink_percent, H5FS_t::shrink_percent, and H5FS_t::swmr_write.
Referenced by H5HF__space_start().
References H5FS_hdr_cache_ud_t::addr, addr, H5FS_t::alloc_sect_size, H5FS_hdr_cache_ud_t::classes, H5FS_t::client, H5FS_hdr_cache_ud_t::cls_init_udata, H5FS_t::expand_percent, H5FS_hdr_cache_ud_t::f, f, FAIL, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), fwidth, H5FS_t::ghost_sect_count, H5AC_FSPACE_HDR, H5AC_protect(), H5AC_unprotect(), H5FS_CLIENT_FHEAP_ID, H5FS_CLIENT_FILE_ID, HDassert(), HDfprintf(), indent, H5FS_t::max_sect_addr, H5FS_t::max_sect_size, H5FS_hdr_cache_ud_t::nclasses, H5FS_t::nclasses, NULL, ret_value, H5FS_t::sect_addr, H5FS_t::sect_size, H5FS_t::serial_sect_count, H5FS_t::shrink_percent, H5FS_t::tot_sect_count, and H5FS_t::tot_space.
References H5FS_hdr_cache_ud_t::addr, H5FS_t::alloc_sect_size, cache_flags, H5FS_hdr_cache_ud_t::classes, H5FS_hdr_cache_ud_t::cls_init_udata, H5FS_hdr_cache_ud_t::f, f, FAIL, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), H5AC_expunge_entry(), H5AC_FSPACE_HDR, H5AC_FSPACE_SINFO, H5AC_get_entry_status(), H5AC_protect(), H5AC_unprotect(), H5MF_xfree(), HDassert(), HDfprintf(), H5FS_hdr_cache_ud_t::nclasses, NULL, ret_value, H5FS_t::sect_addr, H5FS_t::serial_sect_count, and H5FS_t::sinfo.
Referenced by H5HF__space_close(), and H5HF__space_delete().
References H5FS_t::addr, H5FS_t::alloc_sect_size, cache_flags, H5FS_hdr_cache_ud_t::classes, H5FS_hdr_cache_ud_t::cls_init_udata, H5FS_hdr_cache_ud_t::f, H5FS_sinfo_cache_ud_t::f, f, FAIL, H5FS_sinfo_cache_ud_t::fspace, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), H5AC_FSPACE_HDR, H5AC_FSPACE_SINFO, H5AC_get_entry_status(), H5AC_protect(), H5AC_unpin_entry(), H5AC_unprotect(), H5FS__dirty(), H5MF_xfree(), HDassert(), H5FS_hdr_cache_ud_t::nclasses, NULL, ret_value, H5FS_t::sect_addr, and H5FS_t::sinfo.
References FUNC_LEAVE_NOAPI(), HDassert(), ret_value, and H5FS_t::serial_sect_count.
| H5_DLL herr_t H5FS_init | ( | void | ) |
References FUNC_LEAVE_NOAPI(), and ret_value.
| H5_DLL H5FS_t* H5FS_open | ( | H5F_t * | f, |
| haddr_t | fs_addr, | ||
| uint16_t | nclasses, | ||
| const H5FS_section_class_t * | classes[], | ||
| void * | cls_init_udata, | ||
| hsize_t | alignment, | ||
| hsize_t | threshold | ||
| ) |
References H5FS_hdr_cache_ud_t::addr, H5FS_t::align_thres, H5FS_t::alignment, H5FS_t::alloc_sect_size, H5FS_hdr_cache_ud_t::classes, H5FS_hdr_cache_ud_t::cls_init_udata, H5FS_hdr_cache_ud_t::f, f, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), H5AC_FSPACE_HDR, H5AC_protect(), H5AC_unprotect(), H5FS__incr(), HDassert(), HDfprintf(), H5FS_hdr_cache_ud_t::nclasses, NULL, H5FS_t::rc, ret_value, H5FS_t::sect_addr, H5FS_t::sect_size, and H5FS_t::sinfo.
Referenced by H5HF__space_start().
| H5_DLL herr_t H5FS_sect_add | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| H5FS_section_info_t * | node, | ||
| unsigned | flags, | ||
| void * | op_data | ||
| ) |
References H5FS_section_info_t::addr, FAIL, FUNC_ENTER_NOAPI(), H5FS_SECT_LIVE, HDassert(), HDfprintf(), ret_value, H5FS_section_info_t::size, H5FS_section_info_t::state, and H5FS_section_info_t::type.
Referenced by H5HF__space_add().
| H5_DLL herr_t H5FS_sect_change_class | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| H5FS_section_info_t * | sect, | ||
| uint16_t | new_class | ||
| ) |
References HDassert(), H5FS_t::nclasses, ret_value, and H5FS_section_info_t::type.
Referenced by H5HF__space_sect_change_class().
| H5_DLL herr_t H5FS_sect_debug | ( | const H5FS_t * | fspace, |
| const H5FS_section_info_t * | sect, | ||
| FILE * | stream, | ||
| int | indent, | ||
| int | fwidth | ||
| ) |
| H5_DLL htri_t H5FS_sect_find | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| hsize_t | request, | ||
| H5FS_section_info_t ** | node | ||
| ) |
References FAIL, FUNC_ENTER_NOAPI(), HDassert(), HDfprintf(), and ret_value.
Referenced by H5HF__space_find().
| H5_DLL herr_t H5FS_sect_iterate | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| H5FS_operator_t | op, | ||
| void * | op_data | ||
| ) |
References H5FS_iter_ud_t::fspace, HDassert(), HDfprintf(), H5FS_iter_ud_t::op, H5FS_iter_ud_t::op_data, and ret_value.
Referenced by H5HF__space_create_root(), H5HF__space_revert_root(), H5HF_dblock_debug(), H5HF_sects_debug(), H5MF__sects_dump(), and H5MF_sects_debug().
| H5_DLL herr_t H5FS_sect_remove | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| H5FS_section_info_t * | node | ||
| ) |
References f, HDassert(), and ret_value.
Referenced by H5HF__space_remove().
References FUNC_LEAVE_NOAPI(), HDassert(), H5FS_t::tot_sect_count, and H5FS_t::tot_space.
Referenced by H5HF__space_close().
| H5_DLL htri_t H5FS_sect_try_extend | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| haddr_t | addr, | ||
| hsize_t | size, | ||
| hsize_t | extra_requested, | ||
| unsigned | flags, | ||
| void * | op_data | ||
| ) |
References addr, f, FAIL, FUNC_ENTER_NOAPI(), H5FS_t::ghost_sect_count, HDassert(), HDfprintf(), ret_value, H5FS_t::serial_sect_count, size, and H5FS_t::tot_sect_count.
| H5_DLL htri_t H5FS_sect_try_merge | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| H5FS_section_info_t * | sect, | ||
| unsigned | flags, | ||
| void * | op_data | ||
| ) |
References H5FS_section_info_t::addr, f, FAIL, FUNC_ENTER_NOAPI(), HDassert(), ret_value, and H5FS_section_info_t::size.
References FAIL, FUNC_ENTER_NOAPI(), HDassert(), and ret_value.
| H5_DLL herr_t H5FS_sects_debug | ( | H5F_t * | f, |
| haddr_t | addr, | ||
| FILE * | stream, | ||
| int | indent, | ||
| int | fwidth, | ||
| haddr_t | fs_addr, | ||
| haddr_t | client_addr | ||
| ) |
References H5FS_t::alloc_sect_size, FUNC_LEAVE_NOAPI(), HDassert(), H5FS_t::hdr_size, H5FS_t::sect_size, and H5FS_t::sinfo.
Referenced by H5HF__space_size().
| H5_DLL herr_t H5FS_stat_info | ( | const H5F_t * | f, |
| const H5FS_t * | frsp, | ||
| H5FS_stat_t * | stats | ||
| ) |
References H5FS_stat_t::addr, H5FS_t::addr, H5FS_stat_t::alloc_sect_size, H5FS_t::alloc_sect_size, f, FUNC_LEAVE_NOAPI(), H5FS_stat_t::ghost_sect_count, H5FS_t::ghost_sect_count, HDassert(), H5FS_stat_t::hdr_size, H5FS_stat_t::sect_addr, H5FS_t::sect_addr, H5FS_stat_t::sect_size, H5FS_t::sect_size, H5FS_stat_t::serial_sect_count, H5FS_t::serial_sect_count, H5FS_stat_t::tot_sect_count, H5FS_t::tot_sect_count, H5FS_stat_t::tot_space, and H5FS_t::tot_space.
Referenced by H5MF_settle_meta_data_fsm().
| H5_DLL herr_t H5FS_vfd_alloc_hdr_and_section_info_if_needed | ( | H5F_t * | f, |
| H5FS_t * | fspace, | ||
| haddr_t * | fs_addr_ptr | ||
| ) |
References H5FS_t::addr, H5FS_t::alloc_sect_size, eoa, f, FAIL, FUNC_LEAVE_NOAPI(), H5AC_FSPACE_HDR, H5AC_FSPACE_SINFO, H5AC_insert_entry(), H5AC_mark_entry_dirty(), H5E_CANTINIT, H5F_FSPACE_STRATEGY_FSM_AGGR, H5F_FSPACE_STRATEGY_PAGE, H5F_get_eoa(), H5MF_alloc(), H5MF_xfree(), HDassert(), NULL, ret_value, H5FS_t::sect_addr, H5FS_t::sect_size, H5FS_t::serial_sect_count, H5FS_t::sinfo, and H5FS_t::sinfo_lock_count.