XRootD
XrdPosixPreload.cc File Reference
#include <sys/types.h>
#include <cstdarg>
#include <unistd.h>
#include <cstdlib>
#include "XrdPosix/XrdPosixLinkage.hh"
#include "XrdPosix/XrdPosixOsDep.hh"
#include "XrdPosix/XrdPosixExtern.hh"
+ Include dependency graph for XrdPosixPreload.cc:

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 fstatat64 (int dirfd, const char *path, struct stat64 *buf, int flags)
 
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,...)
 
int openat (int dirfd, const char *path, int flag,...)
 
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)
 

Variables

XrdPosixLinkage Xunix
 

Function Documentation

◆ access()

int access ( const char *  path,
int  amode 
)

Definition at line 87 of file XrdPosixPreload.cc.

88 {
89  static int Init = Xunix.Init(&Init);
90 
91  return XrdPosix_Access(path, amode);
92 }
XrdPosixLinkage Xunix
int XrdPosix_Access(const char *path, int amode)
Definition: XrdPosix.cc:152
int Init(int *X=0)

References XrdPosixLinkage::Init(), XrdPosix_Access(), and Xunix.

Referenced by XrdAccConfig::XrdAccConfig(), XrdOucGMap::XrdOucGMap(), XrdSsi::ShMap< T >::Attach(), XrdSecProtocolkrb5::getCredentials(), XrdSecProtocolgsi::Init(), main(), XrdCmsMeter::Monitor(), XrdXrootdPrepare::setParms(), XrdOucProg::Setup(), and XrdNetSocket::socketPath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ acl()

int acl ( const char *  path,
int  cmd,
int  nentries,
void *  aclbufp 
)

Definition at line 103 of file XrdPosixPreload.cc.

104 {
105  static int Init = Xunix.Init(&Init);
106 
107  return XrdPosix_Acl(path, cmd, nentries, aclbufp);
108 }
int XrdPosix_Acl(const char *path, int cmd, int nentries, void *aclbufp)
Definition: XrdPosix.cc:181

References XrdPosixLinkage::Init(), XrdPosix_Acl(), and Xunix.

+ Here is the call graph for this function:

◆ chdir()

int chdir ( const char *  path)

Definition at line 117 of file XrdPosixPreload.cc.

118 {
119  static int Init = Xunix.Init(&Init);
120 
121  return (isLite ? Xunix.Chdir(path) : XrdPosix_Chdir(path));
122 }
int XrdPosix_Chdir(const char *path)
Definition: XrdPosix.cc:199
Retv_Chdir(* Chdir)(Args_Chdir)

References XrdPosixLinkage::Chdir, XrdPosixLinkage::Init(), XrdPosix_Chdir(), and Xunix.

Referenced by XrdOucUtils::makeHome().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ close()

int close ( int  fildes)

Definition at line 131 of file XrdPosixPreload.cc.

132 {
133  static int Init = Xunix.Init(&Init);
134 
135  return XrdPosix_Close(fildes);
136 }
int XrdPosix_Close(int fildes)
Definition: XrdPosix.cc:220

References XrdPosixLinkage::Init(), XrdPosix_Close(), and Xunix.

+ Here is the call graph for this function:

◆ closedir()

int closedir ( DIR *  dirp)

Definition at line 145 of file XrdPosixPreload.cc.

146 {
147  static int Init = Xunix.Init(&Init);
148 
149  return (isLite ? Xunix.Closedir(dirp) : XrdPosix_Closedir(dirp));
150 }
int XrdPosix_Closedir(DIR *dirp)
Definition: XrdPosix.cc:235
Retv_Closedir(* Closedir)(Args_Closedir)

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ creat64()

int creat64 ( const char *  path,
mode_t  mode 
)

Definition at line 159 of file XrdPosixPreload.cc.

160 {
161  static int Init = Xunix.Init(&Init);
162 
163  return XrdPosix_Creat(path, mode);
164 }
int XrdPosix_Creat(const char *path, mode_t mode)
Definition: XrdPosix.cc:249

References XrdPosixLinkage::Init(), XrdPosix_Creat(), and Xunix.

+ Here is the call graph for this function:

◆ fclose()

int fclose ( FILE *  stream)

Definition at line 173 of file XrdPosixPreload.cc.

174 {
175  static int Init = Xunix.Init(&Init);
176 
177  return XrdPosix_Fclose(stream);
178 }
int XrdPosix_Fclose(FILE *stream)
Definition: XrdPosix.cc:263

References XrdPosixLinkage::Init(), XrdPosix_Fclose(), and Xunix.

Referenced by XrdCryptosslX509::XrdCryptosslX509(), BlacklistDecision::ConfigDecision(), main(), ReadPasswd(), ReadPuk(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ParseFile(), and XrdSecgsiGMAPInit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fcntl64()

int fcntl64 ( int  fd,
int  cmd,
  ... 
)

Definition at line 187 of file XrdPosixPreload.cc.

188 {
189  static int Init = Xunix.Init(&Init);
190  va_list ap;
191  void *theArg;
192 
193  va_start(ap, cmd);
194  theArg = va_arg(ap, void *);
195  va_end(ap);
196  return XrdPosix_Fcntl(fd, cmd, theArg);
197 }
int XrdPosix_Fcntl(int fd, int cmd,...)
Definition: XrdPosix.cc:283

References XrdPosixLinkage::Init(), XrdPosix_Fcntl(), and Xunix.

+ Here is the call graph for this function:

◆ fdatasync()

int fdatasync ( int  fildes)

Definition at line 207 of file XrdPosixPreload.cc.

208 {
209  static int Init = Xunix.Init(&Init);
210 
211  return XrdPosix_Fdatasync(fildes);
212 }
int XrdPosix_Fdatasync(int fildes)
Definition: XrdPosix.cc:302

References XrdPosixLinkage::Init(), XrdPosix_Fdatasync(), and Xunix.

Referenced by XrdOssFile::Flush().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fflush()

int fflush ( FILE *  stream)

Definition at line 222 of file XrdPosixPreload.cc.

223 {
224  static int Init = Xunix.Init(&Init);
225 
226  return XrdPosix_Fflush(stream);
227 }
int XrdPosix_Fflush(FILE *stream)
Definition: XrdPosix.cc:333

References XrdPosixLinkage::Init(), XrdPosix_Fflush(), and Xunix.

Referenced by __eprintf().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fopen64()

FILE* fopen64 ( const char *  path,
const char *  mode 
)

Definition at line 236 of file XrdPosixPreload.cc.

237 {
238  static int Init = Xunix.Init(&Init);
239 
240  return XrdPosix_Fopen(path, mode);
241 }
FILE * XrdPosix_Fopen(const char *path, const char *mode)
Definition: XrdPosix.cc:353

References XrdPosixLinkage::Init(), XrdPosix_Fopen(), and Xunix.

+ Here is the call graph for this function:

◆ fread()

size_t fread ( void *  ptr,
size_t  size,
size_t  nitems,
FILE *  stream 
)

Definition at line 250 of file XrdPosixPreload.cc.

251 {
252  static int Init = Xunix.Init(&Init);
253 
254  return XrdPosix_Fread(ptr, size, nitems, stream);
255 }
size_t XrdPosix_Fread(void *ptr, size_t size, size_t nitems, FILE *stream)
Definition: XrdPosix.cc:405

References XrdPosixLinkage::Init(), XrdPosix_Fread(), and Xunix.

+ Here is the call graph for this function:

◆ fseek()

int fseek ( FILE *  stream,
long  offset,
int  whence 
)

Definition at line 264 of file XrdPosixPreload.cc.

265 {
266  static int Init = Xunix.Init(&Init);
267 
268  return XrdPosix_Fseek(stream, offset, whence);
269 }
int XrdPosix_Fseek(FILE *stream, long offset, int whence)
Definition: XrdPosix.cc:431

References XrdPosixLinkage::Init(), XrdPosix_Fseek(), and Xunix.

Referenced by fseteof().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fseeko64()

int fseeko64 ( FILE *  stream,
off64_t  offset,
int  whence 
)

Definition at line 278 of file XrdPosixPreload.cc.

279 {
280  static int Init = Xunix.Init(&Init);
281 
282  return XrdPosix_Fseeko(stream, offset, whence);
283 }
int XrdPosix_Fseeko(FILE *stream, long long offset, int whence)
Definition: XrdPosix.cc:449

References XrdPosixLinkage::Init(), XrdPosix_Fseeko(), and Xunix.

+ Here is the call graph for this function:

◆ fstat64()

int fstat64 ( int  fildes,
struct stat64 buf 
)

Definition at line 295 of file XrdPosixPreload.cc.

297 {
298  static int Init = Xunix.Init(&Init);
299 #if defined(__linux__) && defined(_STAT_VER) && __GNUC__ && __GNUC__ >= 2
300  return XrdPosix_FstatV ( ver, fildes, (struct stat *)buf);
301 #else
302  return XrdPosix_Fstat ( fildes, (struct stat *)buf);
303 #endif
304 }
int XrdPosix_FstatV(int ver, int fildes, struct stat *buf)
Definition: XrdPosix.cc:480
int XrdPosix_Fstat(int fildes, struct stat *buf)
Definition: XrdPosix.cc:467
#define stat(a, b)
Definition: XrdPosix.hh:105

References XrdPosixLinkage::Init(), stat, XrdPosix_Fstat(), XrdPosix_FstatV(), and Xunix.

+ Here is the call graph for this function:

◆ fstatat64()

int fstatat64 ( int  dirfd,
const char *  path,
struct stat64 buf,
int  flags 
)

Definition at line 313 of file XrdPosixPreload.cc.

313  {
314  static int Init = Xunix.Init(&Init);
315  return XrdPosix_Fstatat (dirfd, path, (struct stat *)buf, flags);
316  }
int XrdPosix_Fstatat(int dirfd, const char *path, struct stat *buf, int flags)
Definition: XrdPosix.cc:501
#define dirfd(x)

References dirfd, XrdPosixLinkage::Init(), stat, XrdPosix_Fstatat(), and Xunix.

+ Here is the call graph for this function:

◆ fsync()

int fsync ( int  fildes)

Definition at line 325 of file XrdPosixPreload.cc.

326 {
327  static int Init = Xunix.Init(&Init);
328 
329  return XrdPosix_Fsync(fildes);
330 }
int XrdPosix_Fsync(int fildes)
Definition: XrdPosix.cc:544

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ftell()

long ftell ( FILE *  stream)

Definition at line 339 of file XrdPosixPreload.cc.

340 {
341  static int Init = Xunix.Init(&Init);
342 
343  return XrdPosix_Ftell(stream);
344 }
long XrdPosix_Ftell(FILE *stream)
Definition: XrdPosix.cc:560

References XrdPosixLinkage::Init(), XrdPosix_Ftell(), and Xunix.

+ Here is the call graph for this function:

◆ ftello64()

off64_t ftello64 ( FILE *  stream)

Definition at line 353 of file XrdPosixPreload.cc.

354 {
355  static int Init = Xunix.Init(&Init);
356 
357  return XrdPosix_Ftello(stream);
358 }
long long XrdPosix_Ftello(FILE *stream)
Definition: XrdPosix.cc:577

References XrdPosixLinkage::Init(), XrdPosix_Ftello(), and Xunix.

+ Here is the call graph for this function:

◆ ftruncate64()

int ftruncate64 ( int  fildes,
off_t  offset 
)

Definition at line 367 of file XrdPosixPreload.cc.

368 {
369  static int Init = Xunix.Init(&Init);
370 
371  return XrdPosix_Ftruncate(fildes, offset);
372 }
int XrdPosix_Ftruncate(int fildes, long long offset)
Definition: XrdPosix.cc:594

References XrdPosixLinkage::Init(), XrdPosix_Ftruncate(), and Xunix.

+ Here is the call graph for this function:

◆ fwrite()

size_t fwrite ( const void *  ptr,
size_t  size,
size_t  nitems,
FILE *  stream 
)

Definition at line 381 of file XrdPosixPreload.cc.

382 {
383  static int Init = Xunix.Init(&Init);
384 
385  return XrdPosix_Fwrite(ptr, size, nitems, stream);
386 }
size_t XrdPosix_Fwrite(const void *ptr, size_t size, size_t nitems, FILE *stream)
Definition: XrdPosix.cc:610

References XrdPosixLinkage::Init(), XrdPosix_Fwrite(), and Xunix.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ llseek()

offset_t llseek ( int  fildes,
offset_t  offset,
int  whence 
)

Definition at line 460 of file XrdPosixPreload.cc.

462 {
463  static int Init = Xunix.Init(&Init);
464 
465  return XrdPosix_Lseek(fildes, offset, whence);
466 }
off_t XrdPosix_Lseek(int fildes, off_t offset, int whence)
Definition: XrdPosix.cc:676

References XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.

+ Here is the call graph for this function:

◆ lseek64()

off64_t lseek64 ( int  fildes,
off64_t  offset,
int  whence 
)

Definition at line 443 of file XrdPosixPreload.cc.

444 {
445  static int Init = Xunix.Init(&Init);
446 
447  return XrdPosix_Lseek(fildes, offset, whence);
448 }

References XrdPosixLinkage::Init(), XrdPosix_Lseek(), and Xunix.

+ Here is the call graph for this function:

◆ lstat64()

int lstat64 ( const char *  path,
struct stat64 buf 
)

Definition at line 478 of file XrdPosixPreload.cc.

480 {
481  static int Init = Xunix.Init(&Init);
482  return XrdPosix_Lstat(path, (struct stat *)buf);
483 }
int XrdPosix_Lstat(const char *path, struct stat *buf)
Definition: XrdPosix.cc:692

References XrdPosixLinkage::Init(), stat, XrdPosix_Lstat(), and Xunix.

+ Here is the call graph for this function:

◆ mkdir()

int mkdir ( const char *  path,
mode_t  mode 
)

Definition at line 492 of file XrdPosixPreload.cc.

493 {
494  static int Init = Xunix.Init(&Init);
495 
496  return (isLite ? Xunix.Mkdir(path, mode) : XrdPosix_Mkdir(path, mode));
497 }
int XrdPosix_Mkdir(const char *path, mode_t mode)
Definition: XrdPosix.cc:722
Retv_Mkdir(* Mkdir)(Args_Mkdir)

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ open64()

int open64 ( const char *  path,
int  oflag,
  ... 
)

Definition at line 506 of file XrdPosixPreload.cc.

507 {
508  static int Init = Xunix.Init(&Init);
509  va_list ap;
510  int mode;
511 
512  va_start(ap, oflag);
513  mode = va_arg(ap, int);
514  va_end(ap);
515  return XrdPosix_Open(path, oflag, mode);
516 }
int XrdPosix_Open(const char *path, int oflag,...)
Definition: XrdPosix.cc:747

References XrdPosixLinkage::Init(), XrdPosix_Open(), and Xunix.

+ Here is the call graph for this function:

◆ openat()

int openat ( int  dirfd,
const char *  path,
int  flag,
  ... 
)

Definition at line 525 of file XrdPosixPreload.cc.

526 {
527  static int Init = Xunix.Init(&Init);
528  va_list ap;
529  int mode;
530 
531  va_start(ap, flag);
532  mode = va_arg(ap, int);
533  va_end(ap);
534  return XrdPosix_Openat(dirfd, path, flag, mode);
535 }
int XrdPosix_Openat(int dirfd, const char *path, int flag,...)
Definition: XrdPosix.cc:781

References dirfd, XrdPosixLinkage::Init(), XrdPosix_Openat(), and Xunix.

Referenced by XrdOssArcStopMon::DoIt(), fGetXattrAdler32(), and fSetXattrAdler32().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ opendir()

DIR* opendir ( const char *  path)

Definition at line 544 of file XrdPosixPreload.cc.

545 {
546  static int Init = Xunix.Init(&Init);
547 
548  return (isLite ? Xunix.Opendir(path) : XrdPosix_Opendir(path));
549 }
DIR * XrdPosix_Opendir(const char *path)
Definition: XrdPosix.cc:821
Retv_Opendir(* Opendir)(Args_Opendir)

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pathconf()

long pathconf ( const char *  path,
int  name 
)

Definition at line 560 of file XrdPosixPreload.cc.

561 {
562  static int Init = Xunix.Init(&Init);
563 
564  return XrdPosix_Pathconf(path, name);
565 }
long XrdPosix_Pathconf(const char *path, int name)
Definition: XrdPosix.cc:848

References XrdPosixLinkage::Init(), XrdPosix_Pathconf(), and Xunix.

Referenced by XrdOucgetName2Name().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pread64()

ssize_t pread64 ( int  fildes,
void *  buf,
size_t  nbyte,
off_t  offset 
)

Definition at line 574 of file XrdPosixPreload.cc.

575 {
576  static int Init = Xunix.Init(&Init);
577 
578  return XrdPosix_Pread (fildes, buf, nbyte, offset);
579 }
ssize_t XrdPosix_Pread(int fildes, void *buf, size_t nbyte, off_t offset)
Definition: XrdPosix.cc:866

References XrdPosixLinkage::Init(), XrdPosix_Pread(), and Xunix.

+ Here is the call graph for this function:

◆ pwrite64()

ssize_t pwrite64 ( int  fildes,
const void *  buf,
size_t  nbyte,
off_t  offset 
)

Definition at line 588 of file XrdPosixPreload.cc.

589 {
590  static int Init = Xunix.Init(&Init);
591 
592  return XrdPosix_Pwrite(fildes, buf, nbyte, offset);
593 }
ssize_t XrdPosix_Pwrite(int fildes, const void *buf, size_t nbyte, off_t offset)
Definition: XrdPosix.cc:882

References XrdPosixLinkage::Init(), XrdPosix_Pwrite(), and Xunix.

+ Here is the call graph for this function:

◆ read()

ssize_t read ( int  fildes,
void *  buf,
size_t  nbyte 
)

Definition at line 602 of file XrdPosixPreload.cc.

603 {
604  static int Init = Xunix.Init(&Init);
605 
606  return XrdPosix_Read(fildes, buf, nbyte);
607 }
ssize_t XrdPosix_Read(int fildes, void *buf, size_t nbyte)
Definition: XrdPosix.cc:898

References XrdPosixLinkage::Init(), XrdPosix_Read(), and Xunix.

Referenced by XrdTlsTempCA::~XrdTlsTempCA(), XrdCl::CheckSumManager::Calculate(), XrdClHttp::HandlerQueue::Consume(), 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(), XrdClHttp::HandlerQueue::TryConsume(), XrdOucUtils::Undercover(), and XrdFrmConfigMum().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readdir64()

struct dirent64* readdir64 ( DIR *  dirp)

Definition at line 630 of file XrdPosixPreload.cc.

631 {
632  static int Init = Xunix.Init(&Init);
633 
634  return (isLite ? Xunix.Readdir64(dirp) : XrdPosix_Readdir64(dirp));
635 }
struct dirent64 * XrdPosix_Readdir64(DIR *dirp)
Definition: XrdPosix.cc:941
Retv_Readdir64(* Readdir64)(Args_Readdir64)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Readdir64, XrdPosix_Readdir64(), and Xunix.

+ Here is the call graph for this function:

◆ readdir64_r()

int readdir64_r ( DIR *  dirp,
struct dirent64 *  entry,
struct dirent64 **  result 
)

Definition at line 644 of file XrdPosixPreload.cc.

645 {
646  static int Init = Xunix.Init(&Init);
647 
648  return (isLite ? Xunix.Readdir64_r(dirp, entry, result) :
649  XrdPosix_Readdir64_r(dirp, entry, result));
650 }
int XrdPosix_Readdir64_r(DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
Definition: XrdPosix.cc:966
Retv_Readdir64_r(* Readdir64_r)(Args_Readdir64_r)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Readdir64_r, XrdPosix_Readdir64_r(), and Xunix.

+ Here is the call graph for this function:

◆ readv()

ssize_t readv ( int  fildes,
const struct iovec *  iov,
int  iovcnt 
)

Definition at line 616 of file XrdPosixPreload.cc.

617 {
618  static int Init = Xunix.Init(&Init);
619 
620  return XrdPosix_Readv(fildes, iov, iovcnt);
621 }
ssize_t XrdPosix_Readv(int fildes, const struct iovec *iov, int iovcnt)
Definition: XrdPosix.cc:914

References XrdPosixLinkage::Init(), XrdPosix_Readv(), and Xunix.

Referenced by XrdCl::Socket::ReadV(), XrdCl::LocalFileHandler::ReadV(), and XrdLinkXeq::RecvIOV().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rename()

int rename ( const char *  oldpath,
const char *  newpath 
)

Definition at line 659 of file XrdPosixPreload.cc.

660 {
661  static int Init = Xunix.Init(&Init);
662 
663  return (isLite ? Xunix.Rename(oldpath, newpath) : XrdPosix_Rename(oldpath, newpath));
664 }
int XrdPosix_Rename(const char *oldpath, const char *newpath)
Definition: XrdPosix.cc:982
Retv_Rename(* Rename)(Args_Rename)

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rewinddir()

void rewinddir ( DIR *  dirp)

Definition at line 674 of file XrdPosixPreload.cc.

675 {
676  static int Init = Xunix.Init(&Init);
677 
678  (isLite ? Xunix.Rewinddir(dirp) : XrdPosix_Rewinddir(dirp));
679 }
void XrdPosix_Rewinddir(DIR *dirp)
Definition: XrdPosix.cc:1008
Retv_Rewinddir(* Rewinddir)(Args_Rewinddir)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Rewinddir, XrdPosix_Rewinddir(), and Xunix.

+ Here is the call graph for this function:

◆ rmdir()

int rmdir ( const char *  path)

Definition at line 689 of file XrdPosixPreload.cc.

690 {
691  static int Init = Xunix.Init(&Init);
692 
693  return (isLite ? Xunix.Rmdir(path) : XrdPosix_Rmdir(path));
694 }
int XrdPosix_Rmdir(const char *path)
Definition: XrdPosix.cc:1024
Retv_Rmdir(* Rmdir)(Args_Rmdir)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Rmdir, XrdPosix_Rmdir(), and Xunix.

Referenced by XrdSfsUFS::Remdir(), and XrdOssSys::Unlink().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ seekdir()

void seekdir ( DIR *  dirp,
long  loc 
)

Definition at line 703 of file XrdPosixPreload.cc.

704 {
705  static int Init = Xunix.Init(&Init);
706 
707  (isLite ? Xunix.Seekdir(dirp, loc) : XrdPosix_Seekdir(dirp, loc));
708 }
void XrdPosix_Seekdir(DIR *dirp, long loc)
Definition: XrdPosix.cc:1049
Retv_Seekdir(* Seekdir)(Args_Seekdir)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Seekdir, XrdPosix_Seekdir(), and Xunix.

+ Here is the call graph for this function:

◆ stat64()

int stat64 ( const char *  path,
struct stat64 *  buf 
)

Definition at line 720 of file XrdPosixPreload.cc.

722 {
723  static int Init = Xunix.Init(&Init);
724 
725  return XrdPosix_Stat(path, (struct stat *)buf);
726 }
int XrdPosix_Stat(const char *path, struct stat *buf)
Definition: XrdPosix.cc:1065

References XrdPosixLinkage::Init(), stat, XrdPosix_Stat(), and Xunix.

+ Here is the call graph for this function:

◆ statfs64()

int statfs64 ( const char *  path,
struct statfs64 *  buf 
)

Definition at line 736 of file XrdPosixPreload.cc.

737 {
738  static int Init = Xunix.Init(&Init);
739 
740  return XrdPosix_Statfs(path, (struct statfs *)buf);
741 }
int XrdPosix_Statfs(const char *path, struct statfs *buf)
Definition: XrdPosix.cc:1133
#define statfs(a, b)
Definition: XrdPosix.hh:111

References XrdPosixLinkage::Init(), statfs, XrdPosix_Statfs(), and Xunix.

Referenced by XrdPosix_Statfs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ statvfs64()

int statvfs64 ( const char *  path,
struct statvfs64 *  buf 
)

Definition at line 751 of file XrdPosixPreload.cc.

752 {
753  static int Init = Xunix.Init(&Init);
754 
755  return XrdPosix_Statvfs(path, (struct statvfs *)buf);
756 }
int XrdPosix_Statvfs(const char *path, struct statvfs *buf)
Definition: XrdPosix.cc:1156
#define statvfs(a, b)
Definition: XrdPosix.hh:135

References XrdPosixLinkage::Init(), statvfs, XrdPosix_Statvfs(), and Xunix.

Referenced by XrdPosix_Statvfs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ Xunix

XrdPosixLinkage Xunix
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(), fstatat64(), fsync(), ftell(), ftello64(), ftruncate64(), fwrite(), llseek(), lseek64(), lstat64(), mkdir(), open64(), openat(), opendir(), pathconf(), pread64(), pwrite64(), read(), readdir64(), readdir64_r(), readv(), rename(), rewinddir(), rmdir(), seekdir(), stat64(), statfs64(), statvfs64(), 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_Fstatat(), Xrd_U_Fstatat64(), 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_Openat(), Xrd_U_Openat64(), 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().