diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-12-14 06:47:35 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-12-14 06:47:35 (GMT) |
commit | 59c2f32bc7fcd550d5162ebbf3899e2c4a16d3e1 (patch) | |
tree | dad4fee5b6d8a743993ef97c9c43cf238a30aff9 | |
parent | 3cdcdbc03e00648d2b37c68dec06e8f93e97d738 (diff) | |
download | hdf5-59c2f32bc7fcd550d5162ebbf3899e2c4a16d3e1.zip hdf5-59c2f32bc7fcd550d5162ebbf3899e2c4a16d3e1.tar.gz hdf5-59c2f32bc7fcd550d5162ebbf3899e2c4a16d3e1.tar.bz2 |
[svn-r28620] Minor normalization of H5HL package with revise_chunks.
Tested on:
Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
serial only
(these changes have been in revise_chunks for a long time)
-rw-r--r-- | src/H5HL.c | 10 | ||||
-rw-r--r-- | src/H5HLcache.c | 3 |
2 files changed, 7 insertions, 6 deletions
@@ -96,12 +96,10 @@ H5FL_BLK_DEFINE(lheap_chunk); /*------------------------------------------------------------------------- * Function: H5HL_create * - * Purpose: Creates a new heap data structure on disk and caches it - * in memory. SIZE_HINT is a hint for the initial size of the - * data area of the heap. If size hint is invalid then a - * reasonable (but probably not optimal) size will be chosen. - * If the heap ever has to grow, then REALLOC_HINT is the - * minimum amount by which the heap will grow. + * Purpose: Creates a new heap data structure on disk and caches it + * in memory. SIZE_HINT is a hint for the initial size of the + * data area of the heap. If size hint is invalid then a + * reasonable (but probably not optimal) size will be chosen. * * Return: Success: SUCCEED. The file address of new heap is * returned through the ADDR argument. diff --git a/src/H5HLcache.c b/src/H5HLcache.c index 1133dd3..faa5ff2 100644 --- a/src/H5HLcache.c +++ b/src/H5HLcache.c @@ -93,6 +93,9 @@ static herr_t H5HL__cache_datablock_serialize(const H5F_t *f, void *image, size_t len, void *thing); static herr_t H5HL__cache_datablock_free_icr(void *thing); +/* Free list de/serialization */ +static herr_t H5HL__fl_deserialize(H5HL_t *heap); +static void H5HL__fl_serialize(const H5HL_t *heap); /*********************/ /* Package Variables */ |