xrootd
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
XrdOssCache Class Reference

#include <XrdOssCache.hh>

Collaboration diagram for XrdOssCache:
Collaboration graph
[legend]

Classes

struct  allocInfo
 

Public Member Functions

 XrdOssCache ()
 
 ~XrdOssCache ()
 

Static Public Member Functions

static void Adjust (dev_t devid, off_t size)
 
static void Adjust (const char *Path, off_t size, struct stat *buf=0)
 
static void Adjust (XrdOssCache_FS *fsp, off_t size)
 
static int Alloc (allocInfo &aInfo)
 
static XrdOssCache_FSFind (const char *Path, int lklen=0)
 
static int Init (const char *UDir, const char *Qfile, int isSOL)
 
static int Init (long long aMin, int ovhd, int aFuzz)
 
static void List (const char *lname, XrdSysError &Eroute)
 
static char * Parse (const char *token, char *cbuff, int cblen)
 
static void * Scan (int cscanint)
 

Static Public Attributes

static XrdSysMutex Mutex
 
static long long fsTotal = 0
 
static long long fsLarge = 0
 
static long long fsTotFr = 0
 
static long long fsFree = 0
 
static long long fsSize = 0
 
static XrdOssCache_FSfsfirst = 0
 
static XrdOssCache_FSfslast = 0
 
static XrdOssCache_FSDatafsdata = 0
 
static int fsCount = 0
 

Static Private Attributes

static long long minAlloc = 0
 
static double fuzAlloc = 0.0
 
static int ovhAlloc = 0
 
static int Quotas = 0
 
static int Usage = 0
 

Constructor & Destructor Documentation

XrdOssCache::XrdOssCache ( )
inline
XrdOssCache::~XrdOssCache ( )
inline

Member Function Documentation

void XrdOssCache::Adjust ( dev_t  devid,
off_t  size 
)
static
void XrdOssCache::Adjust ( const char *  Path,
off_t  size,
struct stat buf = 0 
)
static
void XrdOssCache::Adjust ( XrdOssCache_FS fsp,
off_t  size 
)
static
int XrdOssCache::Alloc ( XrdOssCache::allocInfo aInfo)
static
XrdOssCache_FS * XrdOssCache::Find ( const char *  Path,
int  lklen = 0 
)
static
int XrdOssCache::Init ( const char *  UDir,
const char *  Qfile,
int  isSOL 
)
static
int XrdOssCache::Init ( long long  aMin,
int  ovhd,
int  aFuzz 
)
static

References fuzAlloc, minAlloc, and ovhAlloc.

void XrdOssCache::List ( const char *  lname,
XrdSysError Eroute 
)
static
char * XrdOssCache::Parse ( const char *  token,
char *  cbuff,
int  cblen 
)
static
void * XrdOssCache::Scan ( int  cscanint)
static

Member Data Documentation

int XrdOssCache::fsCount = 0
static
XrdOssCache_FSData * XrdOssCache::fsdata = 0
static
XrdOssCache_FS * XrdOssCache::fsfirst = 0
static
long long XrdOssCache::fsFree = 0
static
long long XrdOssCache::fsLarge = 0
static
XrdOssCache_FS * XrdOssCache::fslast = 0
static
long long XrdOssCache::fsSize = 0
static

Referenced by XrdOssCache_FS::freeSpace(), and Scan().

long long XrdOssCache::fsTotal = 0
static
long long XrdOssCache::fsTotFr = 0
static
double XrdOssCache::fuzAlloc = 0.0
staticprivate

Referenced by Alloc(), and Init().

long long XrdOssCache::minAlloc = 0
staticprivate

Referenced by Alloc(), and Init().

XrdSysMutex XrdOssCache::Mutex
static

Referenced by Adjust(), Alloc(), Scan(), and XrdOssSys::StatVS().

int XrdOssCache::ovhAlloc = 0
staticprivate

Referenced by Alloc(), and Init().

int XrdOssCache::Quotas = 0
staticprivate

Referenced by Init(), and Scan().

int XrdOssCache::Usage = 0
staticprivate

Referenced by Adjust(), Init(), and Scan().


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