#include <XrdXrootdFile.hh>
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 { | |
int | fdNum |
int | fHandle |
}; | |
union { | |
unsigned long long | cbArg |
char * | mmAddr |
}; | |
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 aioFob, AsyncMode, XrdSfsFile::error, XrdSfsFile::fctl(), fhProc, FileKey, FileMode, XrdSfsFile::getMmap(), ID, if(), isMMapped, pgwFob, SFS_FCTL_GETFD, SFS_OK, stat, XrdSfsFile::stat(), Stats, and XrdSfsp.
XrdXrootdFile::~XrdXrootdFile | ( | ) |
|
static |
Definition at line 128 of file XrdXrootdFile.cc.
References eDest.
Referenced by XrdXrootdProtocol::Configure().
void XrdXrootdFile::Ref | ( | int | num | ) |
Definition at line 165 of file XrdXrootdFile.cc.
void XrdXrootdFile::Serialize | ( | ) |
Definition at line 184 of file XrdXrootdFile.cc.
References FileKey, FileMode, TRACEI, and XrdSysSemaphore::Wait().
Referenced by ~XrdXrootdFile().
union { ... } XrdXrootdFile |
union { ... } XrdXrootdFile |
XrdXrootdAioFob* XrdXrootdFile::aioFob |
Definition at line 117 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile(), and ~XrdXrootdFile().
bool XrdXrootdFile::AsyncMode |
Definition at line 111 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile().
XrdXrootdFileHP* XrdXrootdFile::fhProc |
Definition at line 119 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile(), and ~XrdXrootdFile().
char* XrdXrootdFile::FileKey |
Definition at line 109 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile(), ~XrdXrootdFile(), XrdXrootdFileTable::Add(), XrdXrootdPgwBadCS::boAdd(), Ref(), and Serialize().
char XrdXrootdFile::FileMode |
Definition at line 110 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile(), ~XrdXrootdFile(), and Serialize().
const char* XrdXrootdFile::ID |
Definition at line 120 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile().
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(), ~XrdXrootdFile(), and XrdXrootdPgwBadCS::boAdd().
bool XrdXrootdFile::sfEnabled |
Definition at line 113 of file XrdXrootdFile.hh.
Referenced by XrdXrootdProtocol::SetSF().
XrdXrootdFileStats XrdXrootdFile::Stats |
Definition at line 122 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile().
XrdSfsFile* XrdXrootdFile::XrdSfsp |
Definition at line 104 of file XrdXrootdFile.hh.
Referenced by XrdXrootdFile(), and ~XrdXrootdFile().