HDF5  1.12.0
Macros | Typedefs | Functions
H5HLprivate.h File Reference
#include "H5private.h"
#include "H5ACprivate.h"
#include "H5Fprivate.h"

Go to the source code of this file.

Macros

#define H5HL_ALIGN(X)   ((((unsigned)X)+7)&(unsigned)(~0x07)) /* align on 8-byte boundary */
 
#define H5HL_SIZEOF_FREE(F)
 

Typedefs

typedef struct H5HL_t H5HL_t
 

Functions

H5_DLL herr_t H5HL_create (H5F_t *f, size_t size_hint, haddr_t *addr)
 
H5_DLL herr_t H5HL_delete (H5F_t *f, haddr_t addr)
 
H5_DLL herr_t H5HL_get_size (H5F_t *f, haddr_t addr, size_t *size)
 
H5_DLL herr_t H5HL_heapsize (H5F_t *f, haddr_t addr, hsize_t *heap_size)
 
H5_DLL size_t H5HL_insert (H5F_t *f, H5HL_t *heap, size_t size, const void *buf)
 
H5_DLL void * H5HL_offset_into (const H5HL_t *heap, size_t offset)
 
H5_DLL H5HL_tH5HL_protect (H5F_t *f, haddr_t addr, unsigned flags)
 
H5_DLL herr_t H5HL_remove (H5F_t *f, H5HL_t *heap, size_t offset, size_t size)
 
H5_DLL herr_t H5HL_unprotect (H5HL_t *heap)
 
H5_DLL herr_t H5HL_debug (H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth)
 

Macro Definition Documentation

◆ H5HL_ALIGN

#define H5HL_ALIGN (   X)    ((((unsigned)X)+7)&(unsigned)(~0x07)) /* align on 8-byte boundary */

◆ H5HL_SIZEOF_FREE

#define H5HL_SIZEOF_FREE (   F)
Value:
H5HL_ALIGN(H5F_SIZEOF_SIZE (F) + /* ptr to next free block */ \
H5F_SIZEOF_SIZE (F)) /* size of this free block */

Typedef Documentation

◆ H5HL_t

typedef struct H5HL_t H5HL_t

Function Documentation

◆ H5HL_create()

H5_DLL herr_t H5HL_create ( H5F_t f,
size_t  size_hint,
haddr_t addr 
)

◆ H5HL_debug()

H5_DLL herr_t H5HL_debug ( H5F_t f,
haddr_t  addr,
FILE stream,
int  indent,
int  fwidth 
)

◆ H5HL_delete()

H5_DLL herr_t H5HL_delete ( H5F_t f,
haddr_t  addr 
)

◆ H5HL_get_size()

H5_DLL herr_t H5HL_get_size ( H5F_t f,
haddr_t  addr,
size_t size 
)

◆ H5HL_heapsize()

H5_DLL herr_t H5HL_heapsize ( H5F_t f,
haddr_t  addr,
hsize_t heap_size 
)

◆ H5HL_insert()

H5_DLL size_t H5HL_insert ( H5F_t f,
H5HL_t heap,
size_t  size,
const void *  buf 
)

◆ H5HL_offset_into()

H5_DLL void* H5HL_offset_into ( const H5HL_t heap,
size_t  offset 
)

◆ H5HL_protect()

H5_DLL H5HL_t* H5HL_protect ( H5F_t f,
haddr_t  addr,
unsigned  flags 
)

◆ H5HL_remove()

H5_DLL herr_t H5HL_remove ( H5F_t f,
H5HL_t heap,
size_t  offset,
size_t  size 
)

◆ H5HL_unprotect()

H5_DLL herr_t H5HL_unprotect ( H5HL_t heap)
H5F_SIZEOF_SIZE
#define H5F_SIZEOF_SIZE(F)
Definition: H5Fprivate.h:367
H5HL_ALIGN
#define H5HL_ALIGN(X)
Definition: H5HLprivate.h:40