CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compat::chunk_tables_v3::ChunkTables Struct Reference

#include <compat.h>

Collaboration diagram for compat::chunk_tables_v3::ChunkTables:

Public Member Functions

 ChunkTables ()
 
 ~ChunkTables ()
 
 ChunkTables (const ChunkTables &other)
 
ChunkTablesoperator= (const ChunkTables &other)
 
void CopyFrom (const ChunkTables &other)
 
void InitLocks ()
 
void InitHashmaps ()
 
pthread_mutex_t * Handle2Lock (const uint64_t handle) const
 
void Lock ()
 
void Unlock ()
 

Public Attributes

int version
 
SmallHashDynamic< uint64_t,::ChunkFdhandle2fd
 
BigVector< pthread_mutex_t * > handle_locks
 
SmallHashDynamic< uint64_t,
FileChunkReflist
inode2chunks
 
SmallHashDynamic< uint64_t,
uint32_t > 
inode2references
 
uint64_t next_handle
 
pthread_mutex_t * lock
 

Static Public Attributes

static const unsigned kNumHandleLocks = 128
 

Detailed Description

Definition at line 958 of file compat.h.

Constructor & Destructor Documentation

compat::chunk_tables_v3::ChunkTables::ChunkTables ( )
inline

Definition at line 959 of file compat.h.

Here is the call graph for this function:

ChunkTables::~ChunkTables ( )

Definition at line 265 of file compat.cc.

compat::chunk_tables_v3::ChunkTables::ChunkTables ( const ChunkTables other)
inline

Definition at line 961 of file compat.h.

Here is the call graph for this function:

Member Function Documentation

void compat::chunk_tables_v3::ChunkTables::CopyFrom ( const ChunkTables other)
inline

Definition at line 963 of file compat.h.

Here is the call graph for this function:

pthread_mutex_t* compat::chunk_tables_v3::ChunkTables::Handle2Lock ( const uint64_t  handle) const
inline

Definition at line 966 of file compat.h.

Here is the call graph for this function:

void compat::chunk_tables_v3::ChunkTables::InitHashmaps ( )
inline

Definition at line 965 of file compat.h.

Here is the call graph for this function:

void compat::chunk_tables_v3::ChunkTables::InitLocks ( )
inline

Definition at line 964 of file compat.h.

Here is the call graph for this function:

void compat::chunk_tables_v3::ChunkTables::Lock ( )
inline

Definition at line 967 of file compat.h.

Here is the call graph for this function:

ChunkTables& compat::chunk_tables_v3::ChunkTables::operator= ( const ChunkTables other)
inline

Definition at line 962 of file compat.h.

Here is the call graph for this function:

void compat::chunk_tables_v3::ChunkTables::Unlock ( )
inline

Definition at line 968 of file compat.h.

Here is the call graph for this function:

Member Data Documentation

SmallHashDynamic<uint64_t, ::ChunkFd> compat::chunk_tables_v3::ChunkTables::handle2fd

Definition at line 972 of file compat.h.

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

BigVector<pthread_mutex_t *> compat::chunk_tables_v3::ChunkTables::handle_locks

Definition at line 975 of file compat.h.

SmallHashDynamic<uint64_t, FileChunkReflist> compat::chunk_tables_v3::ChunkTables::inode2chunks

Definition at line 976 of file compat.h.

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

SmallHashDynamic<uint64_t, uint32_t> compat::chunk_tables_v3::ChunkTables::inode2references

Definition at line 977 of file compat.h.

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

const unsigned compat::chunk_tables_v3::ChunkTables::kNumHandleLocks = 128
static

Definition at line 971 of file compat.h.

pthread_mutex_t* compat::chunk_tables_v3::ChunkTables::lock

Definition at line 979 of file compat.h.

uint64_t compat::chunk_tables_v3::ChunkTables::next_handle

Definition at line 978 of file compat.h.

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

int compat::chunk_tables_v3::ChunkTables::version

Definition at line 970 of file compat.h.


The documentation for this struct was generated from the following files: