HDF5  1.12.0
Data Structures | Macros | Functions | Variables
H5HFsection.c File Reference
#include "H5HFmodule.h"
#include "H5private.h"
#include "H5Eprivate.h"
#include "H5HFpkg.h"
#include "H5MMprivate.h"
#include "H5VMprivate.h"

Data Structures

struct  H5HF_sect_private_t
 

Macros

#define H5HF_SECT_INDIRECT_SERIAL_SIZE(h)
 

Functions

 H5FL_DEFINE (H5HF_free_section_t)
 
H5HF_free_section_tH5HF_sect_single_new (hsize_t sect_off, size_t sect_size, H5HF_indirect_t *parent, unsigned par_entry)
 
herr_t H5HF__sect_single_revive (H5HF_hdr_t *hdr, H5HF_free_section_t *sect)
 
herr_t H5HF_sect_single_dblock_info (H5HF_hdr_t *hdr, const H5HF_free_section_t *sect, haddr_t *dblock_addr, size_t *dblock_size)
 
herr_t H5HF__sect_single_reduce (H5HF_hdr_t *hdr, H5HF_free_section_t *sect, size_t amt)
 
herr_t H5HF__sect_single_free (H5FS_section_info_t *_sect)
 
herr_t H5HF__sect_row_revive (H5HF_hdr_t *hdr, H5HF_free_section_t *sect)
 
herr_t H5HF__sect_row_reduce (H5HF_hdr_t *hdr, H5HF_free_section_t *sect, unsigned *entry_p)
 
H5HF_indirect_tH5HF_sect_row_get_iblock (H5HF_free_section_t *sect)
 
herr_t H5HF__sect_indirect_add (H5HF_hdr_t *hdr, H5HF_indirect_t *iblock, unsigned start_entry, unsigned nentries)
 

Variables

H5FS_section_class_t H5HF_FSPACE_SECT_CLS_SINGLE [1]
 
H5FS_section_class_t H5HF_FSPACE_SECT_CLS_FIRST_ROW [1]
 
H5FS_section_class_t H5HF_FSPACE_SECT_CLS_NORMAL_ROW [1]
 
H5FS_section_class_t H5HF_FSPACE_SECT_CLS_INDIRECT [1]
 

Macro Definition Documentation

◆ H5HF_SECT_INDIRECT_SERIAL_SIZE

#define H5HF_SECT_INDIRECT_SERIAL_SIZE (   h)
Value:
( \
(unsigned)(h)->heap_off_size /* Indirect block's offset in "heap space" */ \
+ (unsigned)2 /* Row */ \
+ (unsigned)2 /* Column */ \
+ (unsigned)2 /* # of entries */ \
)

Function Documentation

◆ H5FL_DEFINE()

H5FL_DEFINE ( H5HF_free_section_t  )

◆ H5HF__sect_indirect_add()

herr_t H5HF__sect_indirect_add ( H5HF_hdr_t hdr,
H5HF_indirect_t iblock,
unsigned  start_entry,
unsigned  nentries 
)

◆ H5HF__sect_row_reduce()

herr_t H5HF__sect_row_reduce ( H5HF_hdr_t hdr,
H5HF_free_section_t sect,
unsigned entry_p 
)

◆ H5HF__sect_row_revive()

herr_t H5HF__sect_row_revive ( H5HF_hdr_t hdr,
H5HF_free_section_t sect 
)

◆ H5HF__sect_single_free()

herr_t H5HF__sect_single_free ( H5FS_section_info_t _sect)

◆ H5HF__sect_single_reduce()

herr_t H5HF__sect_single_reduce ( H5HF_hdr_t hdr,
H5HF_free_section_t sect,
size_t  amt 
)

◆ H5HF__sect_single_revive()

herr_t H5HF__sect_single_revive ( H5HF_hdr_t hdr,
H5HF_free_section_t sect 
)

◆ H5HF_sect_row_get_iblock()

H5HF_indirect_t* H5HF_sect_row_get_iblock ( H5HF_free_section_t sect)

◆ H5HF_sect_single_dblock_info()

herr_t H5HF_sect_single_dblock_info ( H5HF_hdr_t hdr,
const H5HF_free_section_t sect,
haddr_t dblock_addr,
size_t dblock_size 
)

◆ H5HF_sect_single_new()

H5HF_free_section_t* H5HF_sect_single_new ( hsize_t  sect_off,
size_t  sect_size,
H5HF_indirect_t parent,
unsigned  par_entry 
)

Variable Documentation

◆ H5HF_FSPACE_SECT_CLS_FIRST_ROW

H5FS_section_class_t H5HF_FSPACE_SECT_CLS_FIRST_ROW[1]
Initial value:
= {{
0,
NULL,
H5HF__sect_row_init_cls,
H5HF__sect_row_term_cls,
NULL,
H5HF__sect_row_serialize,
H5HF__sect_row_deserialize,
H5HF__sect_row_can_merge,
H5HF__sect_row_merge,
H5HF__sect_row_can_shrink,
H5HF__sect_row_shrink,
H5HF__sect_row_free,
H5HF__sect_row_valid,
NULL,
H5HF__sect_row_debug,
}}

◆ H5HF_FSPACE_SECT_CLS_INDIRECT

H5FS_section_class_t H5HF_FSPACE_SECT_CLS_INDIRECT[1]
Initial value:
= {{
0,
NULL,
H5HF_sect_indirect_init_cls,
H5HF_sect_indirect_term_cls,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}}

◆ H5HF_FSPACE_SECT_CLS_NORMAL_ROW

H5FS_section_class_t H5HF_FSPACE_SECT_CLS_NORMAL_ROW[1]
Initial value:
= {{
0,
NULL,
H5HF__sect_row_init_cls,
H5HF__sect_row_term_cls,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
H5HF__sect_row_free,
H5HF__sect_row_valid,
NULL,
H5HF__sect_row_debug,
}}

◆ H5HF_FSPACE_SECT_CLS_SINGLE

H5FS_section_class_t H5HF_FSPACE_SECT_CLS_SINGLE[1]
Initial value:
= {{
0,
NULL,
NULL,
NULL,
H5HF__sect_single_add,
NULL,
H5HF__sect_single_deserialize,
H5HF__sect_single_can_merge,
H5HF__sect_single_merge,
H5HF__sect_single_can_shrink,
H5HF__sect_single_shrink,
H5HF__sect_single_valid,
NULL,
NULL,
}}
H5FS_CLS_GHOST_OBJ
#define H5FS_CLS_GHOST_OBJ
Definition: H5FSprivate.h:37
H5HF_FSPACE_SECT_SINGLE
#define H5HF_FSPACE_SECT_SINGLE
Definition: H5HFpkg.h:166
H5HF_FSPACE_SECT_FIRST_ROW
#define H5HF_FSPACE_SECT_FIRST_ROW
Definition: H5HFpkg.h:167
H5HF__sect_single_free
herr_t H5HF__sect_single_free(H5FS_section_info_t *_sect)
Definition: H5HFsection.c:1131
H5FS_CLS_SEPAR_OBJ
#define H5FS_CLS_SEPAR_OBJ
Definition: H5FSprivate.h:38
H5HF_FSPACE_SECT_NORMAL_ROW
#define H5HF_FSPACE_SECT_NORMAL_ROW
Definition: H5HFpkg.h:168
H5FS_CLS_MERGE_SYM
#define H5FS_CLS_MERGE_SYM
Definition: H5FSprivate.h:39
unsigned
unsigned
Definition: H5overflow.txt:31
H5HF_FSPACE_SECT_INDIRECT
#define H5HF_FSPACE_SECT_INDIRECT
Definition: H5HFpkg.h:169