|
Coda Distributed File System
|
#include <sys/types.h>#include <ctype.h>#include <sys/param.h>#include <errno.h>#include <sys/stat.h>#include <stdio.h>#include <sys/file.h>#include <netinet/in.h>#include <unistd.h>#include <stdlib.h>#include "coda_assert.h"#include <struct.h>#include <lwp/lwp.h>#include <lwp/lock.h>#include <rpc2/rpc2.h>#include <rpc2/errors.h>#include <inodeops.h>#include <util.h>#include <rvmlib.h>#include <codadir.h>#include <partition.h>#include <volutil.h>#include <vice.h>#include <voltypes.h>#include <cvnode.h>#include <volume.h>#include <viceinode.h>#include <vutil.h>#include <index.h>#include <recov.h>#include <camprivate.h>#include <coda_globals.h>#include <vrdb.h>#include <srv.h>#include <voldump.h>#include "vvlist.h"#include "dump.h"
Macros | |
| #define | ESTNAMESIZE V_MAXVOLNAMELEN /* just prepare for the worst case */ |
| #define | DUMPDUMPHEADERSIZE (44 + ESTNAMESIZE) |
| #define | DUMPVOLUMEDISKDATASIZE (229 + 4 * ESTNAMESIZE) |
| #define | DUMPENDSIZE 5 |
| #define | DUMPBUFSIZE 512000 |
Functions | |
| void | PollAndYield () |
| long | S_VolNewDump (RPC2_Handle rpcid, RPC2_Unsigned formal_volumeNumber, RPC2_Integer *Incremental) EXCLUDES_TRANSACTION |
| long | S_VolDumpEstimate (RPC2_Handle rpcid, RPC2_Unsigned formal_volumeNumber, VolDumpEstimates *sizes) EXCLUDES_TRANSACTION |
| #define DUMPBUFSIZE 512000 |
| #define DUMPDUMPHEADERSIZE (44 + ESTNAMESIZE) |
| #define DUMPENDSIZE 5 |
| #define DUMPVOLUMEDISKDATASIZE (229 + 4 * ESTNAMESIZE) |
| void PollAndYield | ( | ) |
| long S_VolDumpEstimate | ( | RPC2_Handle | rpcid, |
| RPC2_Unsigned | formal_volumeNumber, | ||
| VolDumpEstimates * | sizes | ||
| ) |
| long S_VolNewDump | ( | RPC2_Handle | rpcid, |
| RPC2_Unsigned | formal_volumeNumber, | ||
| RPC2_Integer * | Incremental | ||
| ) |