Coda Distributed File System
Macros | Functions
vol-dump.cc File Reference
#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"
Include dependency graph for vol-dump.cc:

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
 

Macro Definition Documentation

◆ DUMPBUFSIZE

#define DUMPBUFSIZE   512000

◆ DUMPDUMPHEADERSIZE

#define DUMPDUMPHEADERSIZE   (44 + ESTNAMESIZE)

◆ DUMPENDSIZE

#define DUMPENDSIZE   5

◆ DUMPVOLUMEDISKDATASIZE

#define DUMPVOLUMEDISKDATASIZE   (229 + 4 * ESTNAMESIZE)

◆ ESTNAMESIZE

#define ESTNAMESIZE   V_MAXVOLNAMELEN /* just prepare for the worst case */

Function Documentation

◆ PollAndYield()

void PollAndYield ( )

◆ S_VolDumpEstimate()

long S_VolDumpEstimate ( RPC2_Handle  rpcid,
RPC2_Unsigned  formal_volumeNumber,
VolDumpEstimates *  sizes 
)

◆ S_VolNewDump()

long S_VolNewDump ( RPC2_Handle  rpcid,
RPC2_Unsigned  formal_volumeNumber,
RPC2_Integer Incremental 
)