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

VDirChangeable.C File Reference

#include <assert.h>
#include <stdlib.h>
#include <BufStream.H>
#include "VDirChangeable.H"
#include "VDirEvaluator.H"
#include "VLeaf.H"
#include "VestaLog.H"
#include "VForward.H"
#include "VMemPool.H"
#include "VRConcurrency.H"
#include "VestaAttribsRep.H"
#include "logging.H"
#include "DirShortId.H"
#include "UniqueId.H"
#include "FdCache.H"
#include "VLogHelp.H"
#include "FPShortId.H"
#include "CopyShortId.H"
#include "timing.H"

Go to the source code of this file.

Functions

VestaSourceVDCLookupResult (VDirChangeable *dir, Bit8 *entry, unsigned int index)
bool copyOwnerCallback (void *closure, const char *value)
bool filterListCallback (void *closure, VestaSource::typeTag type, Arc arc, unsigned int index, Bit32 pseudoInode, ShortId filesid, bool mast) throw ()

Variables

const FP::Tag nullFPTag ("")
const FP::Tag uidFPTag ("Textd")
struct {
   unsigned int   entriesInUse
   unsigned int   sizeInUse
   unsigned int   entriesNotInUse
   unsigned int   sizeNotInUse
   unsigned int   sizeSpare
   unsigned int   sizeOverhead
   unsigned int   changeableDirs
   unsigned int   changeableRepBlocks
   unsigned int   immutableDirs
   unsigned int   immutableRepBlocks
   unsigned int   appendableDirs
   unsigned int   appendableRepBlocks
VDCStats


Function Documentation

bool copyOwnerCallback void *  closure,
const char *  value
 

Definition at line 1623 of file VDirChangeable.C.

Referenced by VDirChangeable::renameTo().

bool filterListCallback void *  closure,
VestaSource::typeTag  type,
Arc  arc,
unsigned int  index,
Bit32  pseudoInode,
ShortId  filesid,
bool  mast
throw ()
 

Definition at line 1920 of file VDirChangeable.C.

References FilterListClosure::callback, FilterListClosure::closure, Table< K, V >::Default::Get(), FilterListClosure::hidden, ArcKey::s, and ArcKey::slen.

Referenced by VDirChangeable::list().

VestaSource* VDCLookupResult VDirChangeable dir,
Bit8 entry,
unsigned int  index
 

Definition at line 78 of file VDirChangeable.C.

References VestaSource::ac, LongId::append(), VestaSource::appendableDirectory, VDirChangeable::attribAddr(), VestaAttribs::attribs, VestaSource::deleted, VestaSource::device, VDirChangeable::efptag(), VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VDirChangeable::fptag(), VestaSource::fptag, LongId::fromShortId(), VestaSource::gap, VestaAttribs::getAttribConst(), VDirChangeable::getID(), VDirChangeable::getRefCount(), VestaSource::ghost, AccessControl::group, VestaSource::immutableDirectory, VestaSource::immutableFile, VestaSource::indexToPseudoInode(), LongId::isAncestorOf(), VMemPool::lengthenPointer(), VestaSource::longid, VDirChangeable::masterFlag(), AccessControl::mode, VestaSource::mutableDirectory, VestaSource::mutableFile, NEW_CONSTR, nullFPTag, VestaSource::outdated, AccessControl::owner, AccessControl::parseModeBits(), VestaSource::pseudoInode, RootLongId, VestaSource::shortId(), VDirChangeable::sidref, VestaSource::stub, VDirChangeable::type(), VDirChangeable::value(), VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory.

Referenced by VDirChangeable::copyIndexToMutable(), VDirChangeable::lookup(), VDirChangeable::lookupIndex(), VDirChangeable::makeIndexMutable(), and VDirChangeable::renameTo().


Variable Documentation

unsigned int appendableDirs
 

Definition at line 2850 of file VDirChangeable.C.

unsigned int appendableRepBlocks
 

Definition at line 2851 of file VDirChangeable.C.

unsigned int changeableDirs
 

Definition at line 2846 of file VDirChangeable.C.

unsigned int changeableRepBlocks
 

Definition at line 2847 of file VDirChangeable.C.

unsigned int entriesInUse
 

Definition at line 2840 of file VDirChangeable.C.

unsigned int entriesNotInUse
 

Definition at line 2842 of file VDirChangeable.C.

unsigned int immutableDirs
 

Definition at line 2848 of file VDirChangeable.C.

unsigned int immutableRepBlocks
 

Definition at line 2849 of file VDirChangeable.C.

const FP::Tag nullFPTag("")
 

Referenced by VDirChangeable::copyIndexToMutable(), VDirChangeable::insertFile(), VDirChangeable::insertGhost(), VDirChangeable::insertMutableDirectory(), VDirChangeable::insertMutableFile(), VDirChangeable::insertStub(), VDirEvaluator::lookup(), VDirChangeable::makeIndexMutable(), VDirChangeable::setEntry(), and VDCLookupResult().

unsigned int sizeInUse
 

Definition at line 2841 of file VDirChangeable.C.

unsigned int sizeNotInUse
 

Definition at line 2843 of file VDirChangeable.C.

unsigned int sizeOverhead
 

Definition at line 2845 of file VDirChangeable.C.

unsigned int sizeSpare
 

Definition at line 2844 of file VDirChangeable.C.

const FP::Tag uidFPTag("Textd")
 

Referenced by VDirChangeable::insertFile(), and VDirChangeable::insertMutableFile().

struct { ... } VDCStats
 

Referenced by VDirChangeable::markCallback(), VDirChangeable::printStats(), and VDirChangeable::sweepCallback().


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