Coda Distributed File System
|
#include <volhash.h>
Public Member Functions | |
vhashtab (int size, intptr_t(*hashfn)(void *), const char *) | |
~vhashtab () | |
void | Lock (int) |
void | Unlock () |
void | add (hashent *) |
void | remove (hashent *) |
hashent * | find (VolumeId) |
int | volumes () |
void | vprint (FILE *=NULL) |
![]() | |
ohashtab (int size, intptr_t(*hashfn)(void *)) | |
ohashtab (ohashtab &) | |
int | operator= (ohashtab &) |
virtual | ~ohashtab () |
void | insert (void *, olink *) |
void | append (void *, olink *) |
olink * | remove (void *, olink *) |
olink * | first () |
olink * | last () |
olink * | get (void *) |
void | clear () |
int | count () |
int | IsMember (void *, olink *) |
int | bucket (void *) |
virtual void | print () |
virtual void | print (FILE *) |
virtual void | print (int) |
olink * | FindObject (void *key, void *tag, otagcompare_t cmpfn) |
Friends | |
void | InitVolTable (int) |
vhashtab::vhashtab | ( | int | size, |
intptr_t(*)(void *) | hashfn, | ||
const char * | n | ||
) |
vhashtab::~vhashtab | ( | ) |
void vhashtab::add | ( | hashent * | vol | ) |
hashent * vhashtab::find | ( | VolumeId | volid | ) |
void vhashtab::Lock | ( | int | level | ) |
void vhashtab::remove | ( | hashent * | vol | ) |
void vhashtab::Unlock | ( | ) |
int vhashtab::volumes | ( | ) |
void vhashtab::vprint | ( | FILE * | fp = NULL | ) |
|
friend |