|
xrootd
|
#include <XrdOssPath.hh>
Classes | |
| struct | fnInfo |
Public Types | |
| enum | theSfx { isBase =0, isAnew =1, sfxMigF =1, isFail =2, isLock =3, isPin =4, sfxMigL =4, sfxMemF =4, isMkeep =5, isMlock =6, isMmap =7, sfxMemL =7, isPfn =8, sfxLast =8, sfxNum =9 } |
Public Member Functions | |
| XrdOssPath () | |
| ~XrdOssPath () | |
Static Public Member Functions | |
| static int | Convert (char *dst, int dln, const char *oldP, const char *newP) |
| static const char * | Extract (char *path, char *lbuf, int &lbsz) |
| static char * | genPath (const char *inPath, const char *cgrp, char *sfx) |
| static char * | genPFN (fnInfo &Info, char *buff, int blen, const char *Path=0) |
| static char * | genPFN (char *dst, int dln, const char *src) |
| static int | getCname (const char *path, char *Cache, char *lbuf=0, int lbsz=0) |
| static int | isXA (const char *path) |
| static theSfx | pathType (const char *Path, int chkWhat=chkAll) |
| static void | Trim2Base (char *eP) |
Static Public Attributes | |
| static const char | xChar = '%' |
| static const int | sfxLen = 4 |
| static const char * | Sfx [sfxNum] |
| static const int | chkMem = 0x01 |
| static const int | chkMig = 0x02 |
| static const int | chkPfn = 0x04 |
| static const int | chkAll = 0x07 |
Static Private Member Functions | |
| static char * | bin2hex (char *inbuff, int dlen, char *buff) |
| static int | Init (char *pfnPfx) |
| static char * | posCname (char *lbuf, int lbsz, int &cnsz) |
Static Private Attributes | |
| static char | h2c [16] |
| enum XrdOssPath::theSfx |
|
inline |
|
inline |
|
staticprivate |
|
static |
References xChar, and XrdOssTAMP.
Referenced by XrdOssSys::RenameLink().
|
static |
References lstat(), posCname(), stat(), and xChar.
Referenced by XrdCnsLogServer::Massage(), and XrdCnsInventory::Xref().
|
static |
References h2c, XrdOssSpace::minSNbsz, and xChar.
Referenced by XrdFrmAdmin::AuditSpaceXA(), XrdFrmAdmin::AuditSpaceXB(), XrdFrmAdmin::AuditUsageXA(), and XrdOssCache_FS::XrdOssCache_FS().
|
static |
References bin2hex(), h2c, Init(), XrdSysMutex::Lock(), XrdOssPath::fnInfo::Path, Path, XrdOssPath::fnInfo::Plen, XrdOssPath::fnInfo::Sfx, sfxLen, XrdOssPath::fnInfo::Slash, XrdSysMutex::UnLock(), and XrdOssTAMP.
Referenced by XrdOssCache::Alloc(), XrdFrmAdmin::AuditSpaceAX(), and XrdFrmAdmin::o2nSpace().
|
static |
References xChar.
|
static |
References lstat(), posCname(), stat(), and xChar.
Referenced by XrdFrmPurge::Add(), XrdOssSys::getCname(), XrdFrmAdmin::QuerySpace(), XrdFrmAdmin::Reloc(), and XrdOssSys::Reloc().
|
inlinestatic |
References xChar.
Referenced by XrdOssSys::Reloc().
|
static |
References chkAll, chkMem, chkMig, isBase, Sfx, sfxLast, sfxMemF, sfxMemL, and sfxMigL.
Referenced by XrdCnsInventory::Conduct(), XrdFrmFiles::Process(), and XrdFrmAdmin::UnlinkFile().
|
staticprivate |
References XrdOssSpace::maxSNlen, and xChar.
Referenced by Extract(), and getCname().
|
static |
References xChar.
Referenced by XrdOssCache::Adjust(), XrdOssSys::BreakLink(), XrdOssCache::Find(), and XrdOssSys::RenameLink().
|
static |
Referenced by pathType().
|
static |
Referenced by pathType().
|
static |
Referenced by pathType().
|
static |
|
staticprivate |
|
static |
Referenced by pathType(), XrdOssSys::Rename(), and XrdOssSys::Unlink().
|
static |
Referenced by genPFN().
|
static |
Referenced by XrdOssSys::BreakLink(), Convert(), Extract(), genPath(), genPFN(), getCname(), isXA(), XrdFrmAdmin::isXA(), XrdFrmAdmin::o2nSpace(), posCname(), XrdOssSys::RenameLink(), and Trim2Base().
1.8.3.1