#include <errno.h>
#include <dirent.h>
#include <stdio.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#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.
Defines | |
#define | XRDPOSIXPRELOAD32 |
Functions | |
int | XrdPosix_CopyDirent (struct dirent *dent, struct dirent64 *dent64) |
int | XrdPosix_CopyStat (struct stat *buf, struct stat64 &buf64) |
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) |
dirent * | readdir (DIR *dirp) |
int | readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result) |
ssize_t | pwrite (int fildes, const void *buf, size_t nbyte, off_t offset) |
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) |
Variables | |
const char * | XrdPosixPreload32CVSID = "$Id: XrdPosixPreload32.cc 30949 2009-11-02 16:37:58Z ganis $" |
XrdPosixLinkage | Xunix |
#define XRDPOSIXPRELOAD32 |
Definition at line 20 of file XrdPosixPreload32.cc.
int creat | ( | const char * | path, | |
mode_t | mode | |||
) |
Definition at line 129 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Open(), and Xunix.
Referenced by TProofServ::CatMotd(), and main().
int fcntl | ( | int | fd, | |
int | cmd, | |||
... | ||||
) |
Definition at line 144 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Fcntl, Init(), XrdPosixLinkage::Init(), XrdPosixXrootd::myFD(), and Xunix.
Referenced by XrdSecTLayer::bootUp(), XrdFrmFileset::chkLock(), XrdSutPFile::Close(), XrdFrmConfig::ConfigMum(), XrdNetConnect::Connect(), XrdOucStream::Exec(), XrdFrmReqFile::FileLock(), XrdMonBufferedOutput::flush(), FT_Stream_Open(), XrdFrmFileset::getLock(), TUnixSystem::GetSockOpt(), XrdFrmReqFile::Init(), XrdOucNSWalk::LockFile(), XrdSutPFile::Open(), XrdOssFile::Open_ufs(), read__fixio(), XrdSysLogger::ReBind(), XrdOucSxeq::Release(), XrdFrmReqFile::ReWrite(), XrdSecProtocolssl::secClient(), XrdSecProtocolssl::secServer(), XrdFrmXfrQueue::Send2File(), XrdOssLock::Serialize(), XrdOucSxeq::Serialize(), XrdW41Gate::Serialize(), XrdNetLink::SetOpts(), XrdNetSocket::setOpts(), XrdLink::Setup(), XrdFrmTransfer::ThrowOK(), XrdFrmUtils::Unique(), XrdFrmCID::Update(), XrdOssSpace::UsageLock(), XrdOssLock::XLock(), XrdPoll::XrdPoll(), XrdSutFileLocker::XrdSutFileLocker(), XrdSysLogger::XrdSysLogger(), and XrdSutFileLocker::~XrdSutFileLocker().
int fseeko | ( | FILE * | stream, | |
off_t | offset, | |||
int | whence | |||
) |
Definition at line 181 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Fseeko(), and Xunix.
int fstat | ( | int | fildes, | |
struct stat * | buf | |||
) |
Definition at line 202 of file XrdPosixPreload32.cc.
References XrdPosixLinkage::Fstat, Init(), XrdPosixLinkage::Init(), XrdPosixXrootd::myFD(), stat, stat64(), XrdPosix_CopyStat(), XrdPosix_Fstat(), and Xunix.
off_t ftello | ( | FILE * | stream | ) |
Definition at line 233 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Ftello(), and Xunix.
int ftruncate | ( | int | fildes, | |
off_t | offset | |||
) |
Definition at line 249 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Ftruncate(), and Xunix.
off_t lseek | ( | int | fildes, | |
off_t | offset, | |||
int | whence | |||
) |
Definition at line 265 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.
int lstat | ( | const char * | path, | |
struct stat * | buf | |||
) |
Definition at line 286 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosixLinkage::Lstat, stat, stat64(), XrdPosix_CopyStat(), XrdPosix_isMyPath(), XrdPosix_Lstat(), and Xunix.
int open | ( | const char * | path, | |
int | oflag, | |||
... | ||||
) |
Definition at line 317 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Open(), and Xunix.
ssize_t pread | ( | int | fildes, | |
void * | buf, | |||
size_t | nbyte, | |||
off_t | offset | |||
) |
Definition at line 338 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Pread(), and Xunix.
ssize_t pwrite | ( | int | fildes, | |
const void * | buf, | |||
size_t | nbyte, | |||
off_t | offset | |||
) |
Definition at line 409 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Pwrite(), and Xunix.
struct dirent* readdir | ( | DIR * | dirp | ) |
Definition at line 354 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_CopyDirent(), XrdPosix_Readdir64(), and Xunix.
int readdir_r | ( | DIR * | dirp, | |
struct dirent * | entry, | |||
struct dirent ** | result | |||
) |
Definition at line 377 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_CopyDirent(), XrdPosix_Readdir64_r(), XrdPosix_Readdir_r(), and Xunix.
int stat | ( | const char * | path, | |
struct stat * | buf | |||
) |
Definition at line 430 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosixLinkage::Stat, stat, stat64(), XrdPosix_CopyStat(), XrdPosix_isMyPath(), XrdPosix_Stat(), and Xunix.
int statfs | ( | const char * | path, | |
struct statfs * | buf | |||
) |
Definition at line 461 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), statfs, statfs64(), XrdPosix_Statfs(), and Xunix.
int statvfs | ( | const char * | path, | |
struct statvfs * | buf | |||
) |
Definition at line 489 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), statvfs, statvfs64(), XrdPosix_Statvfs(), and Xunix.
int truncate | ( | const char * | path, | |
off_t | offset | |||
) |
Definition at line 516 of file XrdPosixPreload32.cc.
References Init(), XrdPosixLinkage::Init(), XrdPosix_Truncate(), and Xunix.
int XrdPosix_CopyDirent | ( | struct dirent * | dent, | |
struct dirent64 * | dent64 | |||
) |
Definition at line 63 of file XrdPosixPreload32.cc.
References strcpy().
Referenced by readdir(), and readdir_r().
int XrdPosix_CopyStat | ( | struct stat * | buf, | |
struct stat64 & | buf64 | |||
) |
const char* XrdPosixPreload32CVSID = "$Id: XrdPosixPreload32.cc 30949 2009-11-02 16:37:58Z ganis $" |
Definition at line 13 of file XrdPosixPreload32.cc.
Definition at line 40 of file XrdPosixLinkage.cc.