CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compat::inode_tracker_v2::InodeTracker Class Reference

#include <compat.h>

Collaboration diagram for compat::inode_tracker_v2::InodeTracker:

Classes

struct  Statistics
 

Public Member Functions

Statistics GetStatistics ()
 
 InodeTracker ()
 
 InodeTracker (const InodeTracker &other)
 
InodeTrackeroperator= (const InodeTracker &other)
 
 ~InodeTracker ()
 
void VfsGetBy (const uint64_t inode, const uint32_t by, const PathString &path)
 
void VfsGet (const uint64_t inode, const PathString &path)
 
void VfsPut (const uint64_t inode, const uint32_t by)
 
bool FindPath (const uint64_t inode, PathString *path)
 
uint64_t FindInode (const PathString &path)
 
void InitLock ()
 
void CopyFrom (const InodeTracker &other)
 
void Lock () const
 
void Unlock () const
 

Public Attributes

unsigned version_
 
pthread_mutex_t * lock_
 
PathMap path_map_
 
InodeMap inode_map_
 
InodeReferences inode_references_
 
Statistics statistics_
 

Static Public Attributes

static const unsigned kVersion = 2
 

Detailed Description

Definition at line 535 of file compat.h.

Constructor & Destructor Documentation

compat::inode_tracker_v2::InodeTracker::InodeTracker ( )
inline

Definition at line 549 of file compat.h.

Here is the call graph for this function:

compat::inode_tracker_v2::InodeTracker::InodeTracker ( const InodeTracker other)
inlineexplicit

Definition at line 550 of file compat.h.

Here is the call graph for this function:

compat::inode_tracker_v2::InodeTracker::~InodeTracker ( )
inline

Definition at line 552 of file compat.h.

Member Function Documentation

void compat::inode_tracker_v2::InodeTracker::CopyFrom ( const InodeTracker other)
inline

Definition at line 588 of file compat.h.

Here is the call graph for this function:

uint64_t compat::inode_tracker_v2::InodeTracker::FindInode ( const PathString path)
inline

Definition at line 580 of file compat.h.

Here is the call graph for this function:

bool compat::inode_tracker_v2::InodeTracker::FindPath ( const uint64_t  inode,
PathString path 
)
inline

Definition at line 566 of file compat.h.

Referenced by compat::inode_tracker_v2::Migrate().

Here is the call graph for this function:

Here is the caller graph for this function:

Statistics compat::inode_tracker_v2::InodeTracker::GetStatistics ( )
inline

Definition at line 547 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v2::InodeTracker::InitLock ( )
inline

Definition at line 587 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v2::InodeTracker::Lock ( ) const
inline

Definition at line 589 of file compat.h.

Here is the call graph for this function:

InodeTracker& compat::inode_tracker_v2::InodeTracker::operator= ( const InodeTracker other)
inline

Definition at line 551 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v2::InodeTracker::Unlock ( ) const
inline

Definition at line 590 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v2::InodeTracker::VfsGet ( const uint64_t  inode,
const PathString path 
)
inline

Definition at line 560 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v2::InodeTracker::VfsGetBy ( const uint64_t  inode,
const uint32_t  by,
const PathString path 
)
inline

Definition at line 556 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v2::InodeTracker::VfsPut ( const uint64_t  inode,
const uint32_t  by 
)
inline

Definition at line 563 of file compat.h.

Here is the call graph for this function:

Member Data Documentation

InodeMap compat::inode_tracker_v2::InodeTracker::inode_map_

Definition at line 595 of file compat.h.

Referenced by FindPath(), and compat::inode_tracker_v2::Migrate().

InodeReferences compat::inode_tracker_v2::InodeTracker::inode_references_

Definition at line 596 of file compat.h.

Referenced by compat::inode_tracker_v2::Migrate().

const unsigned compat::inode_tracker_v2::InodeTracker::kVersion = 2
static

Definition at line 585 of file compat.h.

pthread_mutex_t* compat::inode_tracker_v2::InodeTracker::lock_

Definition at line 593 of file compat.h.

Referenced by ~InodeTracker().

PathMap compat::inode_tracker_v2::InodeTracker::path_map_

Definition at line 594 of file compat.h.

Referenced by FindPath(), and compat::inode_tracker_v2::Migrate().

Statistics compat::inode_tracker_v2::InodeTracker::statistics_

Definition at line 597 of file compat.h.

unsigned compat::inode_tracker_v2::InodeTracker::version_

Definition at line 592 of file compat.h.


The documentation for this class was generated from the following file: