|
XRootD
|
#include <XrdOssApi.hh>
Inheritance diagram for XrdOssDir:
Collaboration diagram for XrdOssDir:Public Member Functions | |
| XrdOssDir (const char *tid, DIR *dP=0) | |
| ~XrdOssDir () | |
| int | Close (long long *retsz=0) |
| int | getFD () |
| int | Opendir (const char *, XrdOucEnv &) |
| int | Readdir (char *buff, int blen) |
| int | StatRet (struct stat *buff) |
Public Member Functions inherited from XrdOssDF | |
| XrdOssDF (const char *tid="", uint16_t dftype=0, int fdnum=-1) | |
| virtual | ~XrdOssDF () |
| uint16_t | DFType () |
| virtual int | Fchmod (mode_t mode) |
| virtual int | Fctl (int cmd, int alen, const char *args, char **resp=0) |
| virtual void | Flush () |
| Flush filesystem cached pages for this file (used for checksums). | |
| virtual int | Fstat (struct stat *buf) |
| virtual int | Fsync () |
| virtual int | Fsync (XrdSfsAio *aiop) |
| virtual int | Ftruncate (unsigned long long flen) |
| virtual off_t | getMmap (void **addr) |
| virtual const char * | getTID () |
| virtual int | isCompressed (char *cxidp=0) |
| virtual int | Open (const char *path, int Oflag, mode_t Mode, XrdOucEnv &env) |
| virtual ssize_t | pgRead (void *buffer, off_t offset, size_t rdlen, uint32_t *csvec, uint64_t opts) |
| virtual int | pgRead (XrdSfsAio *aioparm, uint64_t opts) |
| virtual ssize_t | pgWrite (void *buffer, off_t offset, size_t wrlen, uint32_t *csvec, uint64_t opts) |
| virtual int | pgWrite (XrdSfsAio *aioparm, uint64_t opts) |
| virtual ssize_t | Read (off_t offset, size_t size) |
| virtual ssize_t | Read (void *buffer, off_t offset, size_t size) |
| virtual int | Read (XrdSfsAio *aiop) |
| virtual ssize_t | ReadRaw (void *buffer, off_t offset, size_t size) |
| virtual ssize_t | ReadV (XrdOucIOVec *readV, int rdvcnt) |
| virtual ssize_t | Write (const void *buffer, off_t offset, size_t size) |
| virtual int | Write (XrdSfsAio *aiop) |
| virtual ssize_t | WriteV (XrdOucIOVec *writeV, int wrvcnt) |
Additional Inherited Members | |
Static Public Attributes inherited from XrdOssDF | |
| static const uint16_t | DF_isDir = 0x0001 |
| Object is for a directory. | |
| static const uint16_t | DF_isFile = 0x0002 |
| Object is for a file. | |
| static const uint16_t | DF_isProxy = 0x0010 |
| Object is a proxy object. | |
| static const uint64_t | doCalc = 0x4000000000000000ULL |
| pgw: Calculate checksums | |
| static const int | Fctl_ckpObj = 0 |
| static const int | Fctl_utimes = 1 |
| static const uint64_t | Verify = 0x8000000000000000ULL |
| all: Verify checksums | |
Protected Attributes inherited from XrdOssDF | |
| uint16_t | dfType |
| int | fd |
| off_t | pgwEOF |
| short | rsvd |
| const char * | tident |
Definition at line 51 of file XrdOssApi.hh.
|
inline |
Definition at line 61 of file XrdOssApi.hh.
References XrdOssDF::XrdOssDF(), XrdOssDF::DF_isDir, dirfd, and XrdOssDF::fd.
Here is the call graph for this function:
|
inline |
Definition at line 66 of file XrdOssApi.hh.
References Close().
Here is the call graph for this function:
|
virtual |
Close a directory or file.
| retsz | If not nil, where the size of the file is to be returned. |
Implements XrdOssDF.
Definition at line 671 of file XrdOssApi.cc.
References closedir, XRDOSS_E8002, and XrdOssSS.
Referenced by ~XrdOssDir().
Here is the caller graph for this function:
|
inlinevirtual |
Return the underlying file descriptor.
Reimplemented from XrdOssDF.
Definition at line 58 of file XrdOssApi.hh.
References XrdOssDF::fd.
|
virtual |
Open a directory.
| path | - Pointer to the path of the directory to be opened. |
| env | - Reference to environmental information. |
Reimplemented from XrdOssDF.
Definition at line 497 of file XrdOssApi.cc.
References dirfd, EPNAME, XrdOssDF::fd, Opendir(), TRACE, XRDEXP_NOCHECK, XRDEXP_NODREAD, XRDEXP_STAGE, XRDOSS_E8001, XrdOssOK, and XrdOssSS.
Referenced by Opendir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Get the next directory entry.
| buff | - Pointer to buffer where a null terminated string of the entry name is to be returned. If no more entries exist, a null string is returned. |
| blen | - Length of the buffer. |
Reimplemented from XrdOssDF.
Definition at line 583 of file XrdOssApi.cc.
References XrdOssDF::fd, readdir, strlcpy(), XRDOSS_E8002, XrdOssOK, and XrdOssSS.
Here is the call graph for this function:
|
virtual |
Set the stat() buffer where stat information is to be placed corresponding to the directory entry returned by Readdir().
| buff | - Pointer to stat structure to be used. |
Reimplemented from XrdOssDF.
Definition at line 637 of file XrdOssApi.cc.
References stat, and XRDOSS_E8002.