|
XRootD
|
#include <XrdXrootdFile.hh>
Collaboration diagram for XrdXrootdFile:Public Member Functions | |
| XrdXrootdFile (const char *id, const char *path, XrdSfsFile *fp, char mode='r', bool async=false, struct stat *sP=0) | |
| ~XrdXrootdFile () | |
| void | Ref (int num) |
| void | Serialize () |
Static Public Member Functions | |
| static void | Init (XrdXrootdFileLock *lp, XrdSysError *erP, bool sfok) |
Public Attributes | ||
| union { | ||
| unsigned long long | cbArg | |
| char * | mmAddr | |
| }; | ||
| union { | ||
| int | fdNum | |
| int | fHandle | |
| }; | ||
| XrdXrootdAioFob * | aioFob | |
| bool | AsyncMode | |
| XrdXrootdFileHP * | fhProc | |
| char * | FileKey | |
| char | FileMode | |
| const char * | ID | |
| bool | isMMapped | |
| XrdXrootdPgwFob * | pgwFob | |
| bool | sfEnabled | |
| XrdXrootdFileStats | Stats | |
| XrdSfsFile * | XrdSfsp | |
Definition at line 100 of file XrdXrootdFile.hh.
| XrdXrootdFile::XrdXrootdFile | ( | const char * | id, |
| const char * | path, | ||
| XrdSfsFile * | fp, | ||
| char | mode = 'r', |
||
| bool | async = false, |
||
| struct stat * | sP = 0 |
||
| ) |
Definition at line 83 of file XrdXrootdFile.cc.
References XrdSfsFile::error, XrdSfsFile::fctl(), XrdXrootdFileStats::fSize, XrdOucErrInfo::getErrInfo(), XrdSfsFile::getMmap(), XrdXrootdFileStats::Init(), isMMapped, sfEnabled, SFS_FCTL_GETFD, SFS_OK, SFS_SFIO_FDVAL, stat, XrdSfsFile::stat(), and Stats.
Here is the call graph for this function:| XrdXrootdFile::~XrdXrootdFile | ( | ) |
Definition at line 139 of file XrdXrootdFile.cc.
References aioFob, XrdXrootdFileHP::Avail(), fhProc, FileKey, FileMode, pgwFob, XrdXrootdAioFob::Reset(), Serialize(), TRACEI, XrdXrootdFileLock::Unlock(), and XrdSfsp.
Here is the call graph for this function:
|
static |
Definition at line 128 of file XrdXrootdFile.cc.
References eDest.
Referenced by XrdXrootdProtocol::Configure().
Here is the caller graph for this function:| void XrdXrootdFile::Ref | ( | int | num | ) |
Definition at line 165 of file XrdXrootdFile.cc.
References FileKey, XrdSysMutex::Lock(), XrdSysSemaphore::Post(), TRACEI, and XrdSysMutex::UnLock().
Referenced by XrdXrootdNormAio::Read(), XrdXrootdPgrwAio::Read(), XrdXrootdNormAio::Recycle(), and XrdXrootdPgrwAio::Recycle().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdXrootdFile::Serialize | ( | ) |
Definition at line 184 of file XrdXrootdFile.cc.
References FileKey, FileMode, XrdSysMutex::Lock(), TRACEI, XrdSysMutex::UnLock(), and XrdSysSemaphore::Wait().
Referenced by ~XrdXrootdFile().
Here is the call graph for this function:
Here is the caller graph for this function:| union { ... } XrdXrootdFile |
| union { ... } XrdXrootdFile |
| XrdXrootdAioFob* XrdXrootdFile::aioFob |
Definition at line 117 of file XrdXrootdFile.hh.
Referenced by ~XrdXrootdFile(), XrdXrootdAioTask::gdFail(), XrdXrootdNormAio::Read(), and XrdXrootdPgrwAio::Read().
| bool XrdXrootdFile::AsyncMode |
Definition at line 111 of file XrdXrootdFile.hh.
| XrdXrootdFileHP* XrdXrootdFile::fhProc |
Definition at line 119 of file XrdXrootdFile.hh.
Referenced by ~XrdXrootdFile().
| char* XrdXrootdFile::FileKey |
Definition at line 109 of file XrdXrootdFile.hh.
Referenced by ~XrdXrootdFile(), XrdXrootdPgwFob::~XrdXrootdPgwFob(), XrdXrootdFileTable::Add(), XrdXrootdPgwBadCS::boAdd(), XrdXrootdAioTask::Drain(), XrdXrootdAioTask::gdFail(), Ref(), XrdXrootdAioTask::SendError(), XrdXrootdAioTask::SendFSError(), and Serialize().
| char XrdXrootdFile::FileMode |
Definition at line 110 of file XrdXrootdFile.hh.
Referenced by ~XrdXrootdFile(), and Serialize().
| const char* XrdXrootdFile::ID |
Definition at line 120 of file XrdXrootdFile.hh.
| bool XrdXrootdFile::isMMapped |
Definition at line 112 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile().
| XrdXrootdPgwFob* XrdXrootdFile::pgwFob |
Definition at line 118 of file XrdXrootdFile.hh.
Referenced by ~XrdXrootdFile(), and XrdXrootdPgwBadCS::boAdd().
| bool XrdXrootdFile::sfEnabled |
Definition at line 113 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile(), XrdXrootdProtocol::SetFD(), and XrdXrootdProtocol::SetSF().
| XrdXrootdFileStats XrdXrootdFile::Stats |
Definition at line 122 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile(), XrdXrootdProtocol::do_WriteSpan(), and XrdXrootdFileTable::Recycle().
| XrdSfsFile* XrdXrootdFile::XrdSfsp |
Definition at line 104 of file XrdXrootdFile.hh.
Referenced by ~XrdXrootdFile(), XrdXrootdProtocol::do_WriteSpan(), and XrdXrootdAioTask::SendFSError().