![]() |
XRootD
|
#include <sys/types.h>
#include <cstdarg>
#include <unistd.h>
#include <cstdlib>
#include "XrdPosix/XrdPosixLinkage.hh"
#include "XrdPosix/XrdPosixOsDep.hh"
#include "XrdPosix/XrdPosixExtern.hh"
Go to the source code of this file.
Functions | |
int | access (const char *path, int amode) |
int | acl (const char *path, int cmd, int nentries, void *aclbufp) |
int | chdir (const char *path) |
int | close (int fildes) |
int | closedir (DIR *dirp) |
int | creat64 (const char *path, mode_t mode) |
int | fclose (FILE *stream) |
int | fcntl64 (int fd, int cmd,...) |
int | fdatasync (int fildes) |
int | fflush (FILE *stream) |
FILE * | fopen64 (const char *path, const char *mode) |
size_t | fread (void *ptr, size_t size, size_t nitems, FILE *stream) |
int | fseek (FILE *stream, long offset, int whence) |
int | fseeko64 (FILE *stream, off64_t offset, int whence) |
int | fstat64 (int fildes, struct stat64 *buf) |
int | fsync (int fildes) |
long | ftell (FILE *stream) |
off64_t | ftello64 (FILE *stream) |
int | ftruncate64 (int fildes, off_t offset) |
size_t | fwrite (const void *ptr, size_t size, size_t nitems, FILE *stream) |
offset_t | llseek (int fildes, offset_t offset, int whence) |
off64_t | lseek64 (int fildes, off64_t offset, int whence) |
int | lstat64 (const char *path, struct stat64 *buf) |
int | mkdir (const char *path, mode_t mode) |
int | open64 (const char *path, int oflag,...) |
DIR * | opendir (const char *path) |
long | pathconf (const char *path, int name) |
ssize_t | pread64 (int fildes, void *buf, size_t nbyte, off_t offset) |
ssize_t | pwrite64 (int fildes, const void *buf, size_t nbyte, off_t offset) |
ssize_t | read (int fildes, void *buf, size_t nbyte) |
struct dirent64 * | readdir64 (DIR *dirp) |
int | readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) |
ssize_t | readv (int fildes, const struct iovec *iov, int iovcnt) |
int | rename (const char *oldpath, const char *newpath) |
void | rewinddir (DIR *dirp) |
int | rmdir (const char *path) |
void | seekdir (DIR *dirp, long loc) |
int | stat64 (const char *path, struct stat64 *buf) |
int | statfs64 (const char *path, struct statfs64 *buf) |
int | statvfs64 (const char *path, struct statvfs64 *buf) |
long | telldir (DIR *dirp) |
int | truncate64 (const char *path, off_t offset) |
int | unlink (const char *path) |
ssize_t | write (int fildes, const void *buf, size_t nbyte) |
ssize_t | writev (int fildes, const struct iovec *iov, int iovcnt) |
Variables | |
XrdPosixLinkage | Xunix |
int access | ( | const char * | path, |
int | amode | ||
) |
Definition at line 83 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Access(), and Xunix.
Referenced by XrdOucGMap::XrdOucGMap(), XrdSsi::ShMap< T >::Attach(), XrdSecProtocolkrb5::getCredentials(), XrdSecProtocolgsi::Init(), main(), XrdCmsMeter::Monitor(), XrdXrootdPrepare::setParms(), XrdOucProg::Setup(), and XrdNetSocket::socketPath().
int acl | ( | const char * | path, |
int | cmd, | ||
int | nentries, | ||
void * | aclbufp | ||
) |
Definition at line 99 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Acl(), and Xunix.
int chdir | ( | const char * | path | ) |
Definition at line 113 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Chdir, XrdPosixLinkage::Init(), XrdPosix_Chdir(), and Xunix.
Referenced by XrdOucUtils::makeHome().
int close | ( | int | fildes | ) |
Definition at line 127 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Close(), and Xunix.
int closedir | ( | DIR * | dirp | ) |
Definition at line 141 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Closedir, XrdPosixLinkage::Init(), XrdPosix_Closedir(), and Xunix.
Referenced by XrdSysDir::~XrdSysDir(), XrdXrootdPrepArgs::~XrdXrootdPrepArgs(), XrdDigDirectory::close(), XrdOfsDirectory::close(), XrdSfsNativeDirectory::close(), XrdOssDir::Close(), XrdW41Dirs::Expand(), XrdCl::Utils::GetDirectoryEntries(), XrdXrootdPrepare::List(), XrdXrootdPrepare::Scrub(), and XrdOssSys::xspace().
int creat64 | ( | const char * | path, |
mode_t | mode | ||
) |
Definition at line 155 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Creat(), and Xunix.
int fclose | ( | FILE * | stream | ) |
Definition at line 169 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fclose(), and Xunix.
Referenced by XrdCryptosslX509::XrdCryptosslX509(), BlacklistDecision::ConfigDecision(), main(), ReadPasswd(), ReadPuk(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ParseFile(), and XrdSecgsiGMAPInit().
int fcntl64 | ( | int | fd, |
int | cmd, | ||
... | |||
) |
Definition at line 183 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fcntl(), and Xunix.
int fdatasync | ( | int | fildes | ) |
Definition at line 203 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fdatasync(), and Xunix.
Referenced by XrdOssFile::Flush().
int fflush | ( | FILE * | stream | ) |
Definition at line 218 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fflush(), and Xunix.
Referenced by __eprintf().
FILE* fopen64 | ( | const char * | path, |
const char * | mode | ||
) |
Definition at line 232 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fopen(), and Xunix.
size_t fread | ( | void * | ptr, |
size_t | size, | ||
size_t | nitems, | ||
FILE * | stream | ||
) |
Definition at line 246 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fread(), and Xunix.
int fseek | ( | FILE * | stream, |
long | offset, | ||
int | whence | ||
) |
Definition at line 260 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fseek(), and Xunix.
Referenced by fseteof().
int fseeko64 | ( | FILE * | stream, |
off64_t | offset, | ||
int | whence | ||
) |
Definition at line 274 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fseeko(), and Xunix.
int fstat64 | ( | int | fildes, |
struct stat64 * | buf | ||
) |
Definition at line 291 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), stat(), XrdPosix_Fstat(), and Xunix.
int fsync | ( | int | fildes | ) |
Definition at line 310 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fsync(), and Xunix.
Referenced by XrdOssSpace::Adjust(), XrdFrcReqFile::Can(), XrdOfsCPFile::Create(), XrdOucStream::Flush(), XrdSysLogger::Flush(), XrdOssFile::Fsync(), XrdOfsCPFile::Sync(), XrdSfsNativeFile::sync(), and XrdCl::LocalFileHandler::Sync().
long ftell | ( | FILE * | stream | ) |
Definition at line 324 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Ftell(), and Xunix.
off64_t ftello64 | ( | FILE * | stream | ) |
Definition at line 338 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Ftello(), and Xunix.
int ftruncate64 | ( | int | fildes, |
off_t | offset | ||
) |
Definition at line 352 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Ftruncate(), and Xunix.
size_t fwrite | ( | const void * | ptr, |
size_t | size, | ||
size_t | nitems, | ||
FILE * | stream | ||
) |
Definition at line 366 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fwrite(), and Xunix.
Referenced by main().
offset_t llseek | ( | int | fildes, |
offset_t | offset, | ||
int | whence | ||
) |
Definition at line 445 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.
off64_t lseek64 | ( | int | fildes, |
off64_t | offset, | ||
int | whence | ||
) |
Definition at line 428 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.
int lstat64 | ( | const char * | path, |
struct stat64 * | buf | ||
) |
Definition at line 463 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), stat(), XrdPosix_Lstat(), and Xunix.
int mkdir | ( | const char * | path, |
mode_t | mode | ||
) |
Definition at line 478 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Mkdir, XrdPosix_Mkdir(), and Xunix.
Referenced by XrdOssCache_FS::XrdOssCache_FS(), XrdOssCache::Alloc(), XrdTlsTempCA::TempCAGuard::create(), XrdOssSpace::Init(), XrdOssSys::Mkdir(), XrdSfsUFS::Mkdir(), XrdCl::LocalFileHandler::MkdirPath(), XrdOssSys::Mkpath(), and XrdSutMkdir().
int open64 | ( | const char * | path, |
int | oflag, | ||
... | |||
) |
Definition at line 492 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Open(), and Xunix.
DIR* opendir | ( | const char * | path | ) |
Definition at line 511 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Opendir, XrdPosix_Opendir(), and Xunix.
Referenced by XrdSysDir::XrdSysDir(), XrdW41Dirs::Expand(), ExpPuk(), XrdCl::Utils::GetDirectoryEntries(), XrdXrootdPrepare::List(), XrdDigDirectory::open(), XrdSfsNativeDirectory::open(), XrdOfsDirectory::open(), and XrdXrootdPrepare::Scrub().
long pathconf | ( | const char * | path, |
int | name | ||
) |
Definition at line 527 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Pathconf(), and Xunix.
Referenced by XrdOucgetName2Name().
ssize_t pread64 | ( | int | fildes, |
void * | buf, | ||
size_t | nbyte, | ||
off_t | offset | ||
) |
Definition at line 541 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Pread(), and Xunix.
ssize_t pwrite64 | ( | int | fildes, |
const void * | buf, | ||
size_t | nbyte, | ||
off_t | offset | ||
) |
Definition at line 555 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Pwrite(), and Xunix.
ssize_t read | ( | int | fildes, |
void * | buf, | ||
size_t | nbyte | ||
) |
Definition at line 569 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Read(), and Xunix.
Referenced by XrdTlsTempCA::~XrdTlsTempCA(), BIO_XrdLink_read(), XrdCl::CheckSumManager::Calculate(), ExpPuk(), fGetXattrAdler32(), XrdSecsssKT::genKey(), XrdOucUtils::getFile(), XrdOucStream::GetLine(), XrdPoll::getRequest(), XrdSys::IOEvents::Poller::GetRequest(), XrdCmsSecurity::getVnId(), if(), XrdSutRndm::Init(), XrdOssSpace::Init(), XrdOssCsiFileAioJob::Init(), main(), XrdCmsAdmin::MonAds(), XrdCl::Socket::Read(), XrdEc::Reader::Read(), XrdCl::LocalFileHandler::Read(), XrdDigFile::read(), ReadPuk(), XrdCl::Socket::ReadRaw(), XrdLinkXeq::Recv(), XrdOfsCPFile::RestoreInfo(), XrdScheduler::setNproc(), XrdOfsCPFile::Target(), XrdOucUtils::Undercover(), and XrdFrmConfigMum().
struct dirent64* readdir64 | ( | DIR * | dirp | ) |
Definition at line 597 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Readdir64, XrdPosix_Readdir64(), and Xunix.
int readdir64_r | ( | DIR * | dirp, |
struct dirent64 * | entry, | ||
struct dirent64 ** | result | ||
) |
Definition at line 611 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Readdir64_r, XrdPosix_Readdir64_r(), and Xunix.
ssize_t readv | ( | int | fildes, |
const struct iovec * | iov, | ||
int | iovcnt | ||
) |
Definition at line 583 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Readv(), and Xunix.
Referenced by XrdCl::Socket::ReadV(), XrdCl::LocalFileHandler::ReadV(), and XrdLinkXeq::RecvIOV().
int rename | ( | const char * | oldpath, |
const char * | newpath | ||
) |
Definition at line 626 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Rename, XrdPosix_Rename(), and Xunix.
Referenced by XrdTlsTempCA::TempCAGuard::commit(), XrdOfsCPFile::ErrState(), XrdOssSys::Reloc(), XrdOssSys::Rename(), XrdSfsUFS::Rename(), XrdOssSys::RenameLink(), XrdOssSys::RenameLink3(), XrdSecsssKT::Rewrite(), and XrdSutPFile::Trim().
void rewinddir | ( | DIR * | dirp | ) |
Definition at line 641 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Rewinddir, XrdPosix_Rewinddir(), and Xunix.
int rmdir | ( | const char * | path | ) |
Definition at line 656 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Rmdir, XrdPosix_Rmdir(), and Xunix.
Referenced by XrdSfsUFS::Remdir(), and XrdOssSys::Unlink().
void seekdir | ( | DIR * | dirp, |
long | loc | ||
) |
Definition at line 670 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Seekdir, XrdPosix_Seekdir(), and Xunix.
int stat64 | ( | const char * | path, |
struct stat64 * | buf | ||
) |
Definition at line 687 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), stat(), XrdPosix_Stat(), and Xunix.
Referenced by fstat(), lstat(), stat(), XrdPosix_Fstat(), XrdPosix_Lstat(), and XrdPosix_Stat().
int statfs64 | ( | const char * | path, |
struct statfs64 * | buf | ||
) |
Definition at line 703 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), statfs(), XrdPosix_Statfs(), and Xunix.
Referenced by statfs(), and XrdPosix_Statfs().
int statvfs64 | ( | const char * | path, |
struct statvfs64 * | buf | ||
) |
Definition at line 718 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), statvfs(), XrdPosix_Statvfs(), and Xunix.
Referenced by statvfs(), and XrdPosix_Statvfs().
long telldir | ( | DIR * | dirp | ) |
Definition at line 732 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Telldir, XrdPosix_Telldir(), and Xunix.
int truncate64 | ( | const char * | path, |
off_t | offset | ||
) |
Definition at line 746 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Truncate(), and Xunix.
int unlink | ( | const char * | path | ) |
Definition at line 760 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Unlink, XrdPosix_Unlink(), and Xunix.
Referenced by XrdTlsTempCA::TempCAGuard::~TempCAGuard(), XrdOucSxeq::~XrdOucSxeq(), XrdOssSys::Alloc_Cache(), XrdOssSys::BreakLink(), XrdFrmTransfer::checkFF(), XrdOssCopy::Copy(), XrdOssSys::Create(), XrdOfsCPFile::Create(), XrdOfsCPFile::Destroy(), XrdXrootdPrepare::Logdel(), main(), XrdNetSocket::Open(), XrdOucUtils::ReLink(), XrdOssSys::Reloc(), XrdSfsUFS::Rem(), XrdOssSys::RenameLink(), XrdSecsssKT::Rewrite(), XrdXrootdPrepare::Scrub(), XrdOssSys::SetFattr(), XrdOssSys::Unlink(), XrdOssAt::Unlink(), XrdCmsState::Update(), and XrdSecsssAdmin_delKey().
ssize_t write | ( | int | fildes, |
const void * | buf, | ||
size_t | nbyte | ||
) |
Definition at line 774 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Write(), and Xunix.
Referenced by XrdTlsTempCA::~XrdTlsTempCA(), XrdSecTLayer::Authenticate(), cfOut(), XrdConfig::Configure(), XrdFrmConfig::Configure(), XrdPollPoll::Disable(), DoTail(), XrdPollPoll::Enable(), XrdPollPoll::Exclude(), ExpPuk(), XrdSecTLayer::getCredentials(), XrdOssSpace::Init(), main(), XrdOucUtils::PidFile(), XrdOucStream::Put(), XrdCmsAdmin::Relay(), XrdSutPFile::RemoveEntry(), XrdSecsssKT::Rewrite(), XrdMpxOut::Run(), SavePasswd(), SavePuk(), XrdLinkXeq::Send(), XrdCl::Socket::Send(), XrdSys::IOEvents::Poller::SendCmd(), XrdLinkXeq::sendData(), XrdLinkXeq::SendIOV(), XrdCl::LogOutFile::Write(), XrdSutPFile::WriteEntry(), and XrdCl::Socket::WriteRaw().
ssize_t writev | ( | int | fildes, |
const struct iovec * | iov, | ||
int | iovcnt | ||
) |
Definition at line 788 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Writev(), and Xunix.
Referenced by XrdOfsCPFile::Append(), XrdOfsCPFile::Create(), XrdXrootdPrepare::Log(), XrdSysLogger::Put(), XrdLinkXeq::SendIOV(), and XrdCl::LocalFileHandler::WriteV().
|
extern |
Definition at line 57 of file XrdPosixLinkage.cc.
Referenced by access(), acl(), chdir(), close(), closedir(), creat64(), fclose(), fcntl64(), fdatasync(), fflush(), fopen64(), fread(), fseek(), fseeko64(), fstat64(), fsync(), ftell(), ftello64(), ftruncate64(), fwrite(), llseek(), lseek64(), lstat64(), mkdir(), open64(), opendir(), pathconf(), pread64(), pwrite64(), read(), readdir64(), readdir64_r(), readv(), rename(), rewinddir(), rmdir(), seekdir(), stat64(), statfs64(), statvfs64(), telldir(), truncate64(), unlink(), write(), and writev().