NVMLib  very early alpha
A library to optimally use a Hybrid RAM setup.
metadata.h File Reference
#include "globals.h"
#include <libpmemobj.h>
Include dependency graph for metadata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  metadata
 
struct  metadata_root
 

Typedefs

typedef struct metadata metadata
 
typedef struct metadata_root metadata_root
 

Functions

 POBJ_LAYOUT_BEGIN (init)
 
 POBJ_LAYOUT_TOID (init, struct metadata)
 
 POBJ_LAYOUT_END (init)
 
void initialize_metadata ()
 
void update_num_pools (int numpools)
 
int retrieve_num_pools ()
 

Typedef Documentation

◆ metadata

typedef struct metadata metadata

◆ metadata_root

typedef struct metadata_root metadata_root

Function Documentation

◆ initialize_metadata()

void initialize_metadata ( )

Definition at line 6 of file metadata.c.

◆ POBJ_LAYOUT_BEGIN()

POBJ_LAYOUT_BEGIN ( init  )

◆ POBJ_LAYOUT_END()

POBJ_LAYOUT_END ( init  )

◆ POBJ_LAYOUT_TOID()

POBJ_LAYOUT_TOID ( init  ,
struct metadata   
)

◆ retrieve_num_pools()

int retrieve_num_pools ( )

Definition at line 51 of file metadata.c.

◆ update_num_pools()

void update_num_pools ( int  numpools)

Definition at line 34 of file metadata.c.