![]() |
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) |
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 79 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 95 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Acl(), and Xunix.
int chdir | ( | const char * | path | ) |
Definition at line 109 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Chdir, XrdPosixLinkage::Init(), XrdPosix_Chdir(), and Xunix.
Referenced by XrdOucUtils::makeHome().
int close | ( | int | fildes | ) |
Definition at line 123 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Close(), and Xunix.
int closedir | ( | DIR * | dirp | ) |
Definition at line 137 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 151 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Creat(), and Xunix.
int fclose | ( | FILE * | stream | ) |
Definition at line 165 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 179 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fcntl(), and Xunix.
int fdatasync | ( | int | fildes | ) |
Definition at line 199 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fdatasync(), and Xunix.
Referenced by XrdOssFile::Flush().
int fflush | ( | FILE * | stream | ) |
Definition at line 214 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 228 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 242 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fread(), and Xunix.
int fseek | ( | FILE * | stream, |
long | offset, | ||
int | whence | ||
) |
Definition at line 256 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 270 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Fseeko(), and Xunix.
int fstat64 | ( | int | fildes, |
struct stat64 * | buf | ||
) |
Definition at line 287 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), stat(), XrdPosix_Fstat(), and Xunix.
int fsync | ( | int | fildes | ) |
Definition at line 306 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 320 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Ftell(), and Xunix.
off64_t ftello64 | ( | FILE * | stream | ) |
Definition at line 334 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Ftello(), and Xunix.
int ftruncate64 | ( | int | fildes, |
off_t | offset | ||
) |
Definition at line 348 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 362 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 441 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.
off64_t lseek64 | ( | int | fildes, |
off64_t | offset, | ||
int | whence | ||
) |
Definition at line 424 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.
int lstat64 | ( | const char * | path, |
struct stat64 * | buf | ||
) |
Definition at line 459 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), stat(), XrdPosix_Lstat(), and Xunix.
int mkdir | ( | const char * | path, |
mode_t | mode | ||
) |
Definition at line 474 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 488 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Open(), and Xunix.
DIR* opendir | ( | const char * | path | ) |
Definition at line 507 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 523 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 537 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 551 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Pwrite(), and Xunix.
ssize_t read | ( | int | fildes, |
void * | buf, | ||
size_t | nbyte | ||
) |
Definition at line 565 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(), XrdOfsCPFile::Target(), XrdOucUtils::Undercover(), and XrdFrmConfigMum().
struct dirent64* readdir64 | ( | DIR * | dirp | ) |
Definition at line 593 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 607 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 579 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 622 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().
int rmdir | ( | const char * | path | ) |
Definition at line 652 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 666 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Seekdir, XrdPosix_Seekdir(), and Xunix.
int stat64 | ( | const char * | path, |
struct stat64 * | buf | ||
) |
Definition at line 683 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 699 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 714 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 728 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosixLinkage::Telldir, XrdPosix_Telldir(), and Xunix.
int truncate64 | ( | const char * | path, |
off_t | offset | ||
) |
Definition at line 742 of file XrdPosixPreload.cc.
References XrdPosixLinkage::Init(), XrdPosix_Truncate(), and Xunix.
int unlink | ( | const char * | path | ) |
Definition at line 756 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 770 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 784 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 56 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(), rmdir(), seekdir(), stat64(), statfs64(), statvfs64(), telldir(), truncate64(), unlink(), write(), and writev().