![]() |
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 XrdPosix_Open(), and Xunix.
int fcntl | ( | int | fd, |
int | cmd, | ||
... ) |
Definition at line 190 of file XrdPosixPreload32.cc.
References 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 XrdPosix_Fseeko(), and Xunix.
int fstat | ( | int | fildes, |
struct stat * | buf ) |
Definition at line 248 of file XrdPosixPreload32.cc.
References XrdPosixXrootd::myFD(), stat, stat64(), XrdPosix_CopyStat(), XrdPosix_Fstat(), and Xunix.
off_t ftello | ( | FILE * | stream | ) |
Definition at line 279 of file XrdPosixPreload32.cc.
References XrdPosix_Ftello(), and Xunix.
int ftruncate | ( | int | fildes, |
off_t | offset ) |
Definition at line 295 of file XrdPosixPreload32.cc.
References XrdPosix_Ftruncate(), and Xunix.
off_t lseek | ( | int | fildes, |
off_t | offset, | ||
int | whence ) |
Definition at line 311 of file XrdPosixPreload32.cc.
References XrdPosix_Lseek(), and Xunix.
int lstat | ( | const char * | path, |
struct stat * | buf ) |
Definition at line 332 of file XrdPosixPreload32.cc.
References 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 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 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 XrdPosix_Pwrite(), and Xunix.
struct dirent * readdir | ( | DIR * | dirp | ) |
Definition at line 401 of file XrdPosixPreload32.cc.
References 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 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 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 statfs, statfs64(), XrdPosix_Statfs(), and Xunix.
int statvfs | ( | const char * | path, |
struct statvfs * | buf ) |
Definition at line 549 of file XrdPosixPreload32.cc.
References statvfs, statvfs64(), XrdPosix_Statvfs(), and Xunix.
int truncate | ( | const char * | path, |
off_t | offset ) |
Definition at line 576 of file XrdPosixPreload32.cc.
References 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.
References stat, and stat64().
Referenced by fstat(), lstat(), and stat().
|
extern |
Definition at line 57 of file XrdPosixLinkage.cc.