|
XRootD
|
#include "XrdSys/XrdSysStatx.hh"#include <dirent.h>#include <stdio.h>#include <unistd.h>#include <sys/types.h>#include "XrdPosix/XrdPosixOsDep.hh"
Include dependency graph for XrdPosixExtern.hh:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | XrdPosix_Access (const char *path, int amode) |
| int | XrdPosix_Acl (const char *path, int cmd, int nentries, void *aclbufp) |
| int | XrdPosix_Chdir (const char *path) |
| int | XrdPosix_Close (int fildes) |
| int | XrdPosix_Closedir (DIR *dirp) |
| int | XrdPosix_Creat (const char *path, mode_t mode) |
| int | XrdPosix_Fclose (FILE *stream) |
| int | XrdPosix_Fcntl (int fd, int cmd,...) |
| int | XrdPosix_Fdatasync (int fildes) |
| int | XrdPosix_Fflush (FILE *stream) |
| FILE * | XrdPosix_Fopen (const char *path, const char *mode) |
| size_t | XrdPosix_Fread (void *ptr, size_t size, size_t nitems, FILE *stream) |
| int | XrdPosix_Fseek (FILE *stream, long offset, int whence) |
| int | XrdPosix_Fseeko (FILE *stream, off_t offset, int whence) |
| int | XrdPosix_Fstat (int fildes, struct stat *buf) |
| int | XrdPosix_Fstatat (int dirfd, const char *path, struct stat *buf, int flags) |
| int | XrdPosix_Fsync (int fildes) |
| long | XrdPosix_Ftell (FILE *stream) |
| off_t | XrdPosix_Ftello (FILE *stream) |
| int | XrdPosix_Ftruncate (int fildes, off_t offset) |
| size_t | XrdPosix_Fwrite (const void *ptr, size_t size, size_t nitems, FILE *stream) |
| int | XrdPosix_isMyPath (const char *path) |
| off_t | XrdPosix_Lseek (int fildes, off_t offset, int whence) |
| int | XrdPosix_Lstat (const char *path, struct stat *buf) |
| int | XrdPosix_Mkdir (const char *path, mode_t mode) |
| int | XrdPosix_Open (const char *path, int oflag,...) |
| int | XrdPosix_Openat (int dirfd, const char *path, int flag,...) |
| DIR * | XrdPosix_Opendir (const char *path) |
| long | XrdPosix_Pathconf (const char *path, int name) |
| ssize_t | XrdPosix_Pread (int fildes, void *buf, size_t nbyte, off_t offset) |
| ssize_t | XrdPosix_Pwrite (int fildes, const void *buf, size_t nbyte, off_t offset) |
| ssize_t | XrdPosix_Read (int fildes, void *buf, size_t nbyte) |
| struct dirent * | XrdPosix_Readdir (DIR *dirp) |
| struct dirent64 * | XrdPosix_Readdir64 (DIR *dirp) |
| int | XrdPosix_Readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) |
| int | XrdPosix_Readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result) |
| ssize_t | XrdPosix_Readv (int fildes, const struct iovec *iov, int iovcnt) |
| int | XrdPosix_Rename (const char *oname, const char *nname) |
| void | XrdPosix_Rewinddir (DIR *dirp) |
| int | XrdPosix_Rmdir (const char *path) |
| void | XrdPosix_Seekdir (DIR *dirp, long loc) |
| int | XrdPosix_Stat (const char *path, struct stat *buf) |
| int | XrdPosix_Statfs (const char *path, struct statfs *buf) |
| int | XrdPosix_Statvfs (const char *path, struct statvfs *buf) |
| int | XrdPosix_Statx (int dirfd, const char *path, int flags, unsigned int mask, XrdSysStatx *stx) |
| long | XrdPosix_Telldir (DIR *dirp) |
| int | XrdPosix_Truncate (const char *path, off_t offset) |
| int | XrdPosix_Unlink (const char *path) |
| char * | XrdPosix_URL (const char *path, char *buff, int blen) |
| ssize_t | XrdPosix_Write (int fildes, const void *buf, size_t nbyte) |
| ssize_t | XrdPosix_Writev (int fildes, const struct iovec *iov, int iovcnt) |
| int XrdPosix_Access | ( | const char * | path, |
| int | amode | ||
| ) |
Definition at line 152 of file XrdPosix.cc.
References XrdPosixXrootd::Access(), XrdPosixLinkage::Access, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Referenced by access().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Acl | ( | const char * | path, |
| int | cmd, | ||
| int | nentries, | ||
| void * | aclbufp | ||
| ) |
Definition at line 181 of file XrdPosix.cc.
References XrdPosixLinkage::Acl, XrdPosixXrootPath::URL(), XrdResolveLink(), XrootPath, and Xunix.
Referenced by acl().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Chdir | ( | const char * | path | ) |
Definition at line 199 of file XrdPosix.cc.
References XrdPosixLinkage::Chdir, XrdPosixXrootPath::CWD(), XrdResolveLink(), XrootPath, and Xunix.
Referenced by chdir().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Close | ( | int | fildes | ) |
Definition at line 220 of file XrdPosix.cc.
References XrdPosixXrootd::Close(), XrdPosixLinkage::Close, XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by close().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Closedir | ( | DIR * | dirp | ) |
Definition at line 235 of file XrdPosix.cc.
References XrdPosixXrootd::Closedir(), XrdPosixLinkage::Closedir, XrdPosixXrootd::isXrootdDir(), Xroot, and Xunix.
Referenced by closedir().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Creat | ( | const char * | path, |
| mode_t | mode | ||
| ) |
Definition at line 249 of file XrdPosix.cc.
References XrdPosix_Open().
Referenced by creat64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fclose | ( | FILE * | stream | ) |
Definition at line 263 of file XrdPosix.cc.
References XrdPosixXrootd::Close(), XrdPosixLinkage::Fclose, XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by fclose().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fcntl | ( | int | fd, |
| int | cmd, | ||
| ... | |||
| ) |
Definition at line 283 of file XrdPosix.cc.
References XrdPosixLinkage::Fcntl64, XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by fcntl64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fdatasync | ( | int | fildes | ) |
Definition at line 302 of file XrdPosix.cc.
References XrdPosixXrootd::Fsync(), XrdPosixLinkage::Fsync, XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by fdatasync().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fflush | ( | FILE * | stream | ) |
Definition at line 333 of file XrdPosix.cc.
References XrdPosixLinkage::Fflush, XrdPosixXrootd::Fsync(), XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by fflush().
Here is the call graph for this function:
Here is the caller graph for this function:| FILE* XrdPosix_Fopen | ( | const char * | path, |
| const char * | mode | ||
| ) |
Definition at line 353 of file XrdPosix.cc.
References XrdPosixXrootd::Close(), XrdPosixLinkage::Fopen64, ISMODE, XrdPosixXrootd::isStream, XrdPosixXrootd::Open(), XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Referenced by fopen64().
Here is the call graph for this function:
Here is the caller graph for this function:| size_t XrdPosix_Fread | ( | void * | ptr, |
| size_t | size, | ||
| size_t | nitems, | ||
| FILE * | stream | ||
| ) |
Definition at line 405 of file XrdPosix.cc.
References XrdPosixLinkage::Fread, fseteof(), fseterr(), XrdPosixXrootd::myFD(), XrdPosixXrootd::Read(), Xroot, and Xunix.
Referenced by fread().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fseek | ( | FILE * | stream, |
| long | offset, | ||
| int | whence | ||
| ) |
Definition at line 431 of file XrdPosix.cc.
References XrdPosixLinkage::Fseek, XrdPosixXrootd::Lseek(), XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by fseek().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fseeko | ( | FILE * | stream, |
| off_t | offset, | ||
| int | whence | ||
| ) |
| int XrdPosix_Fstat | ( | int | fildes, |
| struct stat * | buf | ||
| ) |
Definition at line 467 of file XrdPosix.cc.
References XrdPosixXrootd::Fstat(), XrdPosixXrootd::myFD(), and Xroot.
Referenced by fstat64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fstatat | ( | int | dirfd, |
| const char * | path, | ||
| struct stat * | buf, | ||
| int | flags | ||
| ) |
Definition at line 501 of file XrdPosix.cc.
References dirfd, stat, XrdPosixXrootd::Stat(), XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, and XrootPath.
Referenced by fstatat64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Fsync | ( | int | fildes | ) |
Definition at line 544 of file XrdPosix.cc.
References XrdPosixXrootd::Fsync(), XrdPosixLinkage::Fsync, XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by fsync().
Here is the call graph for this function:
Here is the caller graph for this function:| long XrdPosix_Ftell | ( | FILE * | stream | ) |
Definition at line 560 of file XrdPosix.cc.
References XrdPosixLinkage::Ftell, XrdPosixXrootd::Lseek(), XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by ftell().
Here is the call graph for this function:
Here is the caller graph for this function:| off_t XrdPosix_Ftello | ( | FILE * | stream | ) |
Definition at line 577 of file XrdPosix.cc.
References XrdPosixLinkage::Ftello64, XrdPosixXrootd::Lseek(), XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by ftello64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Ftruncate | ( | int | fildes, |
| off_t | offset | ||
| ) |
| size_t XrdPosix_Fwrite | ( | const void * | ptr, |
| size_t | size, | ||
| size_t | nitems, | ||
| FILE * | stream | ||
| ) |
Definition at line 610 of file XrdPosix.cc.
References fseterr(), XrdPosixLinkage::Fwrite, XrdPosixXrootd::myFD(), XrdPosixXrootd::Write(), Xroot, and Xunix.
Referenced by fwrite().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_isMyPath | ( | const char * | path | ) |
Definition at line 1274 of file XrdPosix.cc.
References XrdPosixXrootPath::URL(), and XrootPath.
Here is the call graph for this function:| off_t XrdPosix_Lseek | ( | int | fildes, |
| off_t | offset, | ||
| int | whence | ||
| ) |
Definition at line 676 of file XrdPosix.cc.
References XrdPosixXrootd::Lseek(), XrdPosixLinkage::Lseek64, XrdPosixXrootd::myFD(), Xroot, and Xunix.
Referenced by llseek(), and lseek64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Lstat | ( | const char * | path, |
| struct stat * | buf | ||
| ) |
Definition at line 692 of file XrdPosix.cc.
References XrdPosixXrootd::Stat(), XrdPosixXrootPath::URL(), Xroot, and XrootPath.
Referenced by lstat64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Mkdir | ( | const char * | path, |
| mode_t | mode | ||
| ) |
Definition at line 722 of file XrdPosix.cc.
References XrdPosixXrootd::Mkdir(), XrdPosixLinkage::Mkdir, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Referenced by mkdir().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Open | ( | const char * | path, |
| int | oflag, | ||
| ... | |||
| ) |
Definition at line 747 of file XrdPosix.cc.
References XrdPosixXrootd::Open(), XrdPosixLinkage::Open64, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Referenced by open64(), and XrdPosix_Creat().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Openat | ( | int | dirfd, |
| const char * | path, | ||
| int | flag, | ||
| ... | |||
| ) |
Definition at line 781 of file XrdPosix.cc.
References dirfd, XrdPosixXrootd::Open(), XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, and XrootPath.
Referenced by openat().
Here is the call graph for this function:
Here is the caller graph for this function:| DIR* XrdPosix_Opendir | ( | const char * | path | ) |
Definition at line 821 of file XrdPosix.cc.
References XrdPosixXrootd::Opendir(), XrdPosixLinkage::Opendir, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Referenced by opendir().
Here is the call graph for this function:
Here is the caller graph for this function:| long XrdPosix_Pathconf | ( | const char * | path, |
| int | name | ||
| ) |
Definition at line 848 of file XrdPosix.cc.
References XrdPosixLinkage::Pathconf, XrdPosixXrootPath::URL(), XrdResolveLink(), XrootPath, and Xunix.
Referenced by pathconf().
Here is the call graph for this function:
Here is the caller graph for this function:| ssize_t XrdPosix_Pread | ( | int | fildes, |
| void * | buf, | ||
| size_t | nbyte, | ||
| off_t | offset | ||
| ) |
Definition at line 866 of file XrdPosix.cc.
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Pread(), XrdPosixLinkage::Pread64, Xroot, and Xunix.
Referenced by pread64().
Here is the call graph for this function:
Here is the caller graph for this function:| ssize_t XrdPosix_Pwrite | ( | int | fildes, |
| const void * | buf, | ||
| size_t | nbyte, | ||
| off_t | offset | ||
| ) |
Definition at line 882 of file XrdPosix.cc.
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Pwrite(), XrdPosixLinkage::Pwrite64, Xroot, and Xunix.
Referenced by pwrite64().
Here is the call graph for this function:
Here is the caller graph for this function:| ssize_t XrdPosix_Read | ( | int | fildes, |
| void * | buf, | ||
| size_t | nbyte | ||
| ) |
Definition at line 898 of file XrdPosix.cc.
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Read(), XrdPosixLinkage::Read, Xroot, and Xunix.
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| struct dirent* XrdPosix_Readdir | ( | DIR * | dirp | ) |
Definition at line 932 of file XrdPosix.cc.
References XrdPosixXrootd::isXrootdDir(), XrdPosixXrootd::Readdir(), XrdPosixLinkage::Readdir, Xroot, and Xunix.
Here is the call graph for this function:| struct dirent64* XrdPosix_Readdir64 | ( | DIR * | dirp | ) |
Definition at line 941 of file XrdPosix.cc.
References XrdPosixXrootd::isXrootdDir(), XrdPosixXrootd::Readdir64(), XrdPosixLinkage::Readdir64, Xroot, and Xunix.
Referenced by readdir64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Readdir64_r | ( | DIR * | dirp, |
| struct dirent64 * | entry, | ||
| struct dirent64 ** | result | ||
| ) |
Definition at line 966 of file XrdPosix.cc.
References XrdPosixXrootd::isXrootdDir(), XrdPosixXrootd::Readdir64_r(), XrdPosixLinkage::Readdir64_r, Xroot, and Xunix.
Referenced by readdir64_r().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Readdir_r | ( | DIR * | dirp, |
| struct dirent * | entry, | ||
| struct dirent ** | result | ||
| ) |
Definition at line 957 of file XrdPosix.cc.
References XrdPosixXrootd::isXrootdDir(), XrdPosixXrootd::Readdir_r(), XrdPosixLinkage::Readdir_r, Xroot, and Xunix.
Here is the call graph for this function:| ssize_t XrdPosix_Readv | ( | int | fildes, |
| const struct iovec * | iov, | ||
| int | iovcnt | ||
| ) |
Definition at line 914 of file XrdPosix.cc.
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Readv(), XrdPosixLinkage::Readv, Xroot, and Xunix.
Referenced by readv().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Rename | ( | const char * | oname, |
| const char * | nname | ||
| ) |
Definition at line 982 of file XrdPosix.cc.
References XrdPosixXrootd::Rename(), XrdPosixLinkage::Rename, XrdPosixXrootPath::URL(), Xroot, XrootPath, and Xunix.
Referenced by rename().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdPosix_Rewinddir | ( | DIR * | dirp | ) |
Definition at line 1008 of file XrdPosix.cc.
References XrdPosixXrootd::isXrootdDir(), XrdPosixXrootd::Rewinddir(), XrdPosixLinkage::Rewinddir, Xroot, and Xunix.
Referenced by rewinddir().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Rmdir | ( | const char * | path | ) |
Definition at line 1024 of file XrdPosix.cc.
References XrdPosixXrootd::Rmdir(), XrdPosixLinkage::Rmdir, XrdPosixXrootPath::URL(), Xroot, XrootPath, and Xunix.
Referenced by rmdir().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdPosix_Seekdir | ( | DIR * | dirp, |
| long | loc | ||
| ) |
Definition at line 1049 of file XrdPosix.cc.
References XrdPosixXrootd::isXrootdDir(), XrdPosixXrootd::Seekdir(), XrdPosixLinkage::Seekdir, Xroot, and Xunix.
Referenced by seekdir().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Stat | ( | const char * | path, |
| struct stat * | buf | ||
| ) |
Definition at line 1065 of file XrdPosix.cc.
References XrdPosixXrootd::Stat(), XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, and XrootPath.
Referenced by stat64(), and XrdPosix_Statx().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Statfs | ( | const char * | path, |
| struct statfs * | buf | ||
| ) |
Definition at line 1133 of file XrdPosix.cc.
References XrdPosixXrootd::Statfs(), statfs64(), XrdPosixLinkage::Statfs64, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Referenced by statfs64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Statvfs | ( | const char * | path, |
| struct statvfs * | buf | ||
| ) |
Definition at line 1156 of file XrdPosix.cc.
References XrdPosixXrootd::Statvfs(), statvfs64(), XrdPosixLinkage::Statvfs64, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Referenced by statvfs64().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdPosix_Statx | ( | int | dirfd, |
| const char * | path, | ||
| int | flags, | ||
| unsigned int | mask, | ||
| XrdSysStatx * | stx | ||
| ) |
Definition at line 1091 of file XrdPosix.cc.
References dirfd, stat, XrdSysStatxHelpers::Stat2Statx(), XrdPosixXrootPath::URL(), XrdPosix_Stat(), XrdResolveLink(), and XrootPath.
Here is the call graph for this function:| long XrdPosix_Telldir | ( | DIR * | dirp | ) |
Definition at line 1178 of file XrdPosix.cc.
References XrdPosixXrootd::isXrootdDir(), XrdPosixXrootd::Telldir(), XrdPosixLinkage::Telldir, Xroot, and Xunix.
Here is the call graph for this function:| int XrdPosix_Truncate | ( | const char * | path, |
| off_t | offset | ||
| ) |
Definition at line 1194 of file XrdPosix.cc.
References XrdPosixXrootd::Truncate(), XrdPosixLinkage::Truncate64, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Here is the call graph for this function:| int XrdPosix_Unlink | ( | const char * | path | ) |
Definition at line 1219 of file XrdPosix.cc.
References XrdPosixXrootd::Unlink(), XrdPosixLinkage::Unlink, XrdPosixXrootPath::URL(), XrdResolveLink(), Xroot, XrootPath, and Xunix.
Here is the call graph for this function:| char* XrdPosix_URL | ( | const char * | path, |
| char * | buff, | ||
| int | blen | ||
| ) |
Definition at line 1283 of file XrdPosix.cc.
References XrdPosixXrootPath::URL(), and XrootPath.
Here is the call graph for this function:| ssize_t XrdPosix_Write | ( | int | fildes, |
| const void * | buf, | ||
| size_t | nbyte | ||
| ) |
Definition at line 1244 of file XrdPosix.cc.
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Write(), XrdPosixLinkage::Write, Xroot, and Xunix.
Here is the call graph for this function:| ssize_t XrdPosix_Writev | ( | int | fildes, |
| const struct iovec * | iov, | ||
| int | iovcnt | ||
| ) |
Definition at line 1260 of file XrdPosix.cc.
References XrdPosixXrootd::myFD(), XrdPosixXrootd::Writev(), XrdPosixLinkage::Writev, Xroot, and Xunix.
Here is the call graph for this function: