HDfprintf(stderr,"%s: page_free = %Zu, page->free_size = %Zu\n", "H5MP_pool_is_free_size_correct", page_free, page->free_size);
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the COPYING file, which can be found at the root of the source code       *
 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.  *
 * If you do not have access to either file, you may request a copy from     *
 * help@hdfgroup.org.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Programmer:  Quincey Koziol <koziol@ncsa.uiuc.edu>
 *              Tuesday, May  3, 2005
 *
 * Purpose: Memory pool testing functions.
 */
#include "H5MPmodule.h"         /* This source code file is part of the H5MP module */
#define H5MP_TESTING        /*include H5MP testing funcs*/
/* Private headers */
#include "H5private.h"      /* Generic Functions            */
#include "H5MPpkg.h"        /* Memory Pools             */
#include "H5Eprivate.h"     /* Error handling           */
/* Static Prototypes */
/* Package variables */
/*-------------------------------------------------------------------------
 * Function:    H5MP_get_pool_free_size
 *
 * Purpose: Retrieve the total amount of free space in entire pool
 *
 * Return:  Success:    non-negative
 *
 *      Failure:    negative
 *
 * Programmer:  Quincey Koziol
 *              Tuesday, May  3, 2005
 *
 * Modifications:
 *
 *-------------------------------------------------------------------------
 */
herr_t
H5MP_get_pool_free_size(const H5MP_pool_t *mp, size_t *free_size)