 |
HDF5
1.12.0
|
Go to the documentation of this file.
21 #if !(defined(H5FA_FRIEND) | defined(H5FA_MODULE))
22 #error "Do not include this file outside the H5FA package!"
46 #define H5FA_TEST_FILL ((uint64_t)ULLONG_MAX)
50 #define H5FA_SIZEOF_CHKSUM 4
53 #define H5FA_METADATA_PREFIX_SIZE(c) ( \
57 + ((c) ? H5FA_SIZEOF_CHKSUM : 0) \
61 #define H5FA_HEADER_SIZE(sizeof_addr, sizeof_size) ( \
63 H5FA_METADATA_PREFIX_SIZE(TRUE) \
77 #define H5FA_HEADER_SIZE_FILE(f) ( \
78 H5FA_HEADER_SIZE(H5F_SIZEOF_ADDR(f), H5F_SIZEOF_SIZE(f)) \
82 #define H5FA_HEADER_SIZE_HDR(h) ( \
83 H5FA_HEADER_SIZE((h)->sizeof_addr, (h)->sizeof_size) \
87 #define H5FA_DBLOCK_PREFIX_SIZE(d) ( \
89 H5FA_METADATA_PREFIX_SIZE(TRUE) \
92 + (d)->hdr->sizeof_addr \
95 + (d)->dblk_page_init_size \
99 #define H5FA_DBLOCK_SIZE(d) ( \
101 H5FA_DBLOCK_PREFIX_SIZE(d) \
104 + ((d)->hdr->cparam.nelmts * (size_t)(d)->hdr->cparam.raw_elmt_size) \
105 + ((d)->npages * H5FA_SIZEOF_CHKSUM) \
109 #define H5FA_DBLK_PAGE_SIZE(h, nelmts) ( \
111 + (nelmts * (size_t)(h)->cparam.raw_elmt_size) \
112 + H5FA_SIZEOF_CHKSUM \
Definition: H5FAprivate.h:78
hbool_t pending_delete
Definition: H5FApkg.h:139
H5_DLL haddr_t H5FA__hdr_create(H5F_t *f, const H5FA_create_t *cparam, void *ctx_udata)
H5_DLL herr_t H5FA__dblk_page_dest(H5FA_dblk_page_t *dblk_page)
H5_DLL herr_t H5FA__hdr_decr(H5FA_hdr_t *hdr)
hdr f
Definition: H5EA.c:755
haddr_t addr
Definition: H5FApkg.h:211
H5AC_info_t cache_info
Definition: H5FApkg.h:199
H5F_t * f
Definition: H5FApkg.h:137
struct H5FA_dblock_cache_ud_t H5FA_dblock_cache_ud_t
size_t dblk_page_size
Definition: H5FApkg.h:192
haddr_t dblk_page_addr
Definition: H5FApkg.h:242
void * elmts
Definition: H5FApkg.h:202
size_t npages
Definition: H5FApkg.h:187
size_t sizeof_addr
Definition: H5FApkg.h:140
hbool_t swmr_write
Definition: H5FApkg.h:147
@ H5FA_NUM_CLS_ID
Definition: H5FAprivate.h:54
H5_DLL haddr_t H5FA__dblock_create(H5FA_hdr_t *hdr, hbool_t *hdr_dirty)
Definition: H5FApkg.h:233
size_t sizeof_size
Definition: H5FApkg.h:141
CATCH haddr_t
Definition: H5EAdblock.c:162
H5_DLL herr_t H5FA__hdr_init(H5FA_hdr_t *hdr, void *ctx_udata)
*s *s indent
Definition: H5HLdbg.c:111
H5_DLL herr_t H5FA__hdr_free_elmts(H5FA_hdr_t *hdr, size_t nelmts, void *elmts)
H5FA_hdr_t * hdr
Definition: H5FApkg.h:240
dblk_page
Definition: H5EAdblkpage.c:334
size_t last_page_nelmts
Definition: H5FApkg.h:188
void * elmts
Definition: H5FApkg.h:176
#define H5_DLLVAR
Definition: H5api_adpt.h:235
size_t size
Definition: H5FApkg.h:136
H5_DLL unsigned H5FA__dblock_sblk_idx(const H5FA_hdr_t *hdr, hsize_t idx)
uint8_t * dblk_page_init
Definition: H5FApkg.h:175
H5_DLL herr_t H5FA__dblk_page_unprotect(H5FA_dblk_page_t *dblk_page, unsigned cache_flags)
Definition: H5FApkg.h:197
unsigned char uint8_t
Definition: H5private.h:429
struct H5FA_hdr_t H5FA_hdr_t
H5_DLL herr_t H5FA__hdr_modified(H5FA_hdr_t *hdr)
size_t nelmts
Definition: H5FApkg.h:241
hdr
Definition: H5EAhdr.c:821
Definition: H5ACprivate.h:203
H5_DLL H5FA_dblk_page_t * H5FA__dblk_page_alloc(H5FA_hdr_t *hdr, size_t nelmts)
struct H5FA_dblock_t H5FA_dblock_t
size_t file_rc
Definition: H5FApkg.h:138
H5_DLL herr_t H5FA__dblock_delete(H5FA_hdr_t *hdr, haddr_t dblk_addr)
void * parent
Definition: H5FApkg.h:149
Definition: H5FAprivate.h:89
H5_DLLVAR const H5FA_class_t H5FA_CLS_TEST[1]
Definition: H5FApkg.h:251
size_t size
Definition: H5FApkg.h:212
H5_DLL herr_t H5FA__create_flush_depend(H5AC_info_t *parent_entry, H5AC_info_t *child_entry)
H5_DLL herr_t H5FA__dblk_page_create(H5FA_hdr_t *hdr, haddr_t addr, size_t nelmts)
haddr_t addr
Definition: H5FApkg.h:135
haddr_t dblk_addr
Definition: H5FApkg.h:235
Invalid arguments to routine Resource unavailable Internal File accessibility Low level I O Function entry exit Object atom Object cache Links B Tree node Symbol table Heap Object header Datatype Dataspace Dataset Data storage Property lists Attribute Data filters External file list References Virtual File Layer Virtual Object Layer Ternary Search Trees Reference Counted Strings Error API Skip Lists Free Space Manager Shared Object Header Messages Extensible Array Fixed Array Plugin for dynamically loaded library Page Buffering API Context Map No error Argument errors Resource errors File accessibility errors FILE
Definition: H5err.txt:88
H5_DLL H5FA_dblk_page_t * H5FA__dblk_page_protect(H5FA_hdr_t *hdr, haddr_t dblk_page_addr, size_t dblk_page_nelmts, unsigned flags)
* hdr_dirty
Definition: H5FAdblock.c:229
struct H5FA_hdr_cache_ud_t H5FA_hdr_cache_ud_t
H5_DLL herr_t H5FA__dblock_debug(H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth, const H5FA_class_t *cls, haddr_t hdr_addr, haddr_t obj_addr)
H5_DLL H5FA_hdr_t * H5FA__hdr_protect(H5F_t *f, haddr_t fa_addr, void *ctx_udata, unsigned flags)
H5FA_stat_t stats
Definition: H5FApkg.h:131
Definition: H5FAprivate.h:61
H5F_t * f
Definition: H5FApkg.h:219
H5F_t * f
Definition: H5FApkg.h:227
H5_DLL herr_t H5FA__hdr_incr(H5FA_hdr_t *hdr)
void * cb_ctx
Definition: H5FApkg.h:144
*s *s fwidth
Definition: H5HLdbg.c:111
size_t dblk_page_nelmts
Definition: H5FA.c:380
H5_DLLVAR const H5FA_class_t *const H5FA_client_class_g[H5FA_NUM_CLS_ID]
Definition: H5FApkg.h:254
dblock
Definition: H5EAdblock.c:480
H5_DLL herr_t H5FA__destroy_flush_depend(H5AC_info_t *parent_entry, H5AC_info_t *child_entry)
struct H5FA_dbk_page_t H5FA_dblk_page_t
haddr_t addr
Definition: H5FApkg.h:228
Definition: H5FApkg.h:120
H5FA_hdr_t * hdr
Definition: H5FApkg.h:218
H5_DLL herr_t H5FA__dblock_dest(H5FA_dblock_t *dblock)
H5_DLL herr_t H5FA__hdr_fuse_incr(H5FA_hdr_t *hdr)
hsize_t size
Definition: H5FApkg.h:186
#define H5_DLL
Definition: H5api_adpt.h:234
struct H5FA_dblk_page_cache_ud_t H5FA_dblk_page_cache_ud_t
size_t dblk_page_init_size
Definition: H5FApkg.h:193
size_t nelmts
Definition: H5FApkg.h:213
haddr_t dblk_addr
Definition: H5FApkg.h:128
H5AC_proxy_entry_t * top_proxy
Definition: H5FApkg.h:208
H5FA_hdr_t * hdr
Definition: H5FApkg.h:179
H5_DLL H5FA_dblock_t * H5FA__dblock_alloc(H5FA_hdr_t *hdr)
Definition: H5FApkg.h:239
H5_DLL H5FA_dblock_t * H5FA__dblock_protect(H5FA_hdr_t *hdr, haddr_t dblk_addr, unsigned flags)
H5AC_info_t cache_info
Definition: H5FApkg.h:122
H5_DLL herr_t H5FA__hdr_delete(H5FA_hdr_t *hdr)
H5FA_hdr_t * hdr
Definition: H5FApkg.h:234
Definition: H5FApkg.h:217
cache_flags
Definition: H5EAhdr.c:749
hdr stats stored nelmts
Definition: H5EAdblock.c:214
haddr_t addr
Definition: H5FApkg.h:185
H5_DLL size_t H5FA__hdr_fuse_decr(H5FA_hdr_t *hdr)
H5_DLL H5FA_hdr_t * H5FA__hdr_alloc(H5F_t *f)
H5AC_proxy_entry_t * top_proxy
Definition: H5FApkg.h:148
size_t dblk_page_nelmts
Definition: H5FApkg.h:191
H5_DLL herr_t H5FA__hdr_unprotect(H5FA_hdr_t *hdr, unsigned cache_flags)
int herr_t
Definition: H5public.h:128
Definition: H5FApkg.h:226
H5FA_hdr_t * hdr
Definition: H5FApkg.h:205
H5FA_create_t cparam
Definition: H5FApkg.h:125
bool hbool_t
Definition: H5public.h:159
Definition: H5Cprivate.h:1597
H5_DLL herr_t H5FA__hdr_dest(H5FA_hdr_t *hdr)
H5AC_proxy_entry_t * top_proxy
Definition: H5FApkg.h:182
void * ctx_udata
Definition: H5FApkg.h:229
hsize_t
Definition: H5overflow.txt:44
Definition: H5FApkg.h:170
H5_DLL herr_t H5FA__dblock_unprotect(H5FA_dblock_t *dblock, unsigned cache_flags)
haddr_t dblk_page_addr
Definition: H5FA.c:382
H5_DLL void * H5FA__hdr_alloc_elmts(H5FA_hdr_t *hdr, size_t nelmts)
size_t rc
Definition: H5FApkg.h:134
H5AC_info_t cache_info
Definition: H5FApkg.h:172
H5_DLL herr_t H5FA__hdr_debug(H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth, const H5FA_class_t *cls, haddr_t obj_addr)