 |
HDF5
1.12.0
|
Go to the documentation of this file.
22 #if !(defined H5HG_FRIEND || defined H5HG_MODULE)
23 #error "Do not include this file outside the H5HG package!"
58 #define H5HG_VERSION 1
66 #define H5HG_MINSIZE 4096
74 #define H5HG_ALIGNMENT 8
75 #define H5HG_ALIGN(X) (H5HG_ALIGNMENT*(((X)+H5HG_ALIGNMENT-1)/H5HG_ALIGNMENT))
76 #define H5HG_ISALIGNED(X) ((X)==H5HG_ALIGN(X))
82 #define H5HG_SIZEOF_HDR(f) \
83 (size_t)H5HG_ALIGN(4 + \
92 #define H5HG_SIZEOF_OBJHDR(f) \
93 (size_t)H5HG_ALIGN(2 + \
105 #define H5HG_NOBJS(f,z) ((((z)-H5HG_SIZEOF_HDR(f))/ \
106 H5HG_SIZEOF_OBJHDR(f)+2))
size_t nused
Definition: H5HGpkg.h:129
hdr f
Definition: H5EA.c:755
H5HG_obj_t * obj
Definition: H5HGpkg.h:134
CATCH haddr_t
Definition: H5EAdblock.c:162
haddr_t addr
Definition: H5HGpkg.h:125
unsigned char uint8_t
Definition: H5private.h:429
H5FL_BLK_EXTERN(gheap_chunk)
struct H5F_shared_t * shared
Definition: H5HGpkg.h:133
H5AC_info_t cache_info
Definition: H5HGpkg.h:123
H5_DLL herr_t H5HG__free(H5HG_heap_t *heap)
Definition: H5HG.c:861
size_t size
Definition: H5HGpkg.h:115
Definition: H5HGpkg.h:122
struct H5HG_obj_t H5HG_obj_t
H5_DLL H5HG_heap_t * H5HG__protect(H5F_t *f, haddr_t addr, unsigned flags)
Definition: H5HG.c:248
uint8_t * chunk
Definition: H5HGpkg.h:127
#define H5_DLL
Definition: H5api_adpt.h:234
CATCH unable to release unprotect heap
Definition: H5HLdbg.c:119
size_t nalloc
Definition: H5HGpkg.h:128
uint8_t * begin
Definition: H5HGpkg.h:116
int nrefs
Definition: H5HGpkg.h:114
int herr_t
Definition: H5public.h:128
Definition: H5HGpkg.h:113
Definition: H5Cprivate.h:1597
unsigned flags
Definition: H5Fpkg.h:261
H5FL_SEQ_EXTERN(H5HG_obj_t)
size_t size
Definition: H5HGpkg.h:126