diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2022-02-21 18:36:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 18:36:29 (GMT) |
commit | 705ba09e76d0bb4af88b7b7cde1f90c64c9e3753 (patch) | |
tree | 55c0966245de04775df4f142c8c621da714f022e /src/H5Cprivate.h | |
parent | 42c419e2661f67a80cef445084d28ac25572244e (diff) | |
download | hdf5-705ba09e76d0bb4af88b7b7cde1f90c64c9e3753.zip hdf5-705ba09e76d0bb4af88b7b7cde1f90c64c9e3753.tar.gz hdf5-705ba09e76d0bb4af88b7b7cde1f90c64c9e3753.tar.bz2 |
Fix cache sanity checking code by moving functions to wider scope (#1435)
Diffstat (limited to 'src/H5Cprivate.h')
-rw-r--r-- | src/H5Cprivate.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h index 8a1043e..9514443 100644 --- a/src/H5Cprivate.h +++ b/src/H5Cprivate.h @@ -2292,6 +2292,16 @@ H5_DLL herr_t H5C_cache_image_status(H5F_t *f, hbool_t *load_ci_ptr, hbool_t * H5_DLL hbool_t H5C_cache_image_pending(const H5C_t *cache_ptr); H5_DLL herr_t H5C_get_mdc_image_info(const H5C_t *cache_ptr, haddr_t *image_addr, hsize_t *image_len); +#if H5C_DO_SLIST_SANITY_CHECKS +H5_DLL hbool_t H5C_entry_in_skip_list(H5C_t *cache_ptr, H5C_cache_entry_t *target_ptr); +#endif + +#if H5C_DO_EXTREME_SANITY_CHECKS +H5_DLL herr_t H5C_validate_lru_list(H5C_t *cache_ptr); +H5_DLL herr_t H5C_validate_pinned_entry_list(H5C_t *cache_ptr); +H5_DLL herr_t H5C_validate_protected_entry_list(H5C_t *cache_ptr); +#endif /* H5C_DO_EXTREME_SANITY_CHECKS */ + /* Logging functions */ H5_DLL herr_t H5C_start_logging(H5C_t *cache); H5_DLL herr_t H5C_stop_logging(H5C_t *cache); |