HDF5  1.12.0
Data Structures | Macros | Typedefs | Functions
H5FSpkg.h File Reference
#include "H5FSprivate.h"
#include "H5ACprivate.h"
#include "H5SLprivate.h"

Go to the source code of this file.

Data Structures

struct  H5FS_hdr_cache_ud_t
 
struct  H5FS_sinfo_cache_ud_t
 
struct  H5FS_bin_t
 
struct  H5FS_node_t
 
struct  H5FS_sinfo_t
 
struct  H5FS_t
 

Macros

#define H5FS_SIZEOF_CHKSUM   4
 
#define H5FS_METADATA_PREFIX_SIZE
 
#define H5FS_HEADER_SIZE(f)
 
#define H5FS_SINFO_PREFIX_SIZE(f)
 

Typedefs

typedef struct H5FS_hdr_cache_ud_t H5FS_hdr_cache_ud_t
 
typedef struct H5FS_sinfo_cache_ud_t H5FS_sinfo_cache_ud_t
 
typedef struct H5FS_bin_t H5FS_bin_t
 
typedef struct H5FS_node_t H5FS_node_t
 
typedef struct H5FS_sinfo_t H5FS_sinfo_t
 

Functions

 H5FL_EXTERN (H5FS_node_t)
 
 H5FL_SEQ_EXTERN (H5FS_bin_t)
 
 H5FL_EXTERN (H5FS_sinfo_t)
 
 H5FL_EXTERN (H5FS_t)
 
H5_DLL herr_t H5FS__create_flush_depend (H5AC_info_t *parent_entry, H5AC_info_t *child_entry)
 
H5_DLL herr_t H5FS__destroy_flush_depend (H5AC_info_t *parent_entry, H5AC_info_t *child_entry)
 
H5_DLL H5FS_tH5FS__new (const H5F_t *f, uint16_t nclasses, const H5FS_section_class_t *classes[], void *cls_init_udata)
 
H5_DLL herr_t H5FS__incr (H5FS_t *fspace)
 
H5_DLL herr_t H5FS__decr (H5FS_t *fspace)
 
H5_DLL herr_t H5FS__dirty (H5FS_t *fspace)
 
H5_DLL H5FS_sinfo_tH5FS__sinfo_new (H5F_t *f, H5FS_t *fspace)
 
H5_DLL herr_t H5FS__hdr_dest (H5FS_t *hdr)
 
H5_DLL herr_t H5FS__sinfo_dest (H5FS_sinfo_t *sinfo)
 

Macro Definition Documentation

◆ H5FS_HEADER_SIZE

#define H5FS_HEADER_SIZE (   f)
Value:
( \
/* General metadata fields */ \
H5FS_METADATA_PREFIX_SIZE \
\
/* Free space header specific fields */ \
+ 1 /* Client ID */ \
+ (unsigned)H5F_SIZEOF_SIZE(f) /* Total free space tracked */ \
+ (unsigned)H5F_SIZEOF_SIZE(f) /* Total # of sections tracked */ \
+ (unsigned)H5F_SIZEOF_SIZE(f) /* # of serializable sections tracked */ \
+ (unsigned)H5F_SIZEOF_SIZE(f) /* # of ghost sections tracked */ \
+ 2 /* Number of section classes */ \
+ 2 /* Shrink percent */ \
+ 2 /* Expand percent */ \
+ 2 /* Size of address space for sections (log2 of value) */ \
+ (unsigned)H5F_SIZEOF_SIZE(f) /* Max. size of section to track */ \
+ (unsigned)H5F_SIZEOF_ADDR(f) /* Address of serialized free space sections */ \
+ (unsigned)H5F_SIZEOF_SIZE(f) /* Size of serialized free space sections used */ \
+ (unsigned)H5F_SIZEOF_SIZE(f) /* Allocated size of serialized free space sections */ \
)

◆ H5FS_METADATA_PREFIX_SIZE

#define H5FS_METADATA_PREFIX_SIZE
Value:
( \
H5_SIZEOF_MAGIC /* Signature */ \
+ 1 /* Version */ \
+ H5FS_SIZEOF_CHKSUM /* Metadata checksum */ \
)

◆ H5FS_SINFO_PREFIX_SIZE

#define H5FS_SINFO_PREFIX_SIZE (   f)
Value:
( \
/* General metadata fields */ \
H5FS_METADATA_PREFIX_SIZE \
\
/* Free space serialized sections specific fields */ \
+ (unsigned)H5F_SIZEOF_ADDR(f) /* Address of free space header for these sections */ \
)

◆ H5FS_SIZEOF_CHKSUM

#define H5FS_SIZEOF_CHKSUM   4

Typedef Documentation

◆ H5FS_bin_t

typedef struct H5FS_bin_t H5FS_bin_t

◆ H5FS_hdr_cache_ud_t

◆ H5FS_node_t

typedef struct H5FS_node_t H5FS_node_t

◆ H5FS_sinfo_cache_ud_t

◆ H5FS_sinfo_t

typedef struct H5FS_sinfo_t H5FS_sinfo_t

Function Documentation

◆ H5FL_EXTERN() [1/3]

H5FL_EXTERN ( H5FS_node_t  )

◆ H5FL_EXTERN() [2/3]

H5FL_EXTERN ( H5FS_sinfo_t  )

◆ H5FL_EXTERN() [3/3]

H5FL_EXTERN ( H5FS_t  )

◆ H5FL_SEQ_EXTERN()

H5FL_SEQ_EXTERN ( H5FS_bin_t  )

◆ H5FS__create_flush_depend()

H5_DLL herr_t H5FS__create_flush_depend ( H5AC_info_t parent_entry,
H5AC_info_t child_entry 
)

◆ H5FS__decr()

H5_DLL herr_t H5FS__decr ( H5FS_t fspace)

◆ H5FS__destroy_flush_depend()

H5_DLL herr_t H5FS__destroy_flush_depend ( H5AC_info_t parent_entry,
H5AC_info_t child_entry 
)

◆ H5FS__dirty()

H5_DLL herr_t H5FS__dirty ( H5FS_t fspace)

◆ H5FS__hdr_dest()

H5_DLL herr_t H5FS__hdr_dest ( H5FS_t hdr)

◆ H5FS__incr()

H5_DLL herr_t H5FS__incr ( H5FS_t fspace)

◆ H5FS__new()

H5_DLL H5FS_t* H5FS__new ( const H5F_t f,
uint16_t  nclasses,
const H5FS_section_class_t classes[],
void *  cls_init_udata 
)

◆ H5FS__sinfo_dest()

H5_DLL herr_t H5FS__sinfo_dest ( H5FS_sinfo_t sinfo)

◆ H5FS__sinfo_new()

H5_DLL H5FS_sinfo_t* H5FS__sinfo_new ( H5F_t f,
H5FS_t fspace 
)
H5F_SIZEOF_SIZE
#define H5F_SIZEOF_SIZE(F)
Definition: H5Fprivate.h:367
f
hdr f
Definition: H5EA.c:755
H5FS_SIZEOF_CHKSUM
#define H5FS_SIZEOF_CHKSUM
Definition: H5FSpkg.h:50
unsigned
unsigned
Definition: H5overflow.txt:31
H5F_SIZEOF_ADDR
#define H5F_SIZEOF_ADDR(F)
Definition: H5Fprivate.h:366