NVMLib  very early alpha
A library to optimally use a Hybrid RAM setup.
types.c File Reference
#include "types.h"
#include "hashmap_tx.h"
#include <libpmemobj.h>
#include <errno.h>
Include dependency graph for types.c:

Go to the source code of this file.

Functions

 TOID (struct hashmap_tx)
 
MEMoid get_MEMoid (MEMoidKey key)
 The function to obtain the MEMoid object given the MEMoidKey More...
 
void insert_object_to_hashmap (MEMoidKey key, MEMoid oid)
 
void remove_object_from_hashmap (MEMoidKey key)
 
void debug_hashmap (MEMoidKey key)
 

Variables

PMEMobjpool * pop
 

Function Documentation

◆ debug_hashmap()

void debug_hashmap ( MEMoidKey  key)

Definition at line 82 of file types.c.

Here is the call graph for this function:

◆ get_MEMoid()

MEMoid get_MEMoid ( MEMoidKey  key)

The function to obtain the MEMoid object given the MEMoidKey

Parameters
keythe MEMoidKey
Returns
The MEMoid object represented by the key upon success.
MEMOID_NULL upon failure.

Definition at line 64 of file types.c.

Here is the call graph for this function:

◆ insert_object_to_hashmap()

void insert_object_to_hashmap ( MEMoidKey  key,
MEMoid  oid 
)

Definition at line 70 of file types.c.

Here is the call graph for this function:

◆ remove_object_from_hashmap()

void remove_object_from_hashmap ( MEMoidKey  key)

Definition at line 74 of file types.c.

Here is the call graph for this function:

◆ TOID()

TOID ( struct hashmap_tx  )

Definition at line 11 of file types.c.

Here is the call graph for this function:

Variable Documentation

◆ pop

PMEMobjpool* pop

Definition at line 7 of file types.c.