summaryrefslogtreecommitdiffstats
path: root/src/H5EAiblock.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/H5EAiblock.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/H5EAiblock.c')
-rw-r--r--src/H5EAiblock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5EAiblock.c b/src/H5EAiblock.c
index 014dd52..da362ea 100644
--- a/src/H5EAiblock.c
+++ b/src/H5EAiblock.c
@@ -235,7 +235,7 @@ H5EA__iblock_create(H5EA_hdr_t *hdr, hbool_t *stats_changed)
ret_value = iblock_addr;
done:
- if (!H5F_addr_defined(ret_value))
+ if (!H5_addr_defined(ret_value))
if (iblock) {
/* Remove from cache, if inserted */
if (inserted)
@@ -244,7 +244,7 @@ done:
"unable to remove extensible array index block from cache")
/* Release index block's disk space */
- if (H5F_addr_defined(iblock->addr) &&
+ if (H5_addr_defined(iblock->addr) &&
H5MF_xfree(hdr->f, H5FD_MEM_EARRAY_IBLOCK, iblock->addr, (hsize_t)iblock->size) < 0)
HDONE_ERROR(H5E_EARRAY, H5E_CANTFREE, HADDR_UNDEF,
"unable to release file space for extensible array index block")
@@ -362,7 +362,7 @@ H5EA__iblock_delete(H5EA_hdr_t *hdr)
/* Sanity check */
assert(hdr);
- assert(H5F_addr_defined(hdr->idx_blk_addr));
+ assert(H5_addr_defined(hdr->idx_blk_addr));
/* Protect index block */
if (NULL == (iblock = H5EA__iblock_protect(hdr, H5AC__NO_FLAGS_SET)))
@@ -380,7 +380,7 @@ H5EA__iblock_delete(H5EA_hdr_t *hdr)
sblk_idx = dblk_idx = 0;
for (u = 0; u < iblock->ndblk_addrs; u++) {
/* Check for data block existing */
- if (H5F_addr_defined(iblock->dblk_addrs[u])) {
+ if (H5_addr_defined(iblock->dblk_addrs[u])) {
/* Delete data block */
if (H5EA__dblock_delete(hdr, iblock, iblock->dblk_addrs[u],
hdr->sblk_info[sblk_idx].dblk_nelmts) < 0)
@@ -407,7 +407,7 @@ H5EA__iblock_delete(H5EA_hdr_t *hdr)
/* Iterate over super blocks */
for (u = 0; u < iblock->nsblk_addrs; u++) {
/* Check for data block existing */
- if (H5F_addr_defined(iblock->sblk_addrs[u])) {
+ if (H5_addr_defined(iblock->sblk_addrs[u])) {
/* Delete super block */
if (H5EA__sblock_delete(hdr, iblock, iblock->sblk_addrs[u], (unsigned)(u + iblock->nsblks)) <
0)