|
XRootD
|
#include <XrdOfsPoscq.hh>
Collaboration diagram for XrdOfsPoscq:Classes | |
| struct | recEnt |
| struct | Request |
Public Member Functions | |
| XrdOfsPoscq (XrdSysError *erp, XrdOss *oss, const char *fn, int sv=1) | |
| ~XrdOfsPoscq () | |
| int | Add (const char *Tident, const char *Lfn, bool isNew) |
| int | Commit (const char *Lfn, int Offset) |
| int | Del (const char *Lfn, int Offset, int Unlink=0) |
| recEnt * | Init (int &Ok) |
| int | Num () |
Static Public Member Functions | |
| static recEnt * | List (XrdSysError *Say, const char *theFN) |
Static Public Attributes | |
| static const int | ReqOffs = 64 |
| static const int | ReqSize = sizeof(Request) |
Definition at line 41 of file XrdOfsPoscq.hh.
| struct XrdOfsPoscq::Request |
Definition at line 45 of file XrdOfsPoscq.hh.
Collaboration diagram for XrdOfsPoscq::Request:| Class Members | ||
|---|---|---|
| long long | addT | |
| char | LFN[1024] | |
| char | Reserved[24] | |
| char | User[288] | |
| XrdOfsPoscq::XrdOfsPoscq | ( | XrdSysError * | erp, |
| XrdOss * | oss, | ||
| const char * | fn, | ||
| int | sv = 1 |
||
| ) |
Definition at line 53 of file XrdOfsPoscq.cc.
|
inline |
Definition at line 80 of file XrdOfsPoscq.hh.
| int XrdOfsPoscq::Add | ( | const char * | Tident, |
| const char * | Lfn, | ||
| bool | isNew | ||
| ) |
Definition at line 72 of file XrdOfsPoscq.cc.
References XrdOfsPoscq::Request::addT, eDest, XrdSysError::Emsg(), XrdOfsPoscq::Request::LFN, XrdSysMutex::Lock(), ReqSize, XrdOfsPoscq::Request::Reserved, Stat, stat, XrdOss::Stat(), strlcpy(), XrdSysMutex::UnLock(), and XrdOfsPoscq::Request::User.
Referenced by XrdOfsFile::open().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdOfsPoscq::Commit | ( | const char * | Lfn, |
| int | Offset | ||
| ) |
Definition at line 132 of file XrdOfsPoscq.cc.
References eDest, XrdSysError::Emsg(), XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
Referenced by XrdOfsFile::open().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdOfsPoscq::Del | ( | const char * | Lfn, |
| int | Offset, | ||
| int | Unlink = 0 |
||
| ) |
Definition at line 159 of file XrdOfsPoscq.cc.
References eDest, XrdSysError::Emsg(), XrdSysMutex::Lock(), XrdOss::Unlink(), and XrdSysMutex::UnLock().
Referenced by XrdOfsFile::close(), XrdOfsFile::open(), and XrdOfs::Unpersist().
Here is the call graph for this function:
Here is the caller graph for this function:| XrdOfsPoscq::recEnt * XrdOfsPoscq::Init | ( | int & | Ok | ) |
Definition at line 207 of file XrdOfsPoscq.cc.
References eDest, XrdSysError::Emsg(), fstat, ftruncate, XrdOfsPoscq::Request::LFN, Mode, pread, ReqOffs, ReqSize, S_IAMB, XrdSysError::Say(), Stat, stat, XrdOss::Stat(), and XRDSFS_POSCPEND.
Here is the call graph for this function:
|
static |
Definition at line 264 of file XrdOfsPoscq.cc.
References close, fstat, XrdOfsPoscq::Request::LFN, pread, ReqOffs, ReqSize, Say, and stat.
|
inline |
Definition at line 76 of file XrdOfsPoscq.hh.
|
static |
Definition at line 53 of file XrdOfsPoscq.hh.
|
static |
Definition at line 54 of file XrdOfsPoscq.hh.