summaryrefslogtreecommitdiffstats
path: root/src/H5FSstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FSstat.c')
-rw-r--r--src/H5FSstat.c35
1 files changed, 12 insertions, 23 deletions
diff --git a/src/H5FSstat.c b/src/H5FSstat.c
index e2ad5bb..6c15dd5 100644
--- a/src/H5FSstat.c
+++ b/src/H5FSstat.c
@@ -20,53 +20,43 @@
/* Module Setup */
/****************/
-#include "H5FSmodule.h" /* This source code file is part of the H5FS module */
-
+#include "H5FSmodule.h" /* This source code file is part of the H5FS module */
/***********/
/* Headers */
/***********/
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5FSpkg.h" /* Free-space manager */
-
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5FSpkg.h" /* Free-space manager */
/****************/
/* Local Macros */
/****************/
-
/********************/
/* Package Typedefs */
/********************/
-
/******************/
/* Local Typedefs */
/******************/
-
/********************/
/* Local Prototypes */
/********************/
-
/*********************/
/* Package Variables */
/*********************/
-
/*****************************/
/* Library Private Variables */
/*****************************/
-
/*******************/
/* Local Variables */
/*******************/
-
-
/*-------------------------------------------------------------------------
* Function: H5FS_stat_info
*
@@ -89,16 +79,15 @@ H5FS_stat_info(const H5F_t *f, const H5FS_t *frsp, H5FS_stat_t *stats)
HDassert(stats);
/* Report statistics for free space */
- stats->tot_space = frsp->tot_space;
- stats->tot_sect_count = frsp->tot_sect_count;
+ stats->tot_space = frsp->tot_space;
+ stats->tot_sect_count = frsp->tot_sect_count;
stats->serial_sect_count = frsp->serial_sect_count;
- stats->ghost_sect_count = frsp->ghost_sect_count;
- stats->addr = frsp->addr;
- stats->hdr_size = (hsize_t)H5FS_HEADER_SIZE(f);
- stats->sect_addr = frsp->sect_addr;
- stats->alloc_sect_size = frsp->alloc_sect_size;
- stats->sect_size = frsp->sect_size;
+ stats->ghost_sect_count = frsp->ghost_sect_count;
+ stats->addr = frsp->addr;
+ stats->hdr_size = (hsize_t)H5FS_HEADER_SIZE(f);
+ stats->sect_addr = frsp->sect_addr;
+ stats->alloc_sect_size = frsp->alloc_sect_size;
+ stats->sect_size = frsp->sect_size;
FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5FS_stat_info() */
-