/vesta/vestasys.org/vesta/repos/87/src/DirShortId.H File Reference

#include "SourceOrDerived.H"
#include "ShortIdBlock.H"
#include "FP.H"
#include <fstream>

Include dependency graph for DirShortId.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void InitDirShortId () throw ()
ShortId NewDirShortId (const FP::Tag &fptag, Bit32 sp) throw ()
Bit32 GetDirShortId (ShortId sid) throw ()
void SetDirShortId (ShortId sid, Bit32 sp) throw ()
void LogAllDirShortIds (char *tag)
void CheckpointAllDirShortIds (Bit32 &nextSP, std::fstream &ckpt)
void DeleteDirShortId (ShortId sid) throw ()
void DeleteAllDirShortIds () throw ()


Function Documentation

void CheckpointAllDirShortIds ( Bit32 nextSP,
std::fstream &  ckpt 
)

void DeleteAllDirShortIds (  )  throw ()

Definition at line 166 of file DirShortId.C.

References Table< K, V >::Default::Init(), Basics::mutex::lock(), Table< K, V >::Default::Size(), and Basics::mutex::unlock().

Referenced by VMemPool::rebuildDirShortIdTable().

Here is the call graph for this function:

Here is the caller graph for this function:

void DeleteDirShortId ( ShortId  sid  )  throw ()

Definition at line 115 of file DirShortId.C.

References Table< K, V >::Default::Delete(), Basics::mutex::lock(), and Basics::mutex::unlock().

Referenced by VDirChangeable::sweepCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

Bit32 GetDirShortId ( ShortId  sid  )  throw ()

Definition at line 88 of file DirShortId.C.

References Table< K, V >::Default::Get(), Basics::mutex::lock(), DirShortIdInfo::sp, and Basics::mutex::unlock().

Here is the call graph for this function:

void InitDirShortId (  )  throw ()

Definition at line 61 of file DirShortId.C.

References NEW.

Referenced by main().

Here is the caller graph for this function:

void LogAllDirShortIds ( char *  tag  ) 

Definition at line 127 of file DirShortId.C.

References VestaLog::commit(), Basics::mutex::lock(), Table< K, V >::Iterator::Next(), VestaLog::put(), ShortIdKey::sid, VestaLog::start(), Basics::mutex::unlock(), and VRLog.

Here is the call graph for this function:

ShortId NewDirShortId ( const FP::Tag fptag,
Bit32  sp 
) throw ()

Definition at line 70 of file DirShortId.C.

References ShortIdBlock::dirFlag, Table< K, V >::Default::Get(), ShortIdBlock::leafFlag, Basics::mutex::lock(), Table< K, V >::Default::Put(), ShortIdKey::sid, DirShortIdInfo::sp, and Basics::mutex::unlock().

Referenced by VDirChangeable::copyMutableToImmutable(), and VDirChangeable::insertImmutableDirectory().

Here is the call graph for this function:

Here is the caller graph for this function:

void SetDirShortId ( ShortId  sid,
Bit32  sp 
) throw ()

Definition at line 103 of file DirShortId.C.

References Basics::mutex::lock(), Table< K, V >::Default::Put(), DirShortIdInfo::sp, and Basics::mutex::unlock().

Referenced by VDirChangeable::collapse(), and VDirChangeable::rebuildCallback().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Fri May 25 00:20:16 2007 for Vesta by  doxygen 1.5.1