xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | 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 void DevInfo (struct stat &buf, bool limits=false)
 
static XrdOssCache_FSFind (const char *Path, int lklen=0)
 
static int Init (const char *UDir, const char *Qfile, int isSOL, int usync=0)
 
static int Init (long long aMin, int ovhd, int aFuzz)
 
static void List (const char *lname, XrdSysError &Eroute)
 
static void MapDevs (bool dBug=false)
 
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
 
static long long fsLarge
 
static long long fsTotFr
 
static long long fsFree
 
static long long fsSize
 
static XrdOssCache_FSfsfirst
 
static XrdOssCache_FSfslast
 
static XrdOssCache_FSDatafsdata
 
static int fsCount
 

Static Private Member Functions

static bool MapDM (const char *ldm, char *buff, int blen)
 

Static Private Attributes

static long long minAlloc
 
static double fuzAlloc
 
static int ovhAlloc
 
static int Quotas
 
static int Usage
 

Constructor & Destructor Documentation

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

Member Function Documentation

static void XrdOssCache::Adjust ( dev_t  devid,
off_t  size 
)
static
static void XrdOssCache::Adjust ( const char *  Path,
off_t  size,
struct stat buf = 0 
)
static
static void XrdOssCache::Adjust ( XrdOssCache_FS fsp,
off_t  size 
)
static
static int XrdOssCache::Alloc ( allocInfo aInfo)
static
static void XrdOssCache::DevInfo ( struct stat buf,
bool  limits = false 
)
static
static XrdOssCache_FS* XrdOssCache::Find ( const char *  Path,
int  lklen = 0 
)
static
static int XrdOssCache::Init ( const char *  UDir,
const char *  Qfile,
int  isSOL,
int  usync = 0 
)
static
static int XrdOssCache::Init ( long long  aMin,
int  ovhd,
int  aFuzz 
)
static
static void XrdOssCache::List ( const char *  lname,
XrdSysError Eroute 
)
static
static void XrdOssCache::MapDevs ( bool  dBug = false)
static
static bool XrdOssCache::MapDM ( const char *  ldm,
char *  buff,
int  blen 
)
staticprivate
static char* XrdOssCache::Parse ( const char *  token,
char *  cbuff,
int  cblen 
)
static
static void* XrdOssCache::Scan ( int  cscanint)
static

Member Data Documentation

int XrdOssCache::fsCount
static
XrdOssCache_FSData* XrdOssCache::fsdata
static
XrdOssCache_FS* XrdOssCache::fsfirst
static
long long XrdOssCache::fsFree
static
long long XrdOssCache::fsLarge
static
XrdOssCache_FS* XrdOssCache::fslast
static
long long XrdOssCache::fsSize
static
long long XrdOssCache::fsTotal
static
long long XrdOssCache::fsTotFr
static
double XrdOssCache::fuzAlloc
staticprivate
long long XrdOssCache::minAlloc
staticprivate
XrdSysMutex XrdOssCache::Mutex
static
int XrdOssCache::ovhAlloc
staticprivate
int XrdOssCache::Quotas
staticprivate
int XrdOssCache::Usage
staticprivate

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