CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cvmfs_cache_posix.cc File Reference
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <cstring>
#include <string>
#include "atomic.h"
#include "cache_plugin/libcvmfs_cache.h"
#include "cache_posix.h"
#include "logging.h"
#include "smallhash.h"
#include "util/posix.h"
#include "util/string.h"
Include dependency graph for cvmfs_cache_posix.cc:

Go to the source code of this file.

Classes

struct  anonymous_namespace{cvmfs_cache_posix.cc}::CacheObject
 
struct  anonymous_namespace{cvmfs_cache_posix.cc}::Txn
 
struct  anonymous_namespace{cvmfs_cache_posix.cc}::Listing
 
struct  anonymous_namespace{cvmfs_cache_posix.cc}::Settings
 

Namespaces

 anonymous_namespace{cvmfs_cache_posix.cc}
 

Functions

bool operator== (const cvmcache_hash &a, const cvmcache_hash &b)
 
bool operator!= (const cvmcache_hash &a, const cvmcache_hash &b)
 
Settings anonymous_namespace{cvmfs_cache_posix.cc}::GetSettings (cvmcache_option_map *options)
 
uint32_t anonymous_namespace{cvmfs_cache_posix.cc}::cvmcache_hash_hasher (const struct cvmcache_hash &key)
 
uint32_t anonymous_namespace{cvmfs_cache_posix.cc}::uint64_hasher (const uint64_t &key)
 
shash::Any anonymous_namespace{cvmfs_cache_posix.cc}::Chash2Cpphash (const struct cvmcache_hash *h)
 
struct cvmcache_hash anonymous_namespace{cvmfs_cache_posix.cc}::Cpphash2Chash (const shash::Any &hash)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_chrefcnt (struct cvmcache_hash *id, int32_t change_by)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_obj_info (struct cvmcache_hash *id, struct cvmcache_object_info *info)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_pread (struct cvmcache_hash *id, uint64_t offset, uint32_t *size, unsigned char *buffer)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_start_txn (struct cvmcache_hash *id, uint64_t txn_id, struct cvmcache_object_info *info)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_write_txn (uint64_t txn_id, unsigned char *buffer, uint32_t size)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_commit_txn (uint64_t txn_id)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_abort_txn (uint64_t txn_id)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_info (struct cvmcache_info *info)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_breadcrumb_store (const char *fqrn, const cvmcache_breadcrumb *breadcrumb)
 
int anonymous_namespace{cvmfs_cache_posix.cc}::posix_breadcrumb_load (const char *fqrn, cvmcache_breadcrumb *breadcrumb)
 
void anonymous_namespace{cvmfs_cache_posix.cc}::handle_sigint (int sig)
 
int main (int argc, char **argv)
 

Variables

SmallHashDynamic< struct
cvmcache_hash, CacheObject > * 
anonymous_namespace{cvmfs_cache_posix.cc}::g_opened_objects
 
SmallHashDynamic< uint64_t, Txn > * anonymous_namespace{cvmfs_cache_posix.cc}::g_transactions
 
SmallHashDynamic< uint64_t,
Listing > * 
anonymous_namespace{cvmfs_cache_posix.cc}::g_listings
 
PosixCacheManageranonymous_namespace{cvmfs_cache_posix.cc}::g_cache_mgr
 
cvmcache_contextanonymous_namespace{cvmfs_cache_posix.cc}::g_ctx
 
atomic_int32 anonymous_namespace{cvmfs_cache_posix.cc}::g_terminated
 
uint64_t anonymous_namespace{cvmfs_cache_posix.cc}::g_pinned_size
 
uint64_t anonymous_namespace{cvmfs_cache_posix.cc}::g_used_size
 
uint64_t anonymous_namespace{cvmfs_cache_posix.cc}::g_capacity
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 352 of file cvmfs_cache_posix.cc.

Here is the call graph for this function:

bool operator!= ( const cvmcache_hash a,
const cvmcache_hash b 
)

Definition at line 25 of file cvmfs_cache_posix.cc.

bool operator== ( const cvmcache_hash a,
const cvmcache_hash b 
)

This file is part of the CernVM File System.

Definition at line 21 of file cvmfs_cache_posix.cc.