summaryrefslogtreecommitdiffstats
path: root/src/H5Clog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Clog.c')
-rw-r--r--src/H5Clog.c84
1 files changed, 42 insertions, 42 deletions
diff --git a/src/H5Clog.c b/src/H5Clog.c
index b0eff4d..01eb0a4 100644
--- a/src/H5Clog.c
+++ b/src/H5Clog.c
@@ -83,8 +83,8 @@ H5C_log_set_up(H5C_t *cache, const char log_location[], H5C_log_style_t style, h
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
- HDassert(log_location);
+ assert(cache);
+ assert(log_location);
/* Check logging flags */
if (cache->log_info->enabled)
@@ -143,7 +143,7 @@ H5C_log_tear_down(H5C_t *cache)
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Check logging flags */
if (FALSE == cache->log_info->enabled)
@@ -186,7 +186,7 @@ H5C_start_logging(H5C_t *cache)
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Check logging flags */
if (FALSE == cache->log_info->enabled)
@@ -229,7 +229,7 @@ H5C_stop_logging(H5C_t *cache)
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Check logging flags */
if (FALSE == cache->log_info->enabled)
@@ -273,9 +273,9 @@ H5C_get_logging_status(const H5C_t *cache, hbool_t *is_enabled, hbool_t *is_curr
FUNC_ENTER_NOAPI_NOERR
/* Sanity checks */
- HDassert(cache);
- HDassert(is_enabled);
- HDassert(is_currently_logging);
+ assert(cache);
+ assert(is_enabled);
+ assert(is_currently_logging);
/* Get logging flags */
*is_enabled = cache->log_info->enabled;
@@ -304,7 +304,7 @@ H5C_log_write_create_cache_msg(H5C_t *cache, herr_t fxn_ret_value)
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_create_cache_log_msg)
@@ -339,7 +339,7 @@ H5C_log_write_destroy_cache_msg(H5C_t *cache)
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_destroy_cache_log_msg)
@@ -370,7 +370,7 @@ H5C_log_write_evict_cache_msg(H5C_t *cache, herr_t fxn_ret_value)
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_evict_cache_log_msg)
@@ -401,7 +401,7 @@ H5C_log_write_expunge_entry_msg(H5C_t *cache, haddr_t address, int type_id, herr
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_expunge_entry_log_msg)
@@ -433,7 +433,7 @@ H5C_log_write_flush_cache_msg(H5C_t *cache, herr_t fxn_ret_value)
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_flush_cache_log_msg)
@@ -465,7 +465,7 @@ H5C_log_write_insert_entry_msg(H5C_t *cache, haddr_t address, int type_id, unsig
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_insert_entry_log_msg)
@@ -497,10 +497,10 @@ H5C_log_write_mark_entry_dirty_msg(H5C_t *cache, const H5C_cache_entry_t *entry,
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_mark_entry_dirty_log_msg)
if (cache->log_info->cls->write_mark_entry_dirty_log_msg(cache->log_info->udata, entry,
fxn_ret_value) < 0)
@@ -530,10 +530,10 @@ H5C_log_write_mark_entry_clean_msg(H5C_t *cache, const H5C_cache_entry_t *entry,
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_mark_entry_clean_log_msg)
if (cache->log_info->cls->write_mark_entry_clean_log_msg(cache->log_info->udata, entry,
fxn_ret_value) < 0)
@@ -563,10 +563,10 @@ H5C_log_write_mark_unserialized_entry_msg(H5C_t *cache, const H5C_cache_entry_t
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_mark_unserialized_entry_log_msg)
if (cache->log_info->cls->write_mark_unserialized_entry_log_msg(cache->log_info->udata, entry,
fxn_ret_value) < 0)
@@ -596,10 +596,10 @@ H5C_log_write_mark_serialized_entry_msg(H5C_t *cache, const H5C_cache_entry_t *e
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_mark_serialized_entry_log_msg)
if (cache->log_info->cls->write_mark_serialized_entry_log_msg(cache->log_info->udata, entry,
fxn_ret_value) < 0)
@@ -630,7 +630,7 @@ H5C_log_write_move_entry_msg(H5C_t *cache, haddr_t old_addr, haddr_t new_addr, i
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_move_entry_log_msg)
@@ -662,10 +662,10 @@ H5C_log_write_pin_entry_msg(H5C_t *cache, const H5C_cache_entry_t *entry, herr_t
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_pin_entry_log_msg)
if (cache->log_info->cls->write_pin_entry_log_msg(cache->log_info->udata, entry, fxn_ret_value) < 0)
HGOTO_ERROR(H5E_CACHE, H5E_LOGGING, FAIL, "log-specific pin entry call failed")
@@ -696,11 +696,11 @@ H5C_log_write_create_fd_msg(H5C_t *cache, const H5C_cache_entry_t *parent, const
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(parent);
- HDassert(child);
+ assert(parent);
+ assert(child);
if (cache->log_info->cls->write_create_fd_log_msg)
if (cache->log_info->cls->write_create_fd_log_msg(cache->log_info->udata, parent, child,
fxn_ret_value) < 0)
@@ -731,10 +731,10 @@ H5C_log_write_protect_entry_msg(H5C_t *cache, const H5C_cache_entry_t *entry, in
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_protect_entry_log_msg)
if (cache->log_info->cls->write_protect_entry_log_msg(cache->log_info->udata, entry, type_id, flags,
fxn_ret_value) < 0)
@@ -765,10 +765,10 @@ H5C_log_write_resize_entry_msg(H5C_t *cache, const H5C_cache_entry_t *entry, siz
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_resize_entry_log_msg)
if (cache->log_info->cls->write_resize_entry_log_msg(cache->log_info->udata, entry, new_size,
fxn_ret_value) < 0)
@@ -798,10 +798,10 @@ H5C_log_write_unpin_entry_msg(H5C_t *cache, const H5C_cache_entry_t *entry, herr
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_unpin_entry_log_msg)
if (cache->log_info->cls->write_unpin_entry_log_msg(cache->log_info->udata, entry, fxn_ret_value) < 0)
HGOTO_ERROR(H5E_CACHE, H5E_LOGGING, FAIL, "log-specific unpin entry call failed")
@@ -832,11 +832,11 @@ H5C_log_write_destroy_fd_msg(H5C_t *cache, const H5C_cache_entry_t *parent, cons
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(parent);
- HDassert(child);
+ assert(parent);
+ assert(child);
if (cache->log_info->cls->write_destroy_fd_log_msg)
if (cache->log_info->cls->write_destroy_fd_log_msg(cache->log_info->udata, parent, child,
fxn_ret_value) < 0)
@@ -867,7 +867,7 @@ H5C_log_write_unprotect_entry_msg(H5C_t *cache, haddr_t address, int type_id, un
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
if (cache->log_info->cls->write_unprotect_entry_log_msg)
@@ -899,10 +899,10 @@ H5C_log_write_set_cache_config_msg(H5C_t *cache, const H5AC_cache_config_t *conf
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(config);
+ assert(config);
if (cache->log_info->cls->write_set_cache_config_log_msg)
if (cache->log_info->cls->write_set_cache_config_log_msg(cache->log_info->udata, config,
fxn_ret_value) < 0)
@@ -932,10 +932,10 @@ H5C_log_write_remove_entry_msg(H5C_t *cache, const H5C_cache_entry_t *entry, her
FUNC_ENTER_NOAPI(FAIL)
/* Sanity checks */
- HDassert(cache);
+ assert(cache);
/* Write a log message */
- HDassert(entry);
+ assert(entry);
if (cache->log_info->cls->write_remove_entry_log_msg)
if (cache->log_info->cls->write_remove_entry_log_msg(cache->log_info->udata, entry, fxn_ret_value) <
0)