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

#include <compat.h>

Collaboration diagram for compat::inode_tracker_v3::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 = 3
 

Detailed Description

Definition at line 765 of file compat.h.

Constructor & Destructor Documentation

compat::inode_tracker_v3::InodeTracker::InodeTracker ( )
inline

Definition at line 779 of file compat.h.

Here is the call graph for this function:

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

Definition at line 780 of file compat.h.

Here is the call graph for this function:

compat::inode_tracker_v3::InodeTracker::~InodeTracker ( )
inline

Definition at line 782 of file compat.h.

Member Function Documentation

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

Definition at line 818 of file compat.h.

Here is the call graph for this function:

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

Definition at line 810 of file compat.h.

Here is the call graph for this function:

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

Definition at line 796 of file compat.h.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 777 of file compat.h.

Here is the call graph for this function:

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

Definition at line 817 of file compat.h.

Here is the call graph for this function:

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

Definition at line 819 of file compat.h.

Here is the call graph for this function:

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

Definition at line 781 of file compat.h.

Here is the call graph for this function:

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

Definition at line 820 of file compat.h.

Here is the call graph for this function:

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

Definition at line 790 of file compat.h.

Here is the call graph for this function:

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

Definition at line 786 of file compat.h.

Here is the call graph for this function:

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

Definition at line 793 of file compat.h.

Here is the call graph for this function:

Member Data Documentation

InodeMap compat::inode_tracker_v3::InodeTracker::inode_map_

Definition at line 825 of file compat.h.

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

InodeReferences compat::inode_tracker_v3::InodeTracker::inode_references_

Definition at line 826 of file compat.h.

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

const unsigned compat::inode_tracker_v3::InodeTracker::kVersion = 3
static

Definition at line 815 of file compat.h.

pthread_mutex_t* compat::inode_tracker_v3::InodeTracker::lock_

Definition at line 823 of file compat.h.

Referenced by ~InodeTracker().

PathMap compat::inode_tracker_v3::InodeTracker::path_map_

Definition at line 824 of file compat.h.

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

Statistics compat::inode_tracker_v3::InodeTracker::statistics_

Definition at line 827 of file compat.h.

unsigned compat::inode_tracker_v3::InodeTracker::version_

Definition at line 822 of file compat.h.


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