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

#include <compat.h>

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

Constructor & Destructor Documentation

compat::chunk_tables::ChunkTables::ChunkTables ( )
inline

Definition at line 802 of file compat.h.

Here is the call graph for this function:

ChunkTables::~ChunkTables ( )

Definition at line 174 of file compat.cc.

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

Definition at line 804 of file compat.h.

Here is the call graph for this function:

Member Function Documentation

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

Definition at line 806 of file compat.h.

Here is the call graph for this function:

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

Definition at line 809 of file compat.h.

Here is the call graph for this function:

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

Definition at line 808 of file compat.h.

Here is the call graph for this function:

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

Definition at line 807 of file compat.h.

Here is the call graph for this function:

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

Definition at line 810 of file compat.h.

Here is the call graph for this function:

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

Definition at line 805 of file compat.h.

Here is the call graph for this function:

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

Definition at line 811 of file compat.h.

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 815 of file compat.h.

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

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

Definition at line 818 of file compat.h.

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

Definition at line 819 of file compat.h.

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

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

Definition at line 820 of file compat.h.

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

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

Definition at line 814 of file compat.h.

pthread_mutex_t* compat::chunk_tables::ChunkTables::lock

Definition at line 822 of file compat.h.

uint64_t compat::chunk_tables::ChunkTables::next_handle

Definition at line 821 of file compat.h.

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

int compat::chunk_tables::ChunkTables::version

Definition at line 813 of file compat.h.


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