summaryrefslogtreecommitdiffstats
path: root/src/H5SMcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5SMcache.c')
-rw-r--r--src/H5SMcache.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/H5SMcache.c b/src/H5SMcache.c
index ad90cf6..2920a1c 100644
--- a/src/H5SMcache.c
+++ b/src/H5SMcache.c
@@ -54,14 +54,14 @@
/* Metadata cache (H5AC) callbacks */
static herr_t H5SM__cache_table_get_initial_load_size(void *udata, size_t *image_len);
static htri_t H5SM__cache_table_verify_chksum(const void *image_ptr, size_t len, void *udata_ptr);
-static void * H5SM__cache_table_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
+static void *H5SM__cache_table_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
static herr_t H5SM__cache_table_image_len(const void *thing, size_t *image_len);
static herr_t H5SM__cache_table_serialize(const H5F_t *f, void *image, size_t len, void *thing);
static herr_t H5SM__cache_table_free_icr(void *thing);
static herr_t H5SM__cache_list_get_initial_load_size(void *udata, size_t *image_len);
static htri_t H5SM__cache_list_verify_chksum(const void *image_ptr, size_t len, void *udata_ptr);
-static void * H5SM__cache_list_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
+static void *H5SM__cache_list_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
static herr_t H5SM__cache_list_image_len(const void *thing, size_t *image_len);
static herr_t H5SM__cache_list_serialize(const H5F_t *f, void *image, size_t len, void *thing);
static herr_t H5SM__cache_list_free_icr(void *thing);
@@ -200,13 +200,13 @@ static void *
H5SM__cache_table_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED len, void *_udata,
hbool_t H5_ATTR_UNUSED *dirty)
{
- H5F_t * f; /* File pointer -- from user data */
- H5SM_master_table_t * table = NULL; /* Shared message table that we deserializing */
+ H5F_t *f; /* File pointer -- from user data */
+ H5SM_master_table_t *table = NULL; /* Shared message table that we deserializing */
H5SM_table_cache_ud_t *udata = (H5SM_table_cache_ud_t *)_udata; /* Pointer to user data */
- const uint8_t * image = (const uint8_t *)_image; /* Pointer into input buffer */
+ const uint8_t *image = (const uint8_t *)_image; /* Pointer into input buffer */
uint32_t stored_chksum; /* Stored metadata checksum value */
size_t u; /* Counter variable for index headers */
- void * ret_value = NULL; /* Return value */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE
@@ -352,7 +352,7 @@ static herr_t
H5SM__cache_table_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_NDEBUG_UNUSED len, void *_thing)
{
H5SM_master_table_t *table = (H5SM_master_table_t *)_thing; /* Shared message table to encode */
- uint8_t * image = (uint8_t *)_image; /* Pointer into raw data buffer */
+ uint8_t *image = (uint8_t *)_image; /* Pointer into raw data buffer */
uint32_t computed_chksum; /* Computed metadata checksum value */
size_t u; /* Counter variable */
@@ -507,7 +507,7 @@ H5SM__cache_list_get_initial_load_size(void *_udata, size_t *image_len)
htri_t
H5SM__cache_list_verify_chksum(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata)
{
- const uint8_t * image = (const uint8_t *)_image; /* Pointer into raw data buffer */
+ const uint8_t *image = (const uint8_t *)_image; /* Pointer into raw data buffer */
H5SM_list_cache_ud_t *udata = (H5SM_list_cache_ud_t *)_udata; /* User data for callback */
size_t chk_size; /* Exact size of the node with checksum at the end */
uint32_t stored_chksum; /* Stored metadata checksum value */
@@ -551,13 +551,13 @@ static void *
H5SM__cache_list_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED len, void *_udata,
hbool_t H5_ATTR_UNUSED *dirty)
{
- H5SM_list_t * list = NULL; /* The SOHM list being read in */
+ H5SM_list_t *list = NULL; /* The SOHM list being read in */
H5SM_list_cache_ud_t *udata = (H5SM_list_cache_ud_t *)_udata; /* User data for callback */
H5SM_bt2_ctx_t ctx; /* Message encoding context */
- const uint8_t * image = (const uint8_t *)_image; /* Pointer into input buffer */
+ const uint8_t *image = (const uint8_t *)_image; /* Pointer into input buffer */
uint32_t stored_chksum; /* Stored metadata checksum value */
size_t u; /* Counter variable for messages in list */
- void * ret_value = NULL; /* Return value */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE
@@ -667,9 +667,9 @@ H5SM__cache_list_image_len(const void *_thing, size_t *image_len)
static herr_t
H5SM__cache_list_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_NDEBUG_UNUSED len, void *_thing)
{
- H5SM_list_t * list = (H5SM_list_t *)_thing; /* Instance being serialized */
+ H5SM_list_t *list = (H5SM_list_t *)_thing; /* Instance being serialized */
H5SM_bt2_ctx_t ctx; /* Message encoding context */
- uint8_t * image = (uint8_t *)_image; /* Pointer into raw data buffer */
+ uint8_t *image = (uint8_t *)_image; /* Pointer into raw data buffer */
uint32_t computed_chksum; /* Computed metadata checksum value */
size_t mesgs_serialized; /* Number of messages serialized */
size_t u; /* Local index variable */