diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-11-06 20:08:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-11-06 20:08:19 (GMT) |
commit | bb6cb6adb005b0447c1dbb5d61711e3a459ade1f (patch) | |
tree | 07b24f1271e0a53b541aff9a680d557ee1671689 /src/H5EApkg.h | |
parent | 2b5efccc302ee577daa59639109921456f787813 (diff) | |
download | hdf5-bb6cb6adb005b0447c1dbb5d61711e3a459ade1f.zip hdf5-bb6cb6adb005b0447c1dbb5d61711e3a459ade1f.tar.gz hdf5-bb6cb6adb005b0447c1dbb5d61711e3a459ade1f.tar.bz2 |
Code style and warning cleanups, from revise_chunks branch.
Diffstat (limited to 'src/H5EApkg.h')
-rw-r--r-- | src/H5EApkg.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/H5EApkg.h b/src/H5EApkg.h index 6f3ee9c..70e6a55 100644 --- a/src/H5EApkg.h +++ b/src/H5EApkg.h @@ -241,11 +241,13 @@ typedef struct H5EA_sblock_t { /* Internal array information (not stored) */ H5EA_hdr_t *hdr; /* Shared array header info */ - hbool_t has_hdr_depend; /* Whether this object has a flush dependency on the header */ - H5EA_iblock_t *parent; /* Parent object for super block (index block) */ haddr_t addr; /* Address of this index block on disk */ size_t size; /* Size of index block on disk */ + /* Flush dependency information (not stored) */ + hbool_t has_hdr_depend; /* Whether this object has a flush dependency on the header */ + H5EA_iblock_t *parent; /* Parent object for super block (index block) */ + /* Computed/cached values (not stored) */ unsigned idx; /* Super block index within the extensible array */ size_t ndblks; /* # of data block addresses that are in super block */ @@ -266,11 +268,13 @@ typedef struct H5EA_dblock_t { /* Internal array information (not stored) */ H5EA_hdr_t *hdr; /* Shared array header info */ - hbool_t has_hdr_depend; /* Whether this object has a flush dependency on the header */ - void *parent; /* Parent object for data block (index or super block) */ haddr_t addr; /* Address of this data block on disk */ size_t size; /* Size of data block on disk */ + /* Flush dependency information (not stored) */ + hbool_t has_hdr_depend; /* Whether this object has a flush dependency on the header */ + void *parent; /* Parent object for data block (index or super block) */ + /* Computed/cached values (not stored) */ size_t nelmts; /* Number of elements in block */ size_t npages; /* Nummber of pages in a block (zero if not paged) */ @@ -286,11 +290,13 @@ typedef struct H5EA_dbk_page_t { /* Internal array information (not stored) */ H5EA_hdr_t *hdr; /* Shared array header info */ - hbool_t has_hdr_depend; /* Whether this object has a flush dependency on the header */ - H5EA_sblock_t *parent; /* Parent object for data block page (super block) */ haddr_t addr; /* Address of this data block page on disk */ size_t size; /* Size of data block page on disk */ + /* Flush dependency information (not stored) */ + hbool_t has_hdr_depend; /* Whether this object has a flush dependency on the header */ + H5EA_sblock_t *parent; /* Parent object for data block page (super block) */ + /* Computed/cached values (not stored) */ /* <none> */ } H5EA_dblk_page_t; |