Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

logging.H File Reference

#include "nfsd.H"
#include "VRErrorCode.H"

Go to the source code of this file.

Namespaces

namespace  Repos

Defines

#define DBG_ALWAYS   0x0000
#define DBG_SRPC   0x0001
#define DBG_NFS   0x0002
#define DBG_FDCACHE   0x0004
#define DBG_SIDDISP   0x0008
#define DBG_SIDDEL   0x0010
#define DBG_SIDNODEL   0x0020
#define DBG_VDIREVAL   0x0040
#define DBG_NOWEEDREC   0x0080
#define DBG_VMEMPOOL   0x0100
#define DBG_SAVECORE   0x0200
#define DBG_STALENFS   0x0400
#define DBG_MASTERSHIP   0x0800
#define DBG_COW   0x1000
#define DBG_ACCESS   0x2000
#define DBG_REPLICATION   0x4000

Functions

void setDebugLevel (int level)
int isDebugLevel (int level)
void dprintf (int level, const char *fmt,...)
void log_call (struct svc_req *rqstp, struct dispatch_entry *dent, union argument_types *argument)
void log_result (struct svc_req *rqstp, struct dispatch_entry *dent, union result_types *result)
void pr_void (char *buf)
void pr_nfs_fh (char *buf, nfs_fh *argp)
void pr_sattrargs (char *buf, sattrargs *argp)
void pr_diropargs (char *buf, diropargs *argp)
void pr_readargs (char *buf, readargs *argp)
void pr_writeargs (char *buf, writeargs *argp)
void pr_createargs (char *buf, createargs *argp)
void pr_renameargs (char *buf, renameargs *argp)
void pr_linkargs (char *buf, linkargs *argp)
void pr_symlinkargs (char *buf, symlinkargs *argp)
void pr_readdirargs (char *buf, readdirargs *argp)
void pr_attrstat (char *buf, attrstat *argp)
void pr_diropres (char *buf, diropres *argp)
void pr_readlinkres (char *buf, readlinkres *argp)
void pr_readres (char *buf, readres *argp)
void pr_nfsstat (char *buf, nfsstat *argp)
void pr_readdirres (char *buf, readdirres *argp)
void pr_statfsres (char *buf, statfsres *argp)
VRErrorCode::errorCode errno_to_errorCode (int err)


Define Documentation

#define DBG_ACCESS   0x2000
 

Definition at line 58 of file logging.H.

#define DBG_ALWAYS   0x0000
 

Definition at line 40 of file logging.H.

Referenced by VDirChangeable::checkMutableSidref(), VForward::checkpoint(), VestaAttribsRep::checkpoint(), VDirVolatileRoot::checkpoint(), VDirEvaluator::checkpoint(), VDirChangeable::checkpoint(), ShortIdRefCount::Compare(), DeleteAllShortIdsBut(), do_cow(), GlueInit(), VMemPool::grow(), VMemPool::init(), KeepDerived(), VDirEvaluator::list(), VDirEvaluator::lookup(), main(), mallocfailed(), VDirChangeable::mark(), MastershipInit1(), MutableSidrefInit(), VDirEvaluator::purge(), VMemPool::readCheckpoint(), Repos::errno_to_errorCode(), ShortIdFailure(), ShortIdReceptionist(), ShortIdServerExport(), ShortIdServerInit(), SourceWeed(), VestaSourceFailure(), VestaSourceReceptionist(), VestaSourceServerExport(), VSAtomic(), and xlate_errno().

#define DBG_COW   0x1000
 

Definition at line 57 of file logging.H.

Referenced by do_cow().

#define DBG_FDCACHE   0x0004
 

Definition at line 43 of file logging.H.

Referenced by FdCache::PartialCache::close(), FdCache::PartialCache::fdiDeleteNL(), FdCache::PartialCache::flush(), FdCache::PartialCache::open(), and FdCache::PartialCache::tryopen().

#define DBG_MASTERSHIP   0x0800
 

Definition at line 55 of file logging.H.

Referenced by AcquireMastership(), and VestaSource::cedeMastership().

#define DBG_NFS   0x0002
 

Definition at line 42 of file logging.H.

Referenced by nfs_dispatch(), Repos::log_call(), and Repos::log_result().

#define DBG_NOWEEDREC   0x0080
 

Definition at line 48 of file logging.H.

Referenced by main().

#define DBG_REPLICATION   0x4000
 

Definition at line 59 of file logging.H.

#define DBG_SAVECORE   0x0200
 

Definition at line 50 of file logging.H.

Referenced by main().

#define DBG_SIDDEL   0x0010
 

Definition at line 45 of file logging.H.

#define DBG_SIDDISP   0x0008
 

Definition at line 44 of file logging.H.

#define DBG_SIDNODEL   0x0020
 

Definition at line 46 of file logging.H.

#define DBG_SRPC   0x0001
 

Definition at line 41 of file logging.H.

Referenced by nfsd_nfsproc_write_2(), ShortIdFailure(), and VestaSourceFailure().

#define DBG_STALENFS   0x0400
 

Definition at line 54 of file logging.H.

#define DBG_VDIREVAL   0x0040
 

Definition at line 47 of file logging.H.

Referenced by VDirEvaluator::lookup(), and VDirEvaluator::lookupIndex().

#define DBG_VMEMPOOL   0x0100
 

Definition at line 49 of file logging.H.

Referenced by VDirChangeable::printStats().


Function Documentation

void Repos::dprintf int  level,
const char *  fmt,
  ...
 

Referenced by AcquireMastership(), VestaSource::cedeMastership(), VDirChangeable::checkMutableSidref(), VForward::checkpoint(), VestaAttribsRep::checkpoint(), VDirVolatileRoot::checkpoint(), VDirEvaluator::checkpoint(), VDirChangeable::checkpoint(), CheckpointServer(), ShortIdRefCount::Compare(), DeleteAllShortIdsBut(), do_cow(), DoDeletions(), FdCache::PartialCache::close(), FdCache::PartialCache::fdiDeleteNL(), FdCache::PartialCache::flush(), FdCache::PartialCache::open(), FdCache::PartialCache::tryopen(), GlueInit(), VMemPool::grow(), VMemPool::init(), KeepDerived(), VDirEvaluator::list(), VDirEvaluator::lookup(), VDirEvaluator::lookupIndex(), main(), mallocfailed(), VDirChangeable::mark(), MastershipInit1(), MutableSidrefInit(), nfs_dispatch(), nfsd_nfsproc_write_2(), VDirChangeable::printStats(), VDirEvaluator::purge(), VMemPool::readCheckpoint(), Replicate(), ReplicateAttribs(), Repos::errno_to_errorCode(), Repos::log_call(), Repos::log_result(), ShortIdFailure(), ShortIdReceptionist(), ShortIdServerExport(), ShortIdServerInit(), SourceWeed(), VestaSourceFailure(), VestaSourceReceptionist(), VestaSourceServerExport(), VSAtomic(), and xlate_errno().

VRErrorCode::errorCode Repos::errno_to_errorCode int  err  ) 
 

Referenced by VLeaf::read(), VLeaf::setExecutable(), VLeaf::setSize(), VLeaf::setTimestamp(), and VLeaf::write().

int Repos::isDebugLevel int  level  ) 
 

Referenced by VestaSource::cedeMastership(), do_cow(), main(), Repos::log_call(), Repos::log_result(), ShortIdFailure(), and VestaSourceFailure().

void Repos::log_call struct svc_req *  rqstp,
struct dispatch_entry dent,
union argument_types argument
 

Referenced by nfs_dispatch().

void Repos::log_result struct svc_req *  rqstp,
struct dispatch_entry dent,
union result_types result
 

Referenced by nfs_dispatch().

void Repos::pr_attrstat char *  buf,
attrstat *  argp
 

void Repos::pr_createargs char *  buf,
createargs *  argp
 

void Repos::pr_diropargs char *  buf,
diropargs *  argp
 

void Repos::pr_diropres char *  buf,
diropres *  argp
 

void Repos::pr_linkargs char *  buf,
linkargs *  argp
 

void Repos::pr_nfs_fh char *  buf,
nfs_fh *  argp
 

Referenced by VestaSource::cedeMastership(), VDirEvaluator::list(), VDirEvaluator::lookup(), Repos::pr_createargs(), Repos::pr_diropargs(), Repos::pr_diropres(), Repos::pr_readargs(), Repos::pr_readdirargs(), Repos::pr_renameargs(), Repos::pr_sattrargs(), and Repos::pr_writeargs().

void Repos::pr_nfsstat char *  buf,
nfsstat *  argp
 

void Repos::pr_readargs char *  buf,
readargs *  argp
 

void Repos::pr_readdirargs char *  buf,
readdirargs *  argp
 

void Repos::pr_readdirres char *  buf,
readdirres *  argp
 

void Repos::pr_readlinkres char *  buf,
readlinkres *  argp
 

void Repos::pr_readres char *  buf,
readres *  argp
 

void Repos::pr_renameargs char *  buf,
renameargs *  argp
 

void Repos::pr_sattrargs char *  buf,
sattrargs *  argp
 

void Repos::pr_statfsres char *  buf,
statfsres *  argp
 

void Repos::pr_symlinkargs char *  buf,
symlinkargs *  argp
 

void Repos::pr_void char *  buf  ) 
 

void Repos::pr_writeargs char *  buf,
writeargs *  argp
 

void Repos::setDebugLevel int  level  ) 
 

Referenced by main().


Generated on Mon May 8 00:49:04 2006 for Vesta by  doxygen 1.4.2