|
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 stat(), XrdSfsp, mmAddr, FileMode, AsyncMode, ID, FileID, readCnt, writeCnt, XrdSfsFile::fctl(), SFS_FCTL_GETFD, XrdSfsFile::error, SFS_OK, fdNum, XrdOucErrInfo::getErrInfo(), sfEnabled, sfOK, XrdSfsFile::getMmap(), isMMapped, fSize, XrdSfsFile::stat(), bin2hex(), and FileKey.
| XrdXrootdFile::~XrdXrootdFile | ( | ) |
References XrdSfsp, Locker, XrdXrootdFileLock::Unlock(), TRACING, TRACE_FS, XrdSfsFile::FName(), TRACEI, and FileMode.
| 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 XrdXrootdFile(), XrdXrootdProtocol::do_ReadAll(), and XrdXrootdProtocol::do_Write().
Referenced by XrdXrootdFile(), and XrdXrootdProtocol::do_ReadAll().
| char XrdXrootdFile::FileKey[34] |
Referenced by XrdXrootdFile(), XrdXrootdFileLock1::Lock(), XrdXrootdFileLock1::numLocks(), and XrdXrootdFileLock1::Unlock().
Referenced by XrdXrootdFile(), ~XrdXrootdFile(), XrdXrootdFileLock1::Lock(), and XrdXrootdFileLock1::Unlock().
| long long XrdXrootdFile::fSize |
Referenced by XrdXrootdFile(), and XrdXrootdProtocol::do_ReadAll().
| char* XrdXrootdFile::ID |
Referenced by XrdXrootdFile().
Referenced by XrdXrootdFile(), and XrdXrootdProtocol::do_ReadAll().
XrdXrootdFileLock * XrdXrootdFile::Locker [static, private] |
Referenced by ~XrdXrootdFile(), and Init().
| char* XrdXrootdFile::mmAddr |
Referenced by XrdXrootdFile(), and XrdXrootdProtocol::do_ReadAll().
| long long XrdXrootdFile::readCnt |
| char XrdXrootdFile::Reserved[2] |
Referenced by XrdXrootdFile(), and XrdXrootdProtocol::do_ReadAll().
int XrdXrootdFile::sfOK = 1 [static, private] |
Referenced by XrdXrootdFile(), and Init().
const char * XrdXrootdFile::TraceID = "File" [static, private] |
| long long XrdXrootdFile::writeCnt |
Referenced by XrdXrootdAioReq::endWrite(), XrdXrootdFile(), XrdXrootdProtocol::do_Close(), and XrdXrootdProtocol::do_Write().
Referenced by XrdXrootdAioReq::Read(), XrdXrootdAioReq::Write(), XrdXrootdAioReq::sendError(), XrdXrootdFile(), ~XrdXrootdFile(), 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(), and XrdXrootdProtocol::aio_Error().
1.7.5