HDF5  1.12.0
Macros | Functions
H5HFspace.c File Reference
#include "H5HFmodule.h"
#include "H5private.h"
#include "H5Eprivate.h"
#include "H5HFpkg.h"

Macros

#define H5HF_FSPACE_SHRINK   80 /* Percent of "normal" size to shrink serialized free space size */
 
#define H5HF_FSPACE_EXPAND   120 /* Percent of "normal" size to expand serialized free space size */
 
#define H5HF_FSPACE_THRHD_DEF   1 /* Default: no alignment threshold */
 
#define H5HF_FSPACE_ALIGN_DEF   1 /* Default: no alignment */
 

Functions

herr_t H5HF__space_start (H5HF_hdr_t *hdr, hbool_t may_create)
 
herr_t H5HF__space_add (H5HF_hdr_t *hdr, H5HF_free_section_t *node, unsigned flags)
 
htri_t H5HF__space_find (H5HF_hdr_t *hdr, hsize_t request, H5HF_free_section_t **node)
 
herr_t H5HF__space_revert_root (const H5HF_hdr_t *hdr)
 
herr_t H5HF__space_create_root (const H5HF_hdr_t *hdr, H5HF_indirect_t *root_iblock)
 
herr_t H5HF__space_size (H5HF_hdr_t *hdr, hsize_t *fs_size)
 
herr_t H5HF__space_remove (H5HF_hdr_t *hdr, H5HF_free_section_t *node)
 
herr_t H5HF__space_close (H5HF_hdr_t *hdr)
 
herr_t H5HF__space_delete (H5HF_hdr_t *hdr)
 
herr_t H5HF__space_sect_change_class (H5HF_hdr_t *hdr, H5HF_free_section_t *sect, uint16_t new_class)
 

Macro Definition Documentation

◆ H5HF_FSPACE_ALIGN_DEF

#define H5HF_FSPACE_ALIGN_DEF   1 /* Default: no alignment */

◆ H5HF_FSPACE_EXPAND

#define H5HF_FSPACE_EXPAND   120 /* Percent of "normal" size to expand serialized free space size */

◆ H5HF_FSPACE_SHRINK

#define H5HF_FSPACE_SHRINK   80 /* Percent of "normal" size to shrink serialized free space size */

◆ H5HF_FSPACE_THRHD_DEF

#define H5HF_FSPACE_THRHD_DEF   1 /* Default: no alignment threshold */

Function Documentation

◆ H5HF__space_add()

herr_t H5HF__space_add ( H5HF_hdr_t hdr,
H5HF_free_section_t node,
unsigned  flags 
)

◆ H5HF__space_close()

herr_t H5HF__space_close ( H5HF_hdr_t hdr)

◆ H5HF__space_create_root()

herr_t H5HF__space_create_root ( const H5HF_hdr_t hdr,
H5HF_indirect_t root_iblock 
)

◆ H5HF__space_delete()

herr_t H5HF__space_delete ( H5HF_hdr_t hdr)

◆ H5HF__space_find()

htri_t H5HF__space_find ( H5HF_hdr_t hdr,
hsize_t  request,
H5HF_free_section_t **  node 
)

◆ H5HF__space_remove()

herr_t H5HF__space_remove ( H5HF_hdr_t hdr,
H5HF_free_section_t node 
)

◆ H5HF__space_revert_root()

herr_t H5HF__space_revert_root ( const H5HF_hdr_t hdr)

◆ H5HF__space_sect_change_class()

herr_t H5HF__space_sect_change_class ( H5HF_hdr_t hdr,
H5HF_free_section_t sect,
uint16_t  new_class 
)

◆ H5HF__space_size()

herr_t H5HF__space_size ( H5HF_hdr_t hdr,
hsize_t fs_size 
)

◆ H5HF__space_start()

herr_t H5HF__space_start ( H5HF_hdr_t hdr,
hbool_t  may_create 
)