photon  1.1
Functions
photon_buffertable.c File Reference
#include "photon_buffertable.h"
#include "libsync/locks.h"
#include "avl.h"

Go to the source code of this file.

Functions

int buffertable_init (int size)
 
void buffertable_finalize ()
 
int buffertable_find_containing (void *addr, uint64_t size, photonBufferHandle *result)
 
int buffertable_find_exact (void *addr, uint64_t size, photonBufferHandle *result)
 
int buffertable_insert (photonBufferHandle buf)
 
int buffertable_remove (photonBufferHandle buf)
 

Function Documentation

◆ buffertable_finalize()

void buffertable_finalize ( )

Definition at line 55 of file photon_buffertable.c.

◆ buffertable_find_containing()

int buffertable_find_containing ( void *  addr,
uint64_t  size,
photonBufferHandle result 
)

Definition at line 59 of file photon_buffertable.c.

◆ buffertable_find_exact()

int buffertable_find_exact ( void *  addr,
uint64_t  size,
photonBufferHandle result 
)

Definition at line 63 of file photon_buffertable.c.

◆ buffertable_init()

int buffertable_init ( int  size)

Definition at line 46 of file photon_buffertable.c.

◆ buffertable_insert()

int buffertable_insert ( photonBufferHandle  buf)

Definition at line 81 of file photon_buffertable.c.

◆ buffertable_remove()

int buffertable_remove ( photonBufferHandle  buf)

Definition at line 102 of file photon_buffertable.c.