|
XRootD
|
POSIX interface to XRootD with some extensions, as noted. More...
#include <XrdPosixXrootd.hh>
Collaboration diagram for XrdPosixXrootd:Public Member Functions | |
| XrdPosixXrootd (int maxfd=255, int maxdir=0, int maxthr=0) | |
| ~XrdPosixXrootd () | |
| int | fdOrigin () |
Static Public Member Functions | |
| static int | Access (const char *path, int amode) |
| Access() conforms to POSIX.1-2001 access() | |
| static int | Close (int fildes) |
| Close() conforms to POSIX.1-2001 close() | |
| static int | Closedir (DIR *dirp) |
| Closedir() conforms to POSIX.1-2001 closedir() | |
| static int | endPoint (int FD, char *Buff, int Blen) |
| static int | Fstat (int fildes, struct stat *buf) |
| Fstat() conforms to POSIX.1-2001 fstat() | |
| static int | Fsync (int fildes) |
| Fsync() conforms to POSIX.1-2001 fsync() | |
| static void | Fsync (int fildes, XrdPosixCallBackIO *cbp) |
| static int | Ftruncate (int fildes, off_t offset) |
| Ftruncate() conforms to POSIX.1-2001 ftruncate() | |
| static long long | Getxattr (const char *path, const char *name, void *value, unsigned long long size) |
| static bool | isXrootdDir (DIR *dirp) |
| static off_t | Lseek (int fildes, off_t offset, int whence) |
| Lseek() conforms to POSIX.1-2001 lseek() | |
| static int | Mkdir (const char *path, mode_t mode) |
| Mkdir() conforms to POSIX.1-2001 mkdir() | |
| static bool | myFD (int fd) |
| static int | Open (const char *path, int oflag, mode_t mode=0, XrdPosixCallBack *cbP=0) |
| static DIR * | Opendir (const char *path) |
| Opendir() conforms to POSIX.1-2001 opendir() | |
| static ssize_t | Pread (int fildes, void *buf, size_t nbyte, off_t offset) |
| Pread() conforms to POSIX.1-2001 pread() | |
| static void | Pread (int fildes, void *buf, size_t nbyte, off_t offset, XrdPosixCallBackIO *cbp) |
| static ssize_t | Pwrite (int fildes, const void *buf, size_t nbyte, off_t offset) |
| Pwrite() conforms to POSIX.1-2001 pwrite() | |
| static void | Pwrite (int fildes, const void *buf, size_t nbyte, off_t offset, XrdPosixCallBackIO *cbp) |
| static int | QueryChksum (const char *path, time_t &mtime, char *buff, int blen) |
| static int | QueryError (std::string &emsg, DIR *dirP, bool reset=true) |
| static int | QueryError (std::string &emsg, int fd=-1, bool reset=true) |
| static long long | QueryOpaque (const char *path, char *buff, int blen) |
| static ssize_t | Read (int fildes, void *buf, size_t nbyte) |
| Read() conforms to POSIX.1-2001 read() | |
| static struct dirent * | Readdir (DIR *dirp) |
| static struct dirent64 * | Readdir64 (DIR *dirp) |
| static int | Readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) |
| static int | Readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result) |
| static ssize_t | Readv (int fildes, const struct iovec *iov, int iovcnt) |
| Readv() conforms to POSIX.1-2001 readv() | |
| static int | Rename (const char *oldpath, const char *newpath) |
| Rename() conforms to POSIX.1-2001 rename() | |
| static void | Rewinddir (DIR *dirp) |
| Rewinddir() conforms to POSIX.1-2001 rewinddir() | |
| static int | Rmdir (const char *path) |
| Rmdir() conforms to POSIX.1-2001 rmdir() | |
| static void | Seekdir (DIR *dirp, long loc) |
| Seekdir() conforms to POSIX.1-2001 seekdir() | |
| static int | Stat (const char *path, struct stat *buf) |
| Stat() conforms to POSIX.1-2001 stat() | |
| static int | Statfs (const char *path, struct statfs *buf) |
| static int | Statvfs (const char *path, struct statvfs *buf) |
| Statvfs() conforms to POSIX.1-2001 statvfs() | |
| static long | Telldir (DIR *dirp) |
| Telldir() conforms to POSIX.1-2001 telldir() | |
| static int | Truncate (const char *path, off_t offset) |
| Telldir() conforms to POSIX.1-2001 telldir() | |
| static int | Unlink (const char *path) |
| Unlink() conforms to POSIX.1-2001 unlink() | |
| static ssize_t | VRead (int fildes, const XrdOucIOVec *readV, int n) |
| static void | VRead (int fildes, const XrdOucIOVec *readV, int n, XrdPosixCallBackIO *cbp) |
| static ssize_t | Write (int fildes, const void *buf, size_t nbyte) |
| Write() conforms to POSIX.1-2001 write() | |
| static ssize_t | Writev (int fildes, const struct iovec *iov, int iovcnt) |
| Writev() conforms to POSIX.1-2001 writev() | |
Static Public Attributes | |
| static const int | isStream = 0x40000000 |
Friends | |
| class | XrdPosixConfig |
| class | XrdPosixExtra |
POSIX interface to XRootD with some extensions, as noted.
Definition at line 63 of file XrdPosixXrootd.hh.
| XrdPosixXrootd::XrdPosixXrootd | ( | int | maxfd = 255, |
| int | maxdir = 0, |
||
| int | maxthr = 0 |
||
| ) |
Definition at line 180 of file XrdPosixXrootd.cc.
References XrdOucPsx::ClientConfig(), XrdPosixObject::Init(), XrdSysMutex::Lock(), XrdOucEnv::Put(), XrdPosixConfig::SetConfig(), XrdPosixGlobals::theLogger, XrdSysMutex::UnLock(), and XrdPosixGlobals::usingEC.
Here is the call graph for this function:| XrdPosixXrootd::~XrdPosixXrootd | ( | ) |
Definition at line 229 of file XrdPosixXrootd.cc.
References XrdPosixObject::Shutdown().
Here is the call graph for this function:
|
static |
Access() conforms to POSIX.1-2001 access()
Definition at line 242 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdOucECMsg::SetErrno(), and XrdPosixAdmin::Stat().
Referenced by XrdPosix_Access().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Close() conforms to POSIX.1-2001 close()
Definition at line 268 of file XrdPosixXrootd.cc.
References XrdPosixFile::Close(), DEBUG, DEBUGON, XrdPosixFile::DelayedDestroy(), XrdOucCacheIO::Detach(), XrdPosixGlobals::ecMsg, EPNAME, obfuscateAuth(), XrdPosixFile::Origin(), XrdPosixObject::Ref(), XrdPosixObject::Refs(), XrdPosixObject::ReleaseFile(), XrdPosixMap::Result(), XrdOucECMsg::SetErrno(), XrdCl::Status::ToString(), and XrdPosixFile::XCio.
Referenced by XrdPssFile::Close(), main(), XrdFfsPosix_close(), XrdPosix_Close(), XrdPosix_Fclose(), and XrdPosix_Fopen().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Closedir() conforms to POSIX.1-2001 closedir()
Definition at line 311 of file XrdPosixXrootd.cc.
References XrdPosixDir::dirNo(), XrdPosixGlobals::ecMsg, XrdPosixObject::ReleaseDir(), and XrdOucECMsg::SetErrno().
Referenced by XrdPssDir::Close(), XrdFfsPosix_closedir(), and XrdPosix_Closedir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
endPoint() is a POSIX extension and returns the location of an open file.
| FD | File descriptor of an open file in question. |
| Buff | Pointer to the buffer to receive '<host>:<port>' of the server. |
| Blen | Size of the buffer, it must be big enough for the result. |
Definition at line 331 of file XrdPosixXrootd.cc.
References XrdPosixFile::clFile, XrdPosixObject::File(), XrdCl::URL::GetPort(), XrdCl::File::GetProperty(), XrdCl::File::IsOpen(), and XrdPosixObject::UnLock().
Here is the call graph for this function:
|
inline |
The following methods are considered private but defined as public to allow XrdPosix 'C' functions and XrdPss classes access private members.
Definition at line 371 of file XrdPosixXrootd.hh.
|
static |
Fstat() conforms to POSIX.1-2001 fstat()
Definition at line 369 of file XrdPosixXrootd.cc.
References XrdPosixObject::File(), XrdPosixFile::Fstat(), XrdOucCacheIO::Fstat(), XrdPosixConfig::initStat(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Referenced by XrdPssFile::Fstat(), and XrdPosix_Fstat().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Fsync() conforms to POSIX.1-2001 fsync()
Definition at line 405 of file XrdPosixXrootd.cc.
References XrdPosixObject::File(), XrdOucCacheIO::Sync(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Referenced by XrdPssFile::Fsync(), XrdPssFile::Fsync(), XrdFfsPosix_fsync(), XrdPosix_Fdatasync(), XrdPosix_Fflush(), and XrdPosix_Fsync().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 423 of file XrdPosixXrootd.cc.
References XrdPosixCallBackIO::Complete(), XrdPosixObject::File(), XrdPosixObject::Ref(), XrdOucCacheIO::Sync(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Here is the call graph for this function:
|
static |
Ftruncate() conforms to POSIX.1-2001 ftruncate()
Definition at line 440 of file XrdPosixXrootd.cc.
References XrdPosixObject::File(), XrdOucCacheIO::Trunc(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Referenced by XrdPssFile::Ftruncate(), XrdFfsPosix_ftruncate(), and XrdPosix_Ftruncate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Getxattr() is a POSIX extension and conforms to Linux 2.4 getxattr(). This method returns attributes associated with a file. The format does not correspond to information returned by Linux. Refer to the XRootD protocol reference for the detailed description of the information returned.
| path | pointer to the path whose attributes are to be returned |
| name | name of the attribute to be returned. Valid attributes are xrootd.cksum - file's checksum xrootd.space - space associated with the path xrootd.xattr - server specific extended attributes for path |
| value | pointer to the buffer to receive the attribute values. |
| size | size of the buffer (value). If size is zero, only the maximum length of the attribute value is returned. |
Definition at line 464 of file XrdPosixXrootd.cc.
References XrdCl::QueryCode::Checksum, XrdPosixGlobals::ecMsg, ENOATTR, XrdPosixAdmin::Query(), XrdCl::QueryCode::Space, XrdPosixAdmin::Stat(), and XrdCl::QueryCode::XAttr.
Referenced by getchksum(), and XrdFfsPosix_getxattr().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1443 of file XrdPosixXrootd.cc.
References XrdPosixObject::Dir(), XrdPosixDir::dirNo(), myFD(), and XrdPosixObject::UnLock().
Referenced by XrdPosix_Closedir(), XrdPosix_Readdir(), XrdPosix_Readdir64(), XrdPosix_Readdir64_r(), XrdPosix_Readdir_r(), XrdPosix_Rewinddir(), XrdPosix_Seekdir(), and XrdPosix_Telldir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lseek() conforms to POSIX.1-2001 lseek()
Definition at line 497 of file XrdPosixXrootd.cc.
References XrdPosixFile::addOffset(), XrdPosixObject::File(), XrdOucCacheIO::FSize(), XrdPosixFile::setOffset(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Referenced by XrdFfsPosix_lseek(), XrdPosix_Fseek(), XrdPosix_Fseeko(), XrdPosix_Ftell(), XrdPosix_Ftello(), and XrdPosix_Lseek().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Mkdir() conforms to POSIX.1-2001 mkdir()
Definition at line 528 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdCl::URL::GetPathWithParams(), XrdPosixAdmin::isOK(), XrdCl::MkDirFlags::MakePath, XrdCl::FileSystem::MkDir(), XrdPosixMap::Mode2Access(), XrdCl::MkDirFlags::None, XrdPosixMap::Result(), XrdPosixAdmin::Url, and XrdPosixAdmin::Xrd.
Referenced by XrdPssSys::Mkdir(), XrdFfsPosix_mkdir(), and XrdPosix_Mkdir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1461 of file XrdPosixXrootd.cc.
References XrdPosixObject::Valid().
Referenced by fcntl(), fstat(), isXrootdDir(), XrdPosix_Close(), XrdPosix_Fclose(), XrdPosix_Fcntl(), XrdPosix_Fdatasync(), XrdPosix_Fflush(), XrdPosix_Fread(), XrdPosix_Fseek(), XrdPosix_Fseeko(), XrdPosix_Fstat(), XrdPosix_Fsync(), XrdPosix_Ftell(), XrdPosix_Ftello(), XrdPosix_Ftruncate(), XrdPosix_Fwrite(), XrdPosix_Lseek(), XrdPosix_Pread(), XrdPosix_Pwrite(), XrdPosix_Read(), XrdPosix_Readv(), XrdPosix_Write(), and XrdPosix_Writev().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 555 of file XrdPosixXrootd.cc.
References Open().
Referenced by main(), XrdPssFile::Open(), Open(), XrdPosixConfig::OpenFC(), XrdFfsPosix_open(), XrdPosix_Fopen(), and XrdPosix_Open().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Opendir() conforms to POSIX.1-2001 opendir()
Definition at line 705 of file XrdPosixXrootd.cc.
References XrdPosixObject::AssignFD(), XrdPosixGlobals::ecMsg, XrdPosixDir::Open(), and XrdOucECMsg::SetErrno().
Referenced by XrdPssDir::Opendir(), XrdFfsPosix_opendir(), and XrdPosix_Opendir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Pread() conforms to POSIX.1-2001 pread()
Definition at line 742 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdPosixObject::File(), XrdOucCacheIO::Read(), XrdOucECMsg::SetErrno(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Referenced by XrdPssFile::Read(), XrdPssFile::Read(), XrdFfsPosix_pread(), and XrdPosix_Pread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 773 of file XrdPosixXrootd.cc.
References XrdPosixCallBackIO::Complete(), XrdPosixObject::ecMsg, XrdPosixObject::File(), XrdOucCacheIO::Read(), XrdPosixObject::Ref(), XrdOucECMsg::SetErrno(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Here is the call graph for this function:
|
static |
Pwrite() conforms to POSIX.1-2001 pwrite()
Definition at line 809 of file XrdPosixXrootd.cc.
References XrdPosixObject::File(), XrdPosixObject::UnLock(), XrdPosixFile::UpdtSize(), XrdOucCacheIO::Write(), and XrdPosixFile::XCio.
Referenced by XrdPssFile::Write(), XrdPssFile::Write(), XrdFfsPosix_pwrite(), and XrdPosix_Pwrite().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 840 of file XrdPosixXrootd.cc.
References XrdPosixCallBackIO::Complete(), XrdPosixObject::ecMsg, XrdPosixObject::File(), XrdPosixObject::Ref(), XrdOucECMsg::SetErrno(), XrdPosixObject::UnLock(), XrdOucCacheIO::Write(), and XrdPosixFile::XCio.
Here is the call graph for this function:
|
static |
QueryChksum() is a POSIX extension and returns a file's modification time and its associated checksum value.
| path | path associated with the file whose checksum is wanted. |
| mtime | where the file's modification time (st_mtime) is placed. |
| buff | pointer to the buffer to hold the checksum value. |
| blen | the length of the buffer. |
Definition at line 1470 of file XrdPosixXrootd.cc.
References XrdCl::QueryCode::Checksum, XrdPosixGlobals::ecMsg, XrdPosixAdmin::Query(), and XrdPosixAdmin::Stat().
Referenced by XrdPssCks::Get().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1507 of file XrdPosixXrootd.cc.
References XrdPosixObject::Dir(), XrdPosixDir::dirNo(), XrdPosixGlobals::ecMsg, emsg(), XrdOucECMsg::Get(), XrdPosixObject::getECMsg(), and XrdOucECMsg::SetErrno().
Here is the call graph for this function:
|
static |
QueryError() is a POSIX extension and returns extended information about the last error returned from a call to a POSIX function.
| emsg | Reference to a string to hold the retruned message text. |
| fd | The file descriptor associated with the error. A negative value returns the last error encountered on the calling thread for the last function not releated to a file descritor. dirP Get the error associated with the last directory operation. |
| reset | When true (the default) clears the error information. |
Definition at line 1488 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, emsg(), XrdPosixObject::File(), XrdOucECMsg::Get(), and XrdPosixObject::getECMsg().
Referenced by XrdPssSys::Info().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
QueryOpaque() is a POSIX extension and returns a file's implementation specific information.
| path | path associated with the file whose information is wanted. |
| buff | pointer to the buffer to hold the information. |
| blen | the length of the buffer. |
Definition at line 1526 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdCl::QueryCode::OpaqueFile, XrdPosixAdmin::Query(), and XrdPosixAdmin::Stat().
Here is the call graph for this function:
|
static |
Read() conforms to POSIX.1-2001 read()
Definition at line 876 of file XrdPosixXrootd.cc.
References XrdPosixFile::addOffset(), XrdPosixObject::File(), XrdPosixFile::Offset(), XrdOucCacheIO::Read(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Referenced by main(), Readv(), XrdFfsPosix_read(), XrdPosix_Fread(), and XrdPosix_Read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
readdir() conforms to POSIX.1-2001 readdir() and is normally equivalent to readdir64(). The latter is provided for those platforms that require a specific 64-bit interface to directory information, which is now rare.
Definition at line 969 of file XrdPosixXrootd.cc.
References Readdir64().
Referenced by XrdFfsPosix_readdir(), and XrdPosix_Readdir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 991 of file XrdPosixXrootd.cc.
References XrdPosixObject::Dir(), XrdPosixDir::dirNo(), XrdPosixGlobals::ecMsg, XrdPosixDir::nextEntry(), XrdOucECMsg::SetErrno(), XrdPosixDir::Status(), and XrdPosixObject::UnLock().
Referenced by Readdir(), and XrdPosix_Readdir64().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1042 of file XrdPosixXrootd.cc.
References XrdPosixObject::Dir(), XrdPosixDir::dirNo(), XrdPosixDir::nextEntry(), XrdPosixDir::Status(), and XrdPosixObject::UnLock().
Referenced by Readdir_r(), and XrdPosix_Readdir64_r().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
readdir_r() conforms to POSIX.1-2001 readdir_r() and is normally equivalent to readdir64_r(). The latter is provided for those platforms that require a specific 64-bit interface to directory information, which is now rare.
Definition at line 1020 of file XrdPosixXrootd.cc.
References Readdir64_r().
Referenced by XrdPssDir::Readdir(), and XrdPosix_Readdir_r().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Readv() conforms to POSIX.1-2001 readv()
Definition at line 907 of file XrdPosixXrootd.cc.
References Read().
Referenced by XrdPosix_Readv().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Rename() conforms to POSIX.1-2001 rename()
Definition at line 1067 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdCl::URL::GetPathWithParams(), XrdPosixAdmin::isOK(), XrdCl::URL::IsValid(), XrdCl::FileSystem::Mv(), XrdOucCache::Rename(), XrdPosixMap::Result(), XrdOucECMsg::SetErrno(), XrdPosixGlobals::theCache, XrdPosixAdmin::Url, XrdPosixGlobals::usingEC, and XrdPosixAdmin::Xrd.
Referenced by XrdPssSys::Rename(), XrdFfsPosix_rename(), and XrdPosix_Rename().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Rewinddir() conforms to POSIX.1-2001 rewinddir()
Definition at line 1100 of file XrdPosixXrootd.cc.
References XrdPosixObject::Dir(), XrdPosixDir::dirNo(), XrdPosixDir::rewind(), and XrdPosixObject::UnLock().
Referenced by XrdPosix_Rewinddir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Rmdir() conforms to POSIX.1-2001 rmdir()
Definition at line 1117 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdCl::URL::GetPathWithParams(), XrdPosixAdmin::isOK(), XrdPosixMap::Result(), XrdOucCache::Rmdir(), XrdCl::FileSystem::RmDir(), XrdPosixGlobals::theCache, XrdPosixAdmin::Url, and XrdPosixAdmin::Xrd.
Referenced by XrdPssSys::Remdir(), XrdFfsPosix_rmdir(), and XrdPosix_Rmdir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Seekdir() conforms to POSIX.1-2001 seekdir()
Definition at line 1143 of file XrdPosixXrootd.cc.
References XrdPosixObject::Dir(), XrdPosixDir::dirNo(), XrdPosixDir::getEntries(), XrdPosixDir::Open(), XrdPosixDir::setOffset(), XrdPosixObject::UnLock(), and XrdPosixDir::Unread().
Referenced by XrdPosix_Seekdir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Stat() conforms to POSIX.1-2001 stat()
Definition at line 1166 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdPosixConfig::initStat(), XrdPosixAdmin::isOK(), XrdOucCache::Stat(), XrdPosixAdmin::Stat(), XrdPosixGlobals::theCache, and XrdPosixGlobals::usingEC.
Referenced by XrdPssFile::Fstat(), main(), XrdPssSys::Stat(), XrdFfsPosix_stat(), XrdPosix_Lstat(), and XrdPosix_Stat().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Statfs() generally conforms to the platform-specific definition of statfs(). There is no specific POSIX specification for this call.
Definition at line 1209 of file XrdPosixXrootd.cc.
References statfs, statvfs, and Statvfs().
Referenced by XrdPosix_Statfs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Statvfs() conforms to POSIX.1-2001 statvfs()
Definition at line 1246 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdCl::StatInfoVFS::GetFreeRW(), XrdCl::StatInfoVFS::GetFreeStaging(), XrdCl::StatInfoVFS::GetNodesRW(), XrdCl::StatInfoVFS::GetNodesStaging(), XrdCl::URL::GetPathWithParams(), XrdCl::StatInfoVFS::GetUtilizationRW(), XrdCl::StatInfoVFS::GetUtilizationStaging(), XrdPosixAdmin::isOK(), XrdPosixMap::Result(), statvfs, XrdCl::FileSystem::StatVFS(), XrdPosixAdmin::Url, and XrdPosixAdmin::Xrd.
Referenced by Statfs(), and XrdPosix_Statvfs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Telldir() conforms to POSIX.1-2001 telldir()
Definition at line 1312 of file XrdPosixXrootd.cc.
References XrdPosixObject::Dir(), XrdPosixDir::dirNo(), XrdPosixGlobals::ecMsg, XrdPosixDir::getOffset(), XrdOucECMsg::SetErrno(), and XrdPosixObject::UnLock().
Referenced by XrdPosix_Telldir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Telldir() conforms to POSIX.1-2001 telldir()
Definition at line 1334 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdCl::URL::GetPathWithParams(), XrdPosixAdmin::isOK(), XrdPosixMap::Result(), XrdPosixGlobals::theCache, XrdOucCache::Truncate(), XrdCl::FileSystem::Truncate(), XrdPosixAdmin::Url, and XrdPosixAdmin::Xrd.
Referenced by XrdPssSys::Truncate(), XrdFfsPosix_truncate(), and XrdPosix_Truncate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Unlink() conforms to POSIX.1-2001 unlink()
Definition at line 1362 of file XrdPosixXrootd.cc.
References XrdPosixGlobals::ecMsg, XrdCl::URL::GetPathWithParams(), XrdPosixAdmin::isOK(), XrdPosixMap::Result(), XrdCl::FileSystem::Rm(), XrdPosixGlobals::theCache, XrdOucCache::Unlink(), XrdPosixAdmin::Url, XrdPosixGlobals::usingEC, and XrdPosixAdmin::Xrd.
Referenced by XrdPssSys::Unlink(), XrdFfsPosix_unlink(), and XrdPosix_Unlink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 930 of file XrdPosixXrootd.cc.
References XrdPosixObject::File(), XrdOucCacheIO::ReadV(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Here is the call graph for this function:
|
static |
VRead() is a POSIX extension and allows one to read multiple chunks of a file in one operation.
| fildes | file descriptor of a file opened for reading. |
| readV | the read vector of offset/length/buffer triplets. Data at each offset of the specifiued length is placed in buffer. |
| n | the number of elements in the readV vector. |
| cbp | pointer to the callback object for async execution. |
Definition at line 951 of file XrdPosixXrootd.cc.
References XrdPosixCallBackIO::Complete(), XrdPosixObject::File(), XrdOucCacheIO::ReadV(), XrdPosixObject::Ref(), XrdPosixObject::UnLock(), and XrdPosixFile::XCio.
Referenced by XrdPssFile::ReadV().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Write() conforms to POSIX.1-2001 write()
Definition at line 1391 of file XrdPosixXrootd.cc.
References XrdPosixFile::addOffset(), XrdPosixObject::File(), XrdPosixFile::Offset(), XrdPosixObject::UnLock(), XrdOucCacheIO::Write(), and XrdPosixFile::XCio.
Referenced by Writev(), XrdFfsPosix_write(), XrdPosix_Fwrite(), and XrdPosix_Write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Writev() conforms to POSIX.1-2001 writev()
Definition at line 1421 of file XrdPosixXrootd.cc.
References Write().
Referenced by XrdPosix_Writev().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 66 of file XrdPosixXrootd.hh.
|
friend |
Definition at line 67 of file XrdPosixXrootd.hh.
|
static |
Open() conforms to POSIX.1-2001 open() when extensions are not used.
Extensions:
| cbP | Pointer to a callback object. When specified, the open is performed in the background and the Comp[lete() is called when the Open() completes. See XrdPosixCallBack.hh for complete details. |
Definition at line 166 of file XrdPosixXrootd.hh.
Referenced by XrdPosix_Fopen().