xrootd
Loading...
Searching...
No Matches
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::XrdOssCache ( )
inline

◆ ~XrdOssCache()

XrdOssCache::~XrdOssCache ( )
inline

Member Function Documentation

◆ Adjust() [1/3]

static void XrdOssCache::Adjust ( const char *  Path,
off_t  size,
struct stat buf = 0 
)
static

◆ Adjust() [2/3]

static void XrdOssCache::Adjust ( dev_t  devid,
off_t  size 
)
static

◆ Adjust() [3/3]

static void XrdOssCache::Adjust ( XrdOssCache_FS fsp,
off_t  size 
)
static

◆ Alloc()

static int XrdOssCache::Alloc ( allocInfo aInfo)
static

◆ DevInfo()

static void XrdOssCache::DevInfo ( struct stat buf,
bool  limits = false 
)
static

◆ Find()

static XrdOssCache_FS * XrdOssCache::Find ( const char *  Path,
int  lklen = 0 
)
static

◆ Init() [1/2]

static int XrdOssCache::Init ( const char *  UDir,
const char *  Qfile,
int  isSOL,
int  usync = 0 
)
static

◆ Init() [2/2]

static int XrdOssCache::Init ( long long  aMin,
int  ovhd,
int  aFuzz 
)
static

◆ List()

static void XrdOssCache::List ( const char *  lname,
XrdSysError Eroute 
)
static

◆ MapDevs()

static void XrdOssCache::MapDevs ( bool  dBug = false)
static

◆ MapDM()

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

◆ Parse()

static char * XrdOssCache::Parse ( const char *  token,
char *  cbuff,
int  cblen 
)
static

◆ Scan()

static void * XrdOssCache::Scan ( int  cscanint)
static

Member Data Documentation

◆ fsCount

int XrdOssCache::fsCount
static

◆ fsdata

XrdOssCache_FSData* XrdOssCache::fsdata
static

◆ fsfirst

XrdOssCache_FS* XrdOssCache::fsfirst
static

◆ fsFree

long long XrdOssCache::fsFree
static

◆ fsLarge

long long XrdOssCache::fsLarge
static

◆ fslast

XrdOssCache_FS* XrdOssCache::fslast
static

◆ fsSize

long long XrdOssCache::fsSize
static

◆ fsTotal

long long XrdOssCache::fsTotal
static

◆ fsTotFr

long long XrdOssCache::fsTotFr
static

◆ fuzAlloc

double XrdOssCache::fuzAlloc
staticprivate

◆ minAlloc

long long XrdOssCache::minAlloc
staticprivate

◆ Mutex

XrdSysMutex XrdOssCache::Mutex
static

◆ ovhAlloc

int XrdOssCache::ovhAlloc
staticprivate

◆ Quotas

int XrdOssCache::Quotas
staticprivate

◆ Usage

int XrdOssCache::Usage
staticprivate

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