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

#include <compat.h>

Collaboration diagram for compat::chunk_tables_v2::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 924 of file compat.h.

Constructor & Destructor Documentation

compat::chunk_tables_v2::ChunkTables::ChunkTables ( )
inline

Definition at line 925 of file compat.h.

Here is the call graph for this function:

ChunkTables::~ChunkTables ( )

Definition at line 219 of file compat.cc.

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

Definition at line 927 of file compat.h.

Here is the call graph for this function:

Member Function Documentation

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

Definition at line 929 of file compat.h.

Here is the call graph for this function:

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

Definition at line 932 of file compat.h.

Here is the call graph for this function:

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

Definition at line 931 of file compat.h.

Here is the call graph for this function:

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

Definition at line 930 of file compat.h.

Here is the call graph for this function:

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

Definition at line 933 of file compat.h.

Here is the call graph for this function:

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

Definition at line 928 of file compat.h.

Here is the call graph for this function:

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

Definition at line 934 of file compat.h.

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 938 of file compat.h.

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

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

Definition at line 941 of file compat.h.

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

Definition at line 942 of file compat.h.

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

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

Definition at line 943 of file compat.h.

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

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

Definition at line 937 of file compat.h.

pthread_mutex_t* compat::chunk_tables_v2::ChunkTables::lock

Definition at line 945 of file compat.h.

uint64_t compat::chunk_tables_v2::ChunkTables::next_handle

Definition at line 944 of file compat.h.

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

int compat::chunk_tables_v2::ChunkTables::version

Definition at line 936 of file compat.h.


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