summaryrefslogtreecommitdiffstats
path: root/src/H5Bcache.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2013-10-16 23:20:39 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2013-10-16 23:20:39 (GMT)
commite81dbea8e638dad2559f0485c484e50f1e62ecb5 (patch)
tree0636eb9ee5f0435d3e26e340ab84cc0b3ec06460 /src/H5Bcache.c
parent9825a2f52b32dfd44a028ea24888a7fa1f9916aa (diff)
downloadhdf5-e81dbea8e638dad2559f0485c484e50f1e62ecb5.zip
hdf5-e81dbea8e638dad2559f0485c484e50f1e62ecb5.tar.gz
hdf5-e81dbea8e638dad2559f0485c484e50f1e62ecb5.tar.bz2
[svn-r24310] Bring revision #24293 from revise_chunks.
h5committested.
Diffstat (limited to 'src/H5Bcache.c')
-rw-r--r--src/H5Bcache.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Bcache.c b/src/H5Bcache.c
index 0afe251..b85c10c 100644
--- a/src/H5Bcache.c
+++ b/src/H5Bcache.c
@@ -122,10 +122,10 @@ H5B__load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *_udata)
/* Set & increment the ref-counted "shared" B-tree information for the node */
bt->rc_shared = udata->rc_shared;
- H5RC_INC(bt->rc_shared);
+ H5UC_INC(bt->rc_shared);
/* Get a pointer to the shared info, for convenience */
- shared = (H5B_shared_t *)H5RC_GET_OBJ(bt->rc_shared);
+ shared = (H5B_shared_t *)H5UC_GET_OBJ(bt->rc_shared);
HDassert(shared);
/* Allocate space for the native keys and child addresses */
@@ -225,7 +225,7 @@ H5B__flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B_t *bt, un
HDassert(f);
HDassert(H5F_addr_defined(addr));
HDassert(bt);
- shared = (H5B_shared_t *)H5RC_GET_OBJ(bt->rc_shared);
+ shared = (H5B_shared_t *)H5UC_GET_OBJ(bt->rc_shared);
HDassert(shared);
HDassert(shared->type);
HDassert(shared->type->encode);
@@ -326,7 +326,7 @@ H5B__dest(H5F_t *f, H5B_t *bt)
H5B_shared_t *shared; /* Pointer to shared B-tree info */
/* Get the pointer to the shared B-tree info */
- shared = (H5B_shared_t *)H5RC_GET_OBJ(bt->rc_shared);
+ shared = (H5B_shared_t *)H5UC_GET_OBJ(bt->rc_shared);
HDassert(shared);
/* Release the space on disk */
@@ -407,7 +407,7 @@ H5B__notify(H5AC_notify_action_t action, H5B_t *bt)
*/
HDassert(bt);
HDassert(bt->rc_shared);
- shared = (H5B_shared_t *)H5RC_GET_OBJ(bt->rc_shared);
+ shared = (H5B_shared_t *)H5UC_GET_OBJ(bt->rc_shared);
/* Check if the file was opened with SWMR-write access */
if(shared->swmr_write) {
@@ -462,7 +462,7 @@ H5B__compute_size(const H5F_t UNUSED *f, const H5B_t *bt, size_t *size_ptr)
HDassert(f);
HDassert(bt);
HDassert(bt->rc_shared);
- shared = (H5B_shared_t *)H5RC_GET_OBJ(bt->rc_shared);
+ shared = (H5B_shared_t *)H5UC_GET_OBJ(bt->rc_shared);
HDassert(shared);
HDassert(shared->type);
HDassert(size_ptr);