CernVM-FS
2.12.0
|
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 |
PosixCacheManager * | g_cache_mgr |
cvmcache_context * | g_ctx |
atomic_int32 | g_terminated |
uint64_t | g_pinned_size |
uint64_t | g_used_size |
uint64_t | g_capacity |
shash::Any anonymous_namespace{cvmfs_cache_posix.cc}::Chash2Cpphash | ( | const struct cvmcache_hash * | h | ) |
Definition at line 140 of file cvmfs_cache_posix.cc.
Referenced by cvmcache_hash_cmp(), cvmcache_hash_print(), anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::ListingNext(), anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::LoadBreadcrumb(), posix_breadcrumb_store(), posix_chrefcnt(), and posix_start_txn().
struct cvmcache_hash anonymous_namespace{cvmfs_cache_posix.cc}::Cpphash2Chash | ( | const shash::Any & | hash | ) |
Definition at line 147 of file cvmfs_cache_posix.cc.
Referenced by anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::ChangeRefcount(), anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::GetObjectInfo(), posix_breadcrumb_load(), anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::Pread(), anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::StartTxn(), and anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::StoreBreadcrumb().
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().
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().
void anonymous_namespace{cvmfs_cache_posix.cc}::handle_sigint | ( | int | sig | ) |
Definition at line 344 of file cvmfs_cache_posix.cc.
Referenced by main().
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_abort_txn | ( | uint64_t | txn_id | ) |
Definition at line 302 of file cvmfs_cache_posix.cc.
Referenced by main().
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_breadcrumb_load | ( | const char * | fqrn, |
cvmcache_breadcrumb * | breadcrumb | ||
) |
Definition at line 332 of file cvmfs_cache_posix.cc.
Referenced by main().
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_breadcrumb_store | ( | const char * | fqrn, |
const cvmcache_breadcrumb * | breadcrumb | ||
) |
Definition at line 322 of file cvmfs_cache_posix.cc.
Referenced by main().
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().
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_commit_txn | ( | uint64_t | txn_id | ) |
Definition at line 271 of file cvmfs_cache_posix.cc.
Referenced by main().
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_info | ( | struct cvmcache_info * | info | ) |
Definition at line 314 of file cvmfs_cache_posix.cc.
Referenced by main().
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().
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().
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().
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_write_txn | ( | uint64_t | txn_id, |
unsigned char * | buffer, | ||
uint32_t | size | ||
) |
Definition at line 257 of file cvmfs_cache_posix.cc.
Referenced by main().
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().
PosixCacheManager* anonymous_namespace{cvmfs_cache_posix.cc}::g_cache_mgr |
Definition at line 158 of file cvmfs_cache_posix.cc.
Referenced by main(), posix_abort_txn(), posix_breadcrumb_load(), posix_breadcrumb_store(), posix_chrefcnt(), posix_commit_txn(), posix_pread(), posix_start_txn(), and posix_write_txn().
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 |
Definition at line 155 of file cvmfs_cache_posix.cc.
Referenced by main(), posix_chrefcnt(), posix_commit_txn(), posix_obj_info(), and posix_pread().
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 |
Definition at line 156 of file cvmfs_cache_posix.cc.
Referenced by main(), posix_abort_txn(), posix_commit_txn(), posix_start_txn(), and posix_write_txn().
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().