summaryrefslogtreecommitdiffstats
path: root/src/H5B2leaf.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 23:39:48 (GMT)
committerGitHub <noreply@github.com>2023-07-27 23:39:48 (GMT)
commit38e234b620595f3eac5ff68dd71d4b29cfd46b18 (patch)
tree905658547118279ea17cab8ffac2820d865b3b92 /src/H5B2leaf.c
parente286b6e706b28330a64115c13c11ae832536b857 (diff)
downloadhdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.zip
hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.gz
hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.bz2
Convert H5F_addr calls to H5_addr (#3297)
Diffstat (limited to 'src/H5B2leaf.c')
-rw-r--r--src/H5B2leaf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5B2leaf.c b/src/H5B2leaf.c
index c337d66..4f1e566 100644
--- a/src/H5B2leaf.c
+++ b/src/H5B2leaf.c
@@ -137,7 +137,7 @@ done:
"unable to remove v2 B-tree leaf node from cache")
/* Release leaf node's disk space */
- if (H5F_addr_defined(node_ptr->addr) &&
+ if (H5_addr_defined(node_ptr->addr) &&
H5MF_xfree(hdr->f, H5FD_MEM_BTREE, node_ptr->addr, (hsize_t)hdr->node_size) < 0)
HDONE_ERROR(H5E_BTREE, H5E_CANTFREE, FAIL,
"unable to release file space for v2 B-tree leaf node")
@@ -172,7 +172,7 @@ H5B2__protect_leaf(H5B2_hdr_t *hdr, void *parent, H5B2_node_ptr_t *node_ptr, hbo
/* Check arguments. */
assert(hdr);
assert(node_ptr);
- assert(H5F_addr_defined(node_ptr->addr));
+ assert(H5_addr_defined(node_ptr->addr));
/* only H5AC__READ_ONLY_FLAG may appear in flags */
assert((flags & (unsigned)(~H5AC__READ_ONLY_FLAG)) == 0);
@@ -264,7 +264,7 @@ H5B2__neighbor_leaf(H5B2_hdr_t *hdr, H5B2_node_ptr_t *curr_node_ptr, void *neigh
/* Check arguments. */
assert(hdr);
assert(curr_node_ptr);
- assert(H5F_addr_defined(curr_node_ptr->addr));
+ assert(H5_addr_defined(curr_node_ptr->addr));
assert(op);
/* Lock current B-tree node */
@@ -333,7 +333,7 @@ H5B2__insert_leaf(H5B2_hdr_t *hdr, H5B2_node_ptr_t *curr_node_ptr, H5B2_nodepos_
/* Check arguments. */
assert(hdr);
assert(curr_node_ptr);
- assert(H5F_addr_defined(curr_node_ptr->addr));
+ assert(H5_addr_defined(curr_node_ptr->addr));
/* Lock current B-tree node */
if (NULL == (leaf = H5B2__protect_leaf(hdr, parent, curr_node_ptr, FALSE, H5AC__NO_FLAGS_SET)))
@@ -444,7 +444,7 @@ H5B2__update_leaf(H5B2_hdr_t *hdr, H5B2_node_ptr_t *curr_node_ptr, H5B2_update_s
/* Check arguments. */
assert(hdr);
assert(curr_node_ptr);
- assert(H5F_addr_defined(curr_node_ptr->addr));
+ assert(H5_addr_defined(curr_node_ptr->addr));
/* Lock current B-tree node */
if (NULL == (leaf = H5B2__protect_leaf(hdr, parent, curr_node_ptr, FALSE, H5AC__NO_FLAGS_SET)))
@@ -685,7 +685,7 @@ H5B2__shadow_leaf(H5B2_leaf_t *leaf, H5B2_node_ptr_t *curr_node_ptr)
*/
assert(leaf);
assert(curr_node_ptr);
- assert(H5F_addr_defined(curr_node_ptr->addr));
+ assert(H5_addr_defined(curr_node_ptr->addr));
hdr = leaf->hdr;
assert(hdr);
assert(hdr->swmr_write);
@@ -749,7 +749,7 @@ H5B2__remove_leaf(H5B2_hdr_t *hdr, H5B2_node_ptr_t *curr_node_ptr, H5B2_nodepos_
/* Check arguments. */
assert(hdr);
assert(curr_node_ptr);
- assert(H5F_addr_defined(curr_node_ptr->addr));
+ assert(H5_addr_defined(curr_node_ptr->addr));
/* Lock current B-tree node */
if (NULL == (leaf = H5B2__protect_leaf(hdr, parent, curr_node_ptr, FALSE, H5AC__NO_FLAGS_SET)))
@@ -852,7 +852,7 @@ H5B2__remove_leaf_by_idx(H5B2_hdr_t *hdr, H5B2_node_ptr_t *curr_node_ptr, H5B2_n
/* Check arguments. */
assert(hdr);
assert(curr_node_ptr);
- assert(H5F_addr_defined(curr_node_ptr->addr));
+ assert(H5_addr_defined(curr_node_ptr->addr));
/* Lock B-tree leaf node */
if (NULL == (leaf = H5B2__protect_leaf(hdr, parent, curr_node_ptr, FALSE, H5AC__NO_FLAGS_SET)))