![]() |
XRootD
|
#include <cerrno>
#include <dirent.h>
#include <cstdio>
#include <cstdarg>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <cstdlib>
#include <sys/statfs.h>
#include "XrdPosix/XrdPosixExtern.hh"
#include "XrdPosix/XrdPosixLinkage.hh"
#include "XrdPosix/XrdPosixOsDep.hh"
#include "XrdPosix/XrdPosixXrootd.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysPlatform.hh"
Go to the source code of this file.
Macros | |
#define | XRDPOSIXPRELOAD32 |
Functions | |
int | creat (const char *path, mode_t mode) |
int | fcntl (int fd, int cmd,...) |
int | fseeko (FILE *stream, off_t offset, int whence) |
int | fstat (int fildes, struct stat *buf) |
off_t | ftello (FILE *stream) |
int | ftruncate (int fildes, off_t offset) |
off_t | lseek (int fildes, off_t offset, int whence) |
int | lstat (const char *path, struct stat *buf) |
int | open (const char *path, int oflag,...) |
ssize_t | pread (int fildes, void *buf, size_t nbyte, off_t offset) |
ssize_t | pwrite (int fildes, const void *buf, size_t nbyte, off_t offset) |
struct dirent * | readdir (DIR *dirp) |
int | readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result) |
int | stat (const char *path, struct stat *buf) |
int | statfs (const char *path, struct statfs *buf) |
int | statvfs (const char *path, struct statvfs *buf) |
int | truncate (const char *path, off_t offset) |
int | XrdPosix_CopyDirent (struct dirent *dent, struct dirent64 *dent64) |
int | XrdPosix_CopyStat (struct stat *buf, struct stat64 &buf64) |
Variables | |
XrdPosixLinkage | Xunix |
#define XRDPOSIXPRELOAD32 |
Definition at line 53 of file XrdPosixPreload32.cc.
int creat | ( | const char * | path, |
mode_t | mode | ||
) |
Definition at line 175 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Open(), and Xunix.
int fcntl | ( | int | fd, |
int | cmd, | ||
... | |||
) |
Definition at line 190 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Fcntl, XrdPosixLinkage::Init(), XrdPosixXrootd::myFD(), and Xunix.
Referenced by XrdScheduler::XrdScheduler(), XrdSutFileLocker::XrdSutFileLocker(), XrdSutFileLocker::~XrdSutFileLocker(), XrdTlsSocket::Accept(), XrdSutPFile::Close(), XrdNetConnect::Connect(), XrdOucStream::Exec(), XrdCl::Socket::GetFlags(), XrdTlsSocket::Init(), XrdCl::Socket::Initialize(), XrdPoll::newPoller(), XrdSutPFile::Open(), XrdOucSxeq::Release(), XrdOucSxeq::Release(), XrdOfsCPFile::Reserve(), XrdOucSxeq::Serialize(), XrdOucSxeq::Serialize(), XrdW41Gate::Serialize(), XrdCl::Socket::SetFlags(), and XrdFrcUtils::Unique().
int fseeko | ( | FILE * | stream, |
off_t | offset, | ||
int | whence | ||
) |
Definition at line 227 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fseeko(), and Xunix.
int fstat | ( | int | fildes, |
struct stat * | buf | ||
) |
Definition at line 248 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Fstat, XrdPosixLinkage::Init(), XrdPosixXrootd::myFD(), stat, stat64(), XrdPosix_CopyStat(), XrdPosix_Fstat(), and Xunix.
off_t ftello | ( | FILE * | stream | ) |
Definition at line 279 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Ftello(), and Xunix.
int ftruncate | ( | int | fildes, |
off_t | offset | ||
) |
Definition at line 295 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Ftruncate(), and Xunix.
off_t lseek | ( | int | fildes, |
off_t | offset, | ||
int | whence | ||
) |
Definition at line 311 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.
int lstat | ( | const char * | path, |
struct stat * | buf | ||
) |
Definition at line 332 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Lstat, stat, stat64(), XrdPosix_CopyStat(), XrdPosix_isMyPath(), XrdPosix_Lstat(), and Xunix.
Referenced by XrdOssCopy::Copy(), XrdOssSys::Create(), XrdOssPath::Extract(), XrdOssCache::Find(), XrdOssPath::getCname(), XrdCl::LocalFileHandler::MkdirPath(), XrdOssSys::Remdir(), XrdOssSys::Rename(), XrdOssSys::RenameLink(), XrdDigUFS::Statlk(), XrdOssSys::Truncate(), and XrdOssSys::Unlink().
int open | ( | const char * | path, |
int | oflag, | ||
... | |||
) |
Definition at line 364 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Open(), and Xunix.
ssize_t pread | ( | int | fildes, |
void * | buf, | ||
size_t | nbyte, | ||
off_t | offset | ||
) |
Definition at line 385 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Pread(), and Xunix.
ssize_t pwrite | ( | int | fildes, |
const void * | buf, | ||
size_t | nbyte, | ||
off_t | offset | ||
) |
Definition at line 465 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Pwrite(), and Xunix.
struct dirent * readdir | ( | DIR * | dirp | ) |
Definition at line 401 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Readdir64, XrdPosix_CopyDirent(), XrdPosix_Readdir64(), and Xunix.
int readdir_r | ( | DIR * | dirp, |
struct dirent * | entry, | ||
struct dirent ** | result | ||
) |
Definition at line 429 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Readdir64_r, XrdPosix_CopyDirent(), XrdPosix_Readdir64_r(), XrdPosix_Readdir_r(), and Xunix.
int stat | ( | const char * | path, |
struct stat * | buf | ||
) |
Definition at line 486 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), stat, XrdPosixLinkage::Stat, stat64(), XrdPosix_CopyStat(), XrdPosix_isMyPath(), XrdPosix_Stat(), and Xunix.
int statfs | ( | const char * | path, |
struct statfs * | buf | ||
) |
Definition at line 517 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), statfs, statfs64(), XrdPosix_Statfs(), and Xunix.
int statvfs | ( | const char * | path, |
struct statvfs * | buf | ||
) |
Definition at line 549 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), statvfs, statvfs64(), XrdPosix_Statvfs(), and Xunix.
int truncate | ( | const char * | path, |
off_t | offset | ||
) |
Definition at line 576 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Init(), XrdPosix_Truncate(), and Xunix.
int XrdPosix_CopyDirent | ( | struct dirent * | dent, |
struct dirent64 * | dent64 | ||
) |
Definition at line 99 of file XrdPosixPreload32.cc.
Referenced by readdir(), and readdir_r().
Definition at line 140 of file XrdPosixPreload32.cc.
Referenced by fstat(), lstat(), and stat().
|
extern |
Definition at line 56 of file XrdPosixLinkage.cc.
Referenced by creat(), fcntl(), fseeko(), fstat(), ftello(), ftruncate(), lseek(), lstat(), open(), pread(), pwrite(), readdir(), readdir_r(), stat(), statfs(), statvfs(), truncate(), Xrd_U_Access(), Xrd_U_Acl(), Xrd_U_Chdir(), Xrd_U_Close(), Xrd_U_Closedir(), Xrd_U_Fclose(), Xrd_U_Fcntl(), Xrd_U_Fcntl64(), Xrd_U_Fdatasync(), Xrd_U_Fflush(), Xrd_U_Fgetxattr(), Xrd_U_Fopen(), Xrd_U_Fopen64(), Xrd_U_Fread(), Xrd_U_Fseek(), Xrd_U_Fseeko(), Xrd_U_Fseeko64(), Xrd_U_Fstat(), Xrd_U_Fstat64(), Xrd_U_Fsync(), Xrd_U_Ftell(), Xrd_U_Ftello(), Xrd_U_Ftello64(), Xrd_U_Ftruncate(), Xrd_U_Ftruncate64(), Xrd_U_Fwrite(), Xrd_U_Getxattr(), Xrd_U_Lgetxattr(), Xrd_U_Lseek(), Xrd_U_Lseek64(), Xrd_U_Lstat(), Xrd_U_Lstat64(), Xrd_U_Mkdir(), Xrd_U_Open(), Xrd_U_Open64(), Xrd_U_Opendir(), Xrd_U_Pathconf(), Xrd_U_Pread(), Xrd_U_Pread64(), Xrd_U_Pwrite(), Xrd_U_Pwrite64(), Xrd_U_Read(), Xrd_U_Readdir(), Xrd_U_Readdir64(), Xrd_U_Readdir64_r(), Xrd_U_Readdir_r(), Xrd_U_Readv(), Xrd_U_Rename(), Xrd_U_Rewinddir(), Xrd_U_Rmdir(), Xrd_U_Seekdir(), Xrd_U_Stat(), Xrd_U_Stat64(), Xrd_U_Statfs(), Xrd_U_Statfs64(), Xrd_U_Statvfs(), Xrd_U_Statvfs64(), Xrd_U_Telldir(), Xrd_U_Truncate(), Xrd_U_Truncate64(), Xrd_U_Unlink(), Xrd_U_Write(), and Xrd_U_Writev().