Coda Distributed File System
|
#include <sys/param.h>
#include <stdio.h>
#include <parser.h>
#include <limits.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
#include <lwp/lwp.h>
#include <lwp/lock.h>
#include <pdb.h>
#include "olist.h"
#include "ohash.h"
#include "tar-FromRedHatCD.h"
#include <util.h>
#include <voltypes.h>
#include <vcrcommon.h>
#include <cvnode.h>
#include <volume.h>
#include <codadir.h>
#include "dump.h"
#include "dumpstream.h"
Classes | |
struct | objectid_t |
class | DumpObject |
class | TarRecd |
Macros | |
#define | DEBUG_HEAVY (DebugLevel >= 10) |
#define | DEBUG_LIGHT (DebugLevel > 0 && DebugLevel < 10) |
#define | DEFAULT_HASHPOWER 12 /* 2^HashPower is # of buckets in hash table */ |
Functions | |
void | ParseArgs (int, char **) |
void | DoGlobalSetup () |
int | ProcessDirectory () |
void | DiscoverPathnames () |
void | VerifyEverythingNamed () |
void | CreateDirectories () |
int | ProcessFileOrSymlink () |
void | ProcessHardLinks () |
DumpObject * | GetDumpObj (VnodeId, Unique_t) |
intptr_t | LowBits (void *arg) |
void | FreeDirectory (PDirInode) |
int | AddNameEntry (struct DirEntry *, void *) |
void | CreateHardLinkRecd (DumpObject *, int idx) |
int | main (int argc, char **argv) |
int | CompareDumpOid (DumpObject *dobj, objectid_t *testid) |
Variables | |
char | DumpFileName [MAXPATHLEN] |
dumpstream * | DStream |
char | TarFileName [MAXPATHLEN] |
FILE * | TarFile = stdout |
const char * | RootName |
int | DebugLevel = 0 |
int | Verbose = 0 |
size_t | Bytes = 0 |
ohashtab * | DumpTable |
struct DumpHeader | ThisHead |
VolumeDiskData | ThisVDD |
DumpObject ** | LVNlist |
unsigned int | LVNfillcount |
TarRecd | TarObj |
int | HashPower = DEFAULT_HASHPOWER |
#define DEBUG_HEAVY (DebugLevel >= 10) |
#define DEBUG_LIGHT (DebugLevel > 0 && DebugLevel < 10) |
int AddNameEntry | ( | struct DirEntry * | de, |
void * | hook | ||
) |
int CompareDumpOid | ( | DumpObject * | dobj, |
objectid_t * | testid | ||
) |
void CreateDirectories | ( | ) |
void CreateHardLinkRecd | ( | DumpObject * | dobj, |
int | idx | ||
) |
void DiscoverPathnames | ( | ) |
void DoGlobalSetup | ( | ) |
void FreeDirectory | ( | PDirInode | pdiri | ) |
DumpObject * GetDumpObj | ( | VnodeId | vv, |
Unique_t | uu | ||
) |
intptr_t LowBits | ( | void * | arg | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
void ParseArgs | ( | int | argc, |
char ** | argv | ||
) |
int ProcessDirectory | ( | ) |
int ProcessFileOrSymlink | ( | ) |
void ProcessHardLinks | ( | ) |
void VerifyEverythingNamed | ( | ) |
size_t Bytes = 0 |
int DebugLevel = 0 |
dumpstream* DStream |
char DumpFileName[MAXPATHLEN] |
ohashtab* DumpTable |
int HashPower = DEFAULT_HASHPOWER |
unsigned int LVNfillcount |
DumpObject** LVNlist |
const char* RootName |
FILE* TarFile = stdout |
char TarFileName[MAXPATHLEN] |
TarRecd TarObj |
struct DumpHeader ThisHead |
VolumeDiskData ThisVDD |
int Verbose = 0 |