diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-07-27 23:39:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 23:39:48 (GMT) |
commit | 38e234b620595f3eac5ff68dd71d4b29cfd46b18 (patch) | |
tree | 905658547118279ea17cab8ffac2820d865b3b92 /src/H5EAdblock.c | |
parent | e286b6e706b28330a64115c13c11ae832536b857 (diff) | |
download | hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.zip hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.gz hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.bz2 |
Convert H5F_addr calls to H5_addr (#3297)
Diffstat (limited to 'src/H5EAdblock.c')
-rw-r--r-- | src/H5EAdblock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5EAdblock.c b/src/H5EAdblock.c index 8396429..6b73df9 100644 --- a/src/H5EAdblock.c +++ b/src/H5EAdblock.c @@ -205,7 +205,7 @@ H5EA__dblock_create(H5EA_hdr_t *hdr, void *parent, hbool_t *stats_changed, hsize ret_value = dblock_addr; done: - if (!H5F_addr_defined(ret_value)) + if (!H5_addr_defined(ret_value)) if (dblock) { /* Remove from cache, if inserted */ if (inserted) @@ -214,7 +214,7 @@ done: "unable to remove extensible array data block from cache") /* Release data block's disk space */ - if (H5F_addr_defined(dblock->addr) && + if (H5_addr_defined(dblock->addr) && H5MF_xfree(hdr->f, H5FD_MEM_EARRAY_DBLOCK, dblock->addr, (hsize_t)dblock->size) < 0) HDONE_ERROR(H5E_EARRAY, H5E_CANTFREE, HADDR_UNDEF, "unable to release extensible array data block") @@ -279,7 +279,7 @@ H5EA__dblock_protect(H5EA_hdr_t *hdr, void *parent, haddr_t dblk_addr, size_t db /* Sanity check */ assert(hdr); - assert(H5F_addr_defined(dblk_addr)); + assert(H5_addr_defined(dblk_addr)); assert(dblk_nelmts); /* only the H5AC__READ_ONLY_FLAG may be set */ @@ -375,7 +375,7 @@ H5EA__dblock_delete(H5EA_hdr_t *hdr, void *parent, haddr_t dblk_addr, size_t dbl /* Sanity check */ assert(hdr); assert(parent); - assert(H5F_addr_defined(dblk_addr)); + assert(H5_addr_defined(dblk_addr)); assert(dblk_nelmts > 0); /* Protect data block */ |