MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Functions | Variables
H5HGpkg.h File Reference
#include "H5HGprivate.h"
#include "H5ACprivate.h"
#include "H5FLprivate.h"

Go to the source code of this file.

Data Structures

struct  H5HG_obj_t
 
struct  H5HG_heap_t
 

Macros

#define H5HG_VERSION   1
 
#define H5HG_MINSIZE   4096
 
#define H5HG_ALIGNMENT   8
 
#define H5HG_ALIGN(X)   (H5HG_ALIGNMENT*(((X)+H5HG_ALIGNMENT-1)/H5HG_ALIGNMENT))
 
#define H5HG_ISALIGNED(X)   ((X)==H5HG_ALIGN(X))
 
#define H5HG_SIZEOF_HDR(f)
 
#define H5HG_SIZEOF_OBJHDR(f)
 
#define H5HG_NOBJS(f, z)
 

Typedefs

typedef struct H5HG_obj_t H5HG_obj_t
 

Functions

 H5FL_EXTERN (H5HG_heap_t)
 
 H5FL_SEQ_EXTERN (H5HG_obj_t)
 
 H5FL_BLK_EXTERN (gheap_chunk)
 
H5_DLL herr_t H5HG_free (H5HG_heap_t *heap)
 
H5_DLL H5HG_heap_tH5HG_protect (H5F_t *f, hid_t dxpl_id, haddr_t addr, H5AC_protect_t rw)
 

Variables

H5_DLLVAR const H5AC_class_t H5AC_GHEAP [1]
 

Macro Definition Documentation

◆ H5HG_ALIGN

#define H5HG_ALIGN (   X)    (H5HG_ALIGNMENT*(((X)+H5HG_ALIGNMENT-1)/H5HG_ALIGNMENT))

Definition at line 78 of file H5HGpkg.h.

◆ H5HG_ALIGNMENT

#define H5HG_ALIGNMENT   8

Definition at line 77 of file H5HGpkg.h.

◆ H5HG_ISALIGNED

#define H5HG_ISALIGNED (   X)    ((X)==H5HG_ALIGN(X))

Definition at line 79 of file H5HGpkg.h.

◆ H5HG_MINSIZE

#define H5HG_MINSIZE   4096

Definition at line 69 of file H5HGpkg.h.

◆ H5HG_NOBJS

#define H5HG_NOBJS (   f,
 
)
Value:
((((z)-H5HG_SIZEOF_HDR(f))/ \
#define H5HG_SIZEOF_HDR(f)
Definition: H5HGpkg.h:85
#define H5HG_SIZEOF_OBJHDR(f)
Definition: H5HGpkg.h:95

Definition at line 108 of file H5HGpkg.h.

◆ H5HG_SIZEOF_HDR

#define H5HG_SIZEOF_HDR (   f)
Value:
(size_t)H5HG_ALIGN(4 + /*magic number */ \
1 + /*version number */ \
3 + /*reserved */ \
H5F_SIZEOF_SIZE(f)) /*collection size */
#define H5HG_ALIGN(X)
Definition: H5HGpkg.h:78

Definition at line 85 of file H5HGpkg.h.

◆ H5HG_SIZEOF_OBJHDR

#define H5HG_SIZEOF_OBJHDR (   f)
Value:
(size_t)H5HG_ALIGN(2 + /*object id number */ \
2 + /*reference count */ \
4 + /*reserved */ \
H5F_SIZEOF_SIZE(f)) /*object data size */
#define H5HG_ALIGN(X)
Definition: H5HGpkg.h:78

Definition at line 95 of file H5HGpkg.h.

◆ H5HG_VERSION

#define H5HG_VERSION   1

Definition at line 61 of file H5HGpkg.h.

Typedef Documentation

◆ H5HG_obj_t

typedef struct H5HG_obj_t H5HG_obj_t

Function Documentation

◆ H5FL_BLK_EXTERN()

H5FL_BLK_EXTERN ( gheap_chunk  )

◆ H5FL_EXTERN()

H5FL_EXTERN ( H5HG_heap_t  )

◆ H5FL_SEQ_EXTERN()

H5FL_SEQ_EXTERN ( H5HG_obj_t  )

◆ H5HG_free()

H5_DLL herr_t H5HG_free ( H5HG_heap_t heap)

◆ H5HG_protect()

H5_DLL H5HG_heap_t* H5HG_protect ( H5F_t f,
hid_t  dxpl_id,
haddr_t  addr,
H5AC_protect_t  rw 
)

Variable Documentation

◆ H5AC_GHEAP

H5_DLLVAR const H5AC_class_t H5AC_GHEAP[1]

Definition at line 42 of file H5HGpkg.h.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:54