CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{cvmfs_cache_posix.cc} Namespace Reference

Classes

struct  CacheObject
 
struct  Txn
 
struct  Listing
 
struct  Settings
 

Functions

Settings GetSettings (cvmcache_option_map *options)
 
uint32_t cvmcache_hash_hasher (const struct cvmcache_hash &key)
 
uint32_t uint64_hasher (const uint64_t &key)
 
shash::Any Chash2Cpphash (const struct cvmcache_hash *h)
 
struct cvmcache_hash Cpphash2Chash (const shash::Any &hash)
 
int posix_chrefcnt (struct cvmcache_hash *id, int32_t change_by)
 
int posix_obj_info (struct cvmcache_hash *id, struct cvmcache_object_info *info)
 
int posix_pread (struct cvmcache_hash *id, uint64_t offset, uint32_t *size, unsigned char *buffer)
 
int posix_start_txn (struct cvmcache_hash *id, uint64_t txn_id, struct cvmcache_object_info *info)
 
int posix_write_txn (uint64_t txn_id, unsigned char *buffer, uint32_t size)
 
int posix_commit_txn (uint64_t txn_id)
 
int posix_abort_txn (uint64_t txn_id)
 
int posix_info (struct cvmcache_info *info)
 
int posix_breadcrumb_store (const char *fqrn, const cvmcache_breadcrumb *breadcrumb)
 
int posix_breadcrumb_load (const char *fqrn, cvmcache_breadcrumb *breadcrumb)
 
void handle_sigint (int sig)
 

Variables

SmallHashDynamic< struct
cvmcache_hash, CacheObject > * 
g_opened_objects
 
SmallHashDynamic< uint64_t, Txn > * g_transactions
 
SmallHashDynamic< uint64_t,
Listing > * 
g_listings
 
PosixCacheManagerg_cache_mgr
 
cvmcache_contextg_ctx
 
atomic_int32 g_terminated
 
uint64_t g_pinned_size
 
uint64_t g_used_size
 
uint64_t g_capacity
 

Function Documentation

uint32_t anonymous_namespace{cvmfs_cache_posix.cc}::cvmcache_hash_hasher ( const struct cvmcache_hash key)

Definition at line 132 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the caller graph for this function:

Settings anonymous_namespace{cvmfs_cache_posix.cc}::GetSettings ( cvmcache_option_map options)

Definition at line 95 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void anonymous_namespace{cvmfs_cache_posix.cc}::handle_sigint ( int  sig)

Definition at line 345 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_abort_txn ( uint64_t  txn_id)

Definition at line 304 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_breadcrumb_load ( const char *  fqrn,
cvmcache_breadcrumb breadcrumb 
)

Definition at line 334 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_breadcrumb_store ( const char *  fqrn,
const cvmcache_breadcrumb breadcrumb 
)

Definition at line 324 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_chrefcnt ( struct cvmcache_hash id,
int32_t  change_by 
)

Definition at line 165 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_commit_txn ( uint64_t  txn_id)

Definition at line 273 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_info ( struct cvmcache_info info)

Definition at line 316 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_obj_info ( struct cvmcache_hash id,
struct cvmcache_object_info info 
)

Definition at line 199 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_pread ( struct cvmcache_hash id,
uint64_t  offset,
uint32_t *  size,
unsigned char *  buffer 
)

Definition at line 210 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_start_txn ( struct cvmcache_hash id,
uint64_t  txn_id,
struct cvmcache_object_info info 
)

Definition at line 227 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int anonymous_namespace{cvmfs_cache_posix.cc}::posix_write_txn ( uint64_t  txn_id,
unsigned char *  buffer,
uint32_t  size 
)

Definition at line 259 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t anonymous_namespace{cvmfs_cache_posix.cc}::uint64_hasher ( const uint64_t &  key)

Definition at line 136 of file cvmfs_cache_posix.cc.

Referenced by main().

Here is the caller graph for this function:

Variable Documentation

uint64_t anonymous_namespace{cvmfs_cache_posix.cc}::g_capacity

Definition at line 163 of file cvmfs_cache_posix.cc.

Referenced by main(), and posix_info().

cvmcache_context* anonymous_namespace{cvmfs_cache_posix.cc}::g_ctx

Definition at line 159 of file cvmfs_cache_posix.cc.

Referenced by handle_sigint(), and main().

SmallHashDynamic<uint64_t, Listing>* anonymous_namespace{cvmfs_cache_posix.cc}::g_listings

Definition at line 157 of file cvmfs_cache_posix.cc.

Referenced by main().

SmallHashDynamic<struct cvmcache_hash, CacheObject>* anonymous_namespace{cvmfs_cache_posix.cc}::g_opened_objects
uint64_t anonymous_namespace{cvmfs_cache_posix.cc}::g_pinned_size

Definition at line 161 of file cvmfs_cache_posix.cc.

Referenced by main(), posix_chrefcnt(), posix_commit_txn(), and posix_info().

atomic_int32 anonymous_namespace{cvmfs_cache_posix.cc}::g_terminated

Definition at line 160 of file cvmfs_cache_posix.cc.

Referenced by handle_sigint(), and main().

SmallHashDynamic<uint64_t, Txn>* anonymous_namespace{cvmfs_cache_posix.cc}::g_transactions
uint64_t anonymous_namespace{cvmfs_cache_posix.cc}::g_used_size

Definition at line 162 of file cvmfs_cache_posix.cc.

Referenced by main(), posix_commit_txn(), and posix_info().