Coda Distributed File System
Classes | Macros | Functions | Variables
hdb.cc File Reference
#include <stdio.h>
#include "coda_string.h"
#include <sys/types.h>
#include <errno.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <struct.h>
#include <sys/param.h>
#include <unistd.h>
#include <stdlib.h>
#include <pwd.h>
#include <fcntl.h>
#include <utmp.h>
#include <codadir.h>
#include <vice.h>
#include "fso.h"
#include "hdb.h"
#include "mariner.h"
#include "tallyent.h"
#include "user.h"
#include "venus.private.h"
#include "venusrecov.h"
#include "venusvol.h"
#include "vproc.h"
#include "worker.h"
#include "realmdb.h"
Include dependency graph for hdb.cc:

Classes

struct  MetaExpandHook
 

Macros

#define MAX_SW_ITERATIONS   5 /* XXX - JJK */
 
#define MAX_CE_ITERATIONS   3
 

Functions

int MetaExpand (struct DirEntry *entry, long hook)
 
void HDB_Init ()
 
void TallyAllHDBentries (dlist *hdb_bindings, int blocks, TallyStatus status)
 
int MetaExpand (PDirEntry entry, void *hook)
 
int NC_PriorityFN (bsnode *b1, bsnode *b2)
 

Variables

int HDBEs = 0
 
char PeriodicWalksAllowed = 1
 
int IndigentCount = 0
 
int SearchForNOreFind
 
FILE * logFile
 

Macro Definition Documentation

◆ MAX_CE_ITERATIONS

#define MAX_CE_ITERATIONS   3

◆ MAX_SW_ITERATIONS

#define MAX_SW_ITERATIONS   5 /* XXX - JJK */

Function Documentation

◆ HDB_Init()

void HDB_Init ( )

◆ MetaExpand() [1/2]

int MetaExpand ( PDirEntry  entry,
void *  hook 
)

◆ MetaExpand() [2/2]

int MetaExpand ( struct DirEntry entry,
long  hook 
)

◆ NC_PriorityFN()

int NC_PriorityFN ( bsnode b1,
bsnode b2 
)

◆ TallyAllHDBentries()

void TallyAllHDBentries ( dlist hdb_bindings,
int  blocks,
TallyStatus  status 
)

Variable Documentation

◆ HDBEs

int HDBEs = 0

◆ IndigentCount

int IndigentCount = 0

◆ logFile

FILE* logFile
extern

◆ PeriodicWalksAllowed

char PeriodicWalksAllowed = 1

◆ SearchForNOreFind

int SearchForNOreFind
extern