|
xrootd
|
#include <XrdXrootdFile.hh>

Public Member Functions | |
| XrdXrootdFile (const 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 |
| char | FileKey [34] |
| char | Reserved [2] |
| char | FileMode |
| char | AsyncMode |
| char | isMMapped |
| char | sfEnabled |
| int | fdNum |
| const char * | ID |
| XrdXrootdFileStats | Stats |
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 | ( | const 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, FileKey, FileMode, XrdXrootdFileStats::fSize, XrdOucErrInfo::getErrInfo(), XrdSfsFile::getMmap(), ID, XrdXrootdFileStats::Init(), isMMapped, mmAddr, sfEnabled, sfOK, SFS_FCTL_GETFD, SFS_OK, XrdSfsFile::stat(), stat(), Stats, and XrdSfsp.
| XrdXrootdFile::~XrdXrootdFile | ( | ) |
References FileMode, XrdSfsFile::FName(), Locker, TRACE_FS, TRACEI, TRACING, XrdXrootdFileLock::Unlock(), and XrdSfsp.
|
private |
Referenced by XrdXrootdFile().
|
inlinestatic |
Referenced by XrdXrootdProtocol::Configure().
| char XrdXrootdFile::AsyncMode |
Referenced by XrdXrootdProtocol::do_ReadAll(), XrdXrootdProtocol::do_Write(), and XrdXrootdFile().
| int XrdXrootdFile::fdNum |
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
| char XrdXrootdFile::FileKey[34] |
Referenced by XrdXrootdFileLock1::Lock(), XrdXrootdFileLock1::numLocks(), XrdXrootdFileLock1::Unlock(), and XrdXrootdFile().
| char XrdXrootdFile::FileMode |
Referenced by XrdXrootdFileLock1::Lock(), XrdXrootdFileLock1::Unlock(), XrdXrootdFile(), and ~XrdXrootdFile().
| const char* XrdXrootdFile::ID |
Referenced by XrdXrootdFile().
| char XrdXrootdFile::isMMapped |
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
|
staticprivate |
Referenced by Init(), and ~XrdXrootdFile().
| char* XrdXrootdFile::mmAddr |
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
| char XrdXrootdFile::Reserved[2] |
| char XrdXrootdFile::sfEnabled |
Referenced by XrdXrootdProtocol::do_ReadAll(), and XrdXrootdFile().
|
staticprivate |
Referenced by Init(), and XrdXrootdFile().
| XrdXrootdFileStats XrdXrootdFile::Stats |
Referenced by XrdXrootdProtocol::do_Close(), XrdXrootdProtocol::do_Open(), XrdXrootdProtocol::do_Read(), XrdXrootdProtocol::do_ReadAll(), XrdXrootdProtocol::do_ReadV(), XrdXrootdProtocol::do_Write(), XrdXrootdAioReq::endRead(), XrdXrootdAioReq::endWrite(), XrdXrootdFileTable::Recycle(), and XrdXrootdFile().
|
staticprivate |
| XrdSfsFile* XrdXrootdFile::XrdSfsp |
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_Stat(), XrdXrootdProtocol::do_Sync(), XrdXrootdProtocol::do_Truncate(), XrdXrootdProtocol::do_Write(), XrdXrootdProtocol::do_WriteAll(), XrdXrootdProtocol::do_WriteCont(), XrdXrootdProtocol::do_WriteNone(), XrdXrootdAioReq::Read(), XrdXrootdAioReq::sendError(), XrdXrootdAioReq::Write(), XrdXrootdFile(), and ~XrdXrootdFile().
1.8.3.1