#include <XrdPosixPrepIO.hh>
|
XrdOucCacheIO * | Base () |
|
XrdOucCacheIO * | Detach () |
|
void | Disable () |
|
long long | FSize () |
|
int | Fstat (struct stat &buf) |
|
bool | ioActive () |
|
int | Open () |
|
const char * | Path () |
|
int | Read (char *Buffer, long long Offset, int Length) |
|
void | Read (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rlen) |
|
int | ReadV (const XrdOucIOVec *readV, int n) |
|
void | ReadV (XrdOucCacheIOCB &iocb, const XrdOucIOVec *readV, int rnum) |
|
int | Sync () |
|
void | Sync (XrdOucCacheIOCB &iocb) |
|
int | Trunc (long long Offset) |
|
int | Write (char *Buffer, long long Offset, int Length) |
|
void | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
|
| XrdPosixPrepIO (XrdPosixFile *fP, XrdCl::OpenFlags::Flags clflags, XrdCl::Access::Mode clmode) |
|
virtual | ~XrdPosixPrepIO () |
|
virtual const char * | Location () |
|
virtual void | Update (XrdOucCacheIO2 &iocp) |
|
virtual | ~XrdOucCacheIO2 () |
|
virtual int | Read (char *Buffer, long long Offset, int Length)=0 |
|
virtual int | ReadV (const XrdOucIOVec *readV, int n) |
|
virtual int | Sync ()=0 |
|
virtual int | Write (char *Buffer, long long Offset, int Length)=0 |
|
virtual void | Preread (long long Offset, int Length, int Opts=0) |
|
virtual void | Preread (aprParms &Parms) |
|
virtual | ~XrdOucCacheIO () |
|
◆ XrdPosixPrepIO()
◆ ~XrdPosixPrepIO()
virtual XrdPosixPrepIO::~XrdPosixPrepIO |
( |
| ) |
|
|
inlinevirtual |
◆ Base()
◆ Detach()
◆ Disable()
void XrdPosixPrepIO::Disable |
( |
| ) |
|
◆ FSize()
long long XrdPosixPrepIO::FSize |
( |
| ) |
|
|
inlinevirtual |
◆ Fstat()
int XrdPosixPrepIO::Fstat |
( |
struct stat & |
sbuff | ) |
|
|
inlinevirtual |
Perform an fstat() operation (defaults to passthrough).
- Parameters
-
sbuff | reference to the stat buffer to be filled in. Only fields st_size, st_blocks, st_mtime (st_atime and st_ctime may be set to st_mtime), st_ino, and st_mode need to be set. All other fields are preset and should not be changed. |
- Returns
- <0 - fstat failed, value is -errno. =0 - fstat succeeded, sbuff holds stat information. >0 - fstat could not be done, forward operation to next level.
Reimplemented from XrdOucCacheIO2.
References fileP, XrdPosixFile::Fstat(), Init(), and openRC.
◆ Init()
◆ ioActive()
bool XrdPosixPrepIO::ioActive |
( |
| ) |
|
|
inlinevirtual |
◆ Open()
int XrdPosixPrepIO::Open |
( |
| ) |
|
|
inline |
◆ Path()
const char* XrdPosixPrepIO::Path |
( |
| ) |
|
|
inlinevirtual |
◆ Read() [1/2]
int XrdPosixPrepIO::Read |
( |
char * |
Buffer, |
|
|
long long |
Offset, |
|
|
int |
Length |
|
) |
| |
|
inlinevirtual |
◆ Read() [2/2]
void XrdPosixPrepIO::Read |
( |
XrdOucCacheIOCB & |
iocb, |
|
|
char * |
buff, |
|
|
long long |
offs, |
|
|
int |
rlen |
|
) |
| |
|
inlinevirtual |
◆ ReadV() [1/2]
int XrdPosixPrepIO::ReadV |
( |
const XrdOucIOVec * |
readV, |
|
|
int |
n |
|
) |
| |
|
inlinevirtual |
◆ ReadV() [2/2]
◆ Sync() [1/2]
int XrdPosixPrepIO::Sync |
( |
| ) |
|
|
inlinevirtual |
◆ Sync() [2/2]
◆ Trunc()
int XrdPosixPrepIO::Trunc |
( |
long long |
Offset | ) |
|
|
inlinevirtual |
◆ Write() [1/2]
int XrdPosixPrepIO::Write |
( |
char * |
Buffer, |
|
|
long long |
Offset, |
|
|
int |
Length |
|
) |
| |
|
inlinevirtual |
◆ Write() [2/2]
void XrdPosixPrepIO::Write |
( |
XrdOucCacheIOCB & |
iocb, |
|
|
char * |
buff, |
|
|
long long |
offs, |
|
|
int |
wlen |
|
) |
| |
|
inlinevirtual |
◆ clFlags
◆ clMode
◆ fileP
◆ iCalls
int XrdPosixPrepIO::iCalls |
|
private |
◆ openRC
int XrdPosixPrepIO::openRC |
|
private |
The documentation for this class was generated from the following file: