summaryrefslogtreecommitdiffstats
path: root/src/H5ACmpio.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /src/H5ACmpio.c
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
Diffstat (limited to 'src/H5ACmpio.c')
-rw-r--r--src/H5ACmpio.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/H5ACmpio.c b/src/H5ACmpio.c
index 36629db..a64c4a4 100644
--- a/src/H5ACmpio.c
+++ b/src/H5ACmpio.c
@@ -75,7 +75,7 @@ typedef struct H5AC_slist_entry_t {
/* User data for address list building callbacks */
typedef struct H5AC_addr_list_ud_t {
H5AC_aux_t *aux_ptr; /* 'Auxiliary' parallel cache info */
- haddr_t * addr_buf_ptr; /* Array to store addresses */
+ haddr_t *addr_buf_ptr; /* Array to store addresses */
unsigned u; /* Counter for position in array */
} H5AC_addr_list_ud_t;
@@ -207,7 +207,7 @@ H5AC__set_write_done_callback(H5C_t *cache_ptr, H5AC_write_done_cb_t write_done)
herr_t
H5AC_add_candidate(H5AC_t *cache_ptr, haddr_t addr)
{
- H5AC_aux_t * aux_ptr;
+ H5AC_aux_t *aux_ptr;
H5AC_slist_entry_t *slist_entry_ptr = NULL;
herr_t ret_value = SUCCEED; /* Return value */
@@ -268,7 +268,7 @@ static herr_t
H5AC__broadcast_candidate_list(H5AC_t *cache_ptr, unsigned *num_entries_ptr, haddr_t **haddr_buf_ptr_ptr)
{
H5AC_aux_t *aux_ptr = NULL;
- haddr_t * haddr_buf_ptr = NULL;
+ haddr_t *haddr_buf_ptr = NULL;
int mpi_result;
unsigned num_entries;
herr_t ret_value = SUCCEED; /* Return value */
@@ -349,7 +349,7 @@ done:
static herr_t
H5AC__broadcast_clean_list_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata)
{
- H5AC_slist_entry_t * slist_entry_ptr = (H5AC_slist_entry_t *)_item; /* Address of item */
+ H5AC_slist_entry_t *slist_entry_ptr = (H5AC_slist_entry_t *)_item; /* Address of item */
H5AC_addr_list_ud_t *udata = (H5AC_addr_list_ud_t *)_udata; /* Context for callback */
haddr_t addr;
@@ -400,7 +400,7 @@ H5AC__broadcast_clean_list_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_uda
static herr_t
H5AC__broadcast_clean_list(H5AC_t *cache_ptr)
{
- haddr_t * addr_buf_ptr = NULL;
+ haddr_t *addr_buf_ptr = NULL;
H5AC_aux_t *aux_ptr;
int mpi_result;
unsigned num_entries = 0;
@@ -546,7 +546,7 @@ done:
static herr_t
H5AC__copy_candidate_list_to_buffer_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata)
{
- H5AC_slist_entry_t * slist_entry_ptr = (H5AC_slist_entry_t *)_item; /* Address of item */
+ H5AC_slist_entry_t *slist_entry_ptr = (H5AC_slist_entry_t *)_item; /* Address of item */
H5AC_addr_list_ud_t *udata = (H5AC_addr_list_ud_t *)_udata; /* Context for callback */
FUNC_ENTER_PACKAGE_NOERR
@@ -600,9 +600,9 @@ static herr_t
H5AC__copy_candidate_list_to_buffer(const H5AC_t *cache_ptr, unsigned *num_entries_ptr,
haddr_t **haddr_buf_ptr_ptr)
{
- H5AC_aux_t * aux_ptr = NULL;
+ H5AC_aux_t *aux_ptr = NULL;
H5AC_addr_list_ud_t udata;
- haddr_t * haddr_buf_ptr = NULL;
+ haddr_t *haddr_buf_ptr = NULL;
size_t buf_size;
unsigned num_entries = 0;
herr_t ret_value = SUCCEED; /* Return value */
@@ -674,8 +674,8 @@ done:
herr_t
H5AC__log_deleted_entry(const H5AC_info_t *entry_ptr)
{
- H5AC_t * cache_ptr;
- H5AC_aux_t * aux_ptr;
+ H5AC_t *cache_ptr;
+ H5AC_aux_t *aux_ptr;
H5AC_slist_entry_t *slist_entry_ptr = NULL;
haddr_t addr;
@@ -728,7 +728,7 @@ H5AC__log_deleted_entry(const H5AC_info_t *entry_ptr)
herr_t
H5AC__log_dirtied_entry(const H5AC_info_t *entry_ptr)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
herr_t ret_value = SUCCEED; /* Return value */
@@ -806,7 +806,7 @@ done:
herr_t
H5AC__log_cleaned_entry(const H5AC_info_t *entry_ptr)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
FUNC_ENTER_PACKAGE_NOERR
@@ -869,7 +869,7 @@ herr_t
H5AC__log_flushed_entry(H5C_t *cache_ptr, haddr_t addr, hbool_t was_dirty, unsigned flags)
{
hbool_t cleared;
- H5AC_aux_t * aux_ptr;
+ H5AC_aux_t *aux_ptr;
H5AC_slist_entry_t *slist_entry_ptr = NULL;
herr_t ret_value = SUCCEED; /* Return value */
@@ -936,7 +936,7 @@ done:
herr_t
H5AC__log_inserted_entry(const H5AC_info_t *entry_ptr)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1034,7 +1034,7 @@ done:
herr_t
H5AC__log_moved_entry(const H5F_t *f, haddr_t old_addr, haddr_t new_addr)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
hbool_t entry_in_cache;
hbool_t entry_dirty;
@@ -1214,9 +1214,9 @@ done:
static herr_t
H5AC__propagate_and_apply_candidate_list(H5F_t *f)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
- haddr_t * candidates_list_ptr = NULL;
+ haddr_t *candidates_list_ptr = NULL;
int mpi_result;
unsigned num_candidates = 0;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1380,7 +1380,7 @@ done:
static herr_t
H5AC__propagate_flushed_and_still_clean_entries_list(H5F_t *f)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1501,9 +1501,9 @@ done:
static herr_t
H5AC__receive_and_apply_clean_list(H5F_t *f)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
- haddr_t * haddr_buf_ptr = NULL;
+ haddr_t *haddr_buf_ptr = NULL;
unsigned num_entries = 0;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1641,9 +1641,9 @@ done:
static herr_t
H5AC__rsp__dist_md_write__flush(H5F_t *f)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
- haddr_t * haddr_buf_ptr = NULL;
+ haddr_t *haddr_buf_ptr = NULL;
int mpi_result;
unsigned num_entries = 0;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1787,7 +1787,7 @@ done:
static herr_t
H5AC__rsp__dist_md_write__flush_to_min_clean(H5F_t *f)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
hbool_t evictions_enabled;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1868,7 +1868,7 @@ done:
static herr_t
H5AC__rsp__p0_only__flush(H5F_t *f)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
int mpi_result;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1982,7 +1982,7 @@ done:
static herr_t
H5AC__rsp__p0_only__flush_to_min_clean(H5F_t *f)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
hbool_t evictions_enabled;
herr_t ret_value = SUCCEED; /* Return value */
@@ -2097,7 +2097,7 @@ done:
herr_t
H5AC__run_sync_point(H5F_t *f, int sync_point_op)
{
- H5AC_t * cache_ptr;
+ H5AC_t *cache_ptr;
H5AC_aux_t *aux_ptr;
herr_t ret_value = SUCCEED; /* Return value */