|
xrootd
|
#include <XrdXrootdFile.hh>

Public Member Functions | |
| XrdXrootdFile (char *id, XrdSfsFile *fp, char mode='r', char async='\0', int sfOK=0, struct stat *sP=0) | |
| ~XrdXrootdFile () | |
Static Public Member Functions | |
| static void | Init (XrdXrootdFileLock *lp, int sfok) |
Public Attributes | |
| XrdSfsFile * | XrdSfsp |
| char * | mmAddr |
| long long | fSize |
| int | fdNum |
| kXR_unt32 | FileID |
| char | FileKey [34] |
| char | Reserved [2] |
| char | FileMode |
| char | AsyncMode |
| char | isMMapped |
| char | sfEnabled |
| char * | ID |
| long long | readCnt |
| long long | writeCnt |
Private Member Functions | |
| int | bin2hex (char *outbuff, char *inbuff, int inlen) |
Static Private Attributes | |
| static XrdXrootdFileLock * | Locker |
| static int | sfOK = 1 |
| static const char * | TraceID = "File" |
| XrdXrootdFile::XrdXrootdFile | ( | char * | id, |
| XrdSfsFile * | fp, | ||
| char | mode = 'r', |
||
| char | async = '\0', |
||
| int | sfOK = 0, |
||
| struct stat * | sP = 0 |
||
| ) |
References AsyncMode, bin2hex(), XrdSfsFile::error, XrdSfsFile::fctl(), fdNum, FileID, FileKey, FileMode, fSize, XrdOucErrInfo::getErrInfo(), XrdSfsFile::getMmap(), ID, isMMapped, mmAddr, readCnt, sfEnabled, sfOK, SFS_FCTL_GETFD, SFS_OK, XrdSfsFile::stat(), stat(), writeCnt, and XrdSfsp.
| XrdXrootdFile::~XrdXrootdFile | ( | ) |
References FileMode, XrdSfsFile::FName(), Locker, TRACE_FS, TRACEI, TRACING, XrdXrootdFileLock::Unlock(), and XrdSfsp.
| int XrdXrootdFile::bin2hex | ( | char * | outbuff, |
| char * | inbuff, | ||
| int | inlen | ||
| ) | [private] |
Referenced by XrdXrootdFile().
| static void XrdXrootdFile::Init | ( | XrdXrootdFileLock * | lp, |
| int | sfok | ||
| ) | [inline, static] |
Referenced by XrdXrootdProtocol::Configure().
Referenced by XrdXrootdProtocol::do_ReadAll(), XrdXrootdProtocol::do_Write(), and XrdXrootdFile().
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
| char XrdXrootdFile::FileKey[34] |
Referenced by XrdXrootdFileLock1::Lock(), XrdXrootdFileLock1::numLocks(), XrdXrootdFileLock1::Unlock(), and XrdXrootdFile().
Referenced by XrdXrootdFileLock1::Lock(), XrdXrootdFileLock1::Unlock(), XrdXrootdFile(), and ~XrdXrootdFile().
| long long XrdXrootdFile::fSize |
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
| char* XrdXrootdFile::ID |
Referenced by XrdXrootdFile().
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
XrdXrootdFileLock * XrdXrootdFile::Locker [static, private] |
Referenced by Init(), and ~XrdXrootdFile().
| char* XrdXrootdFile::mmAddr |
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
| long long XrdXrootdFile::readCnt |
| char XrdXrootdFile::Reserved[2] |
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
int XrdXrootdFile::sfOK = 1 [static, private] |
Referenced by Init(), and XrdXrootdFile().
const char * XrdXrootdFile::TraceID = "File" [static, private] |
| long long XrdXrootdFile::writeCnt |
Referenced by XrdXrootdProtocol::do_Close(), XrdXrootdProtocol::do_Write(), XrdXrootdAioReq::endWrite(), and XrdXrootdFile().
Referenced by XrdXrootdProtocol::aio_Error(), XrdXrootdProtocol::do_Close(), XrdXrootdProtocol::do_Open(), XrdXrootdProtocol::do_Qfh(), XrdXrootdProtocol::do_ReadAll(), XrdXrootdProtocol::do_ReadNone(), XrdXrootdProtocol::do_ReadV(), XrdXrootdProtocol::do_Sync(), XrdXrootdProtocol::do_Truncate(), XrdXrootdProtocol::do_WriteAll(), XrdXrootdProtocol::do_WriteCont(), XrdXrootdProtocol::do_WriteNone(), XrdXrootdAioReq::Read(), XrdXrootdAioReq::sendError(), XrdXrootdAioReq::Write(), XrdXrootdFile(), and ~XrdXrootdFile().
1.7.3