summaryrefslogtreecommitdiffstats
path: root/src/H5ACmpio.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /src/H5ACmpio.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
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 b2b32f2..95aba61 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;
@@ -208,7 +208,7 @@ H5AC__set_write_done_callback(H5C_t *cache_ptr, void (*write_done)(void))
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 */
@@ -269,7 +269,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 */
@@ -350,7 +350,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;
@@ -401,7 +401,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;
@@ -547,7 +547,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_STATIC_NOERR
@@ -601,9 +601,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 */
@@ -675,8 +675,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;
@@ -729,7 +729,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 */
@@ -807,7 +807,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
@@ -870,7 +870,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 */
@@ -937,7 +937,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 */
@@ -1035,7 +1035,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;
@@ -1215,9 +1215,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 */
@@ -1381,7 +1381,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 */
@@ -1502,9 +1502,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 */
@@ -1642,9 +1642,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 */
@@ -1788,7 +1788,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 */
@@ -1869,7 +1869,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 */
@@ -1983,7 +1983,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 */
@@ -2098,7 +2098,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 */