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 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
 

Function Documentation

◆ access()

int access ( const char *  path,
int  amode 
)

Definition at line 83 of file XrdPosixPreload.cc.

84 {
85  static int Init = Xunix.Init(&Init);
86 
87  return XrdPosix_Access(path, amode);
88 }
XrdPosixLinkage Xunix
int XrdPosix_Access(const char *path, int amode)
Definition: XrdPosix.cc:114
int Init(int *X=0)

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

+ 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 99 of file XrdPosixPreload.cc.

100 {
101  static int Init = Xunix.Init(&Init);
102 
103  return XrdPosix_Acl(path, cmd, nentries, aclbufp);
104 }
int XrdPosix_Acl(const char *path, int cmd, int nentries, void *aclbufp)
Definition: XrdPosix.cc:141

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

+ Here is the call graph for this function:

◆ chdir()

int chdir ( const char *  path)

Definition at line 113 of file XrdPosixPreload.cc.

114 {
115  static int Init = Xunix.Init(&Init);
116 
117  return (isLite ? Xunix.Chdir(path) : XrdPosix_Chdir(path));
118 }
int XrdPosix_Chdir(const char *path)
Definition: XrdPosix.cc:155
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 127 of file XrdPosixPreload.cc.

128 {
129  static int Init = Xunix.Init(&Init);
130 
131  return XrdPosix_Close(fildes);
132 }
int XrdPosix_Close(int fildes)
Definition: XrdPosix.cc:172

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

+ Here is the call graph for this function:

◆ closedir()

int closedir ( DIR *  dirp)

Definition at line 141 of file XrdPosixPreload.cc.

142 {
143  static int Init = Xunix.Init(&Init);
144 
145  return (isLite ? Xunix.Closedir(dirp) : XrdPosix_Closedir(dirp));
146 }
int XrdPosix_Closedir(DIR *dirp)
Definition: XrdPosix.cc:187
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 155 of file XrdPosixPreload.cc.

156 {
157  static int Init = Xunix.Init(&Init);
158 
159  return XrdPosix_Creat(path, mode);
160 }
int XrdPosix_Creat(const char *path, mode_t mode)
Definition: XrdPosix.cc:201

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

+ Here is the call graph for this function:

◆ fclose()

int fclose ( FILE *  stream)

Definition at line 169 of file XrdPosixPreload.cc.

170 {
171  static int Init = Xunix.Init(&Init);
172 
173  return XrdPosix_Fclose(stream);
174 }
int XrdPosix_Fclose(FILE *stream)
Definition: XrdPosix.cc:215

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 183 of file XrdPosixPreload.cc.

184 {
185  static int Init = Xunix.Init(&Init);
186  va_list ap;
187  void *theArg;
188 
189  va_start(ap, cmd);
190  theArg = va_arg(ap, void *);
191  va_end(ap);
192  return XrdPosix_Fcntl(fd, cmd, theArg);
193 }
int XrdPosix_Fcntl(int fd, int cmd,...)
Definition: XrdPosix.cc:235

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

+ Here is the call graph for this function:

◆ fdatasync()

int fdatasync ( int  fildes)

Definition at line 203 of file XrdPosixPreload.cc.

204 {
205  static int Init = Xunix.Init(&Init);
206 
207  return XrdPosix_Fdatasync(fildes);
208 }
int XrdPosix_Fdatasync(int fildes)
Definition: XrdPosix.cc:254

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 218 of file XrdPosixPreload.cc.

219 {
220  static int Init = Xunix.Init(&Init);
221 
222  return XrdPosix_Fflush(stream);
223 }
int XrdPosix_Fflush(FILE *stream)
Definition: XrdPosix.cc:286

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 232 of file XrdPosixPreload.cc.

233 {
234  static int Init = Xunix.Init(&Init);
235 
236  return XrdPosix_Fopen(path, mode);
237 }
FILE * XrdPosix_Fopen(const char *path, const char *mode)
Definition: XrdPosix.cc:306

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 246 of file XrdPosixPreload.cc.

247 {
248  static int Init = Xunix.Init(&Init);
249 
250  return XrdPosix_Fread(ptr, size, nitems, stream);
251 }
size_t XrdPosix_Fread(void *ptr, size_t size, size_t nitems, FILE *stream)
Definition: XrdPosix.cc:351

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 260 of file XrdPosixPreload.cc.

261 {
262  static int Init = Xunix.Init(&Init);
263 
264  return XrdPosix_Fseek(stream, offset, whence);
265 }
int XrdPosix_Fseek(FILE *stream, long offset, int whence)
Definition: XrdPosix.cc:377

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 274 of file XrdPosixPreload.cc.

275 {
276  static int Init = Xunix.Init(&Init);
277 
278  return XrdPosix_Fseeko(stream, offset, whence);
279 }
int XrdPosix_Fseeko(FILE *stream, long long offset, int whence)
Definition: XrdPosix.cc:395

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 291 of file XrdPosixPreload.cc.

293 {
294  static int Init = Xunix.Init(&Init);
295 
296 #if defined(__linux__) and defined(_STAT_VER)
297  return XrdPosix_FstatV(ver, fildes, (struct stat *)buf);
298 #else
299  return XrdPosix_Fstat ( fildes, (struct stat *)buf);
300 #endif
301 }
int stat(const char *path, struct stat *buf)
int XrdPosix_Fstat(int fildes, struct stat *buf)
Definition: XrdPosix.cc:413

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

+ Here is the call graph for this function:

◆ fsync()

int fsync ( int  fildes)

Definition at line 310 of file XrdPosixPreload.cc.

311 {
312  static int Init = Xunix.Init(&Init);
313 
314  return XrdPosix_Fsync(fildes);
315 }
int XrdPosix_Fsync(int fildes)
Definition: XrdPosix.cc:447

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 324 of file XrdPosixPreload.cc.

325 {
326  static int Init = Xunix.Init(&Init);
327 
328  return XrdPosix_Ftell(stream);
329 }
long XrdPosix_Ftell(FILE *stream)
Definition: XrdPosix.cc:463

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

+ Here is the call graph for this function:

◆ ftello64()

off64_t ftello64 ( FILE *  stream)

Definition at line 338 of file XrdPosixPreload.cc.

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

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 352 of file XrdPosixPreload.cc.

353 {
354  static int Init = Xunix.Init(&Init);
355 
356  return XrdPosix_Ftruncate(fildes, offset);
357 }
int XrdPosix_Ftruncate(int fildes, long long offset)
Definition: XrdPosix.cc:497

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 366 of file XrdPosixPreload.cc.

367 {
368  static int Init = Xunix.Init(&Init);
369 
370  return XrdPosix_Fwrite(ptr, size, nitems, stream);
371 }
size_t XrdPosix_Fwrite(const void *ptr, size_t size, size_t nitems, FILE *stream)
Definition: XrdPosix.cc:513

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 445 of file XrdPosixPreload.cc.

447 {
448  static int Init = Xunix.Init(&Init);
449 
450  return XrdPosix_Lseek(fildes, offset, whence);
451 }
long long XrdPosix_Lseek(int fildes, long long offset, int whence)
Definition: XrdPosix.cc:573

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 428 of file XrdPosixPreload.cc.

429 {
430  static int Init = Xunix.Init(&Init);
431 
432  return XrdPosix_Lseek(fildes, offset, whence);
433 }

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 463 of file XrdPosixPreload.cc.

465 {
466  static int Init = Xunix.Init(&Init);
467 
468  return XrdPosix_Lstat(path, (struct stat *)buf);
469 }
int XrdPosix_Lstat(const char *path, struct stat *buf)
Definition: XrdPosix.cc:589

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 478 of file XrdPosixPreload.cc.

479 {
480  static int Init = Xunix.Init(&Init);
481 
482  return (isLite ? Xunix.Mkdir(path, mode) : XrdPosix_Mkdir(path, mode));
483 }
int XrdPosix_Mkdir(const char *path, mode_t mode)
Definition: XrdPosix.cc:615
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 492 of file XrdPosixPreload.cc.

493 {
494  static int Init = Xunix.Init(&Init);
495  va_list ap;
496  int mode;
497 
498  va_start(ap, oflag);
499  mode = va_arg(ap, int);
500  va_end(ap);
501  return XrdPosix_Open(path, oflag, mode);
502 }
int XrdPosix_Open(const char *path, int oflag,...)
Definition: XrdPosix.cc:640

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

+ Here is the call graph for this function:

◆ opendir()

DIR* opendir ( const char *  path)

Definition at line 511 of file XrdPosixPreload.cc.

512 {
513  static int Init = Xunix.Init(&Init);
514 
515  return (isLite ? Xunix.Opendir(path) : XrdPosix_Opendir(path));
516 }
DIR * XrdPosix_Opendir(const char *path)
Definition: XrdPosix.cc:676
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 527 of file XrdPosixPreload.cc.

528 {
529  static int Init = Xunix.Init(&Init);
530 
531  return XrdPosix_Pathconf(path, name);
532 }
long XrdPosix_Pathconf(const char *path, int name)
Definition: XrdPosix.cc:703

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 541 of file XrdPosixPreload.cc.

542 {
543  static int Init = Xunix.Init(&Init);
544 
545  return XrdPosix_Pread (fildes, buf, nbyte, offset);
546 }
long long XrdPosix_Pread(int fildes, void *buf, unsigned long long nbyte, long long offset)
Definition: XrdPosix.cc:716

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 555 of file XrdPosixPreload.cc.

556 {
557  static int Init = Xunix.Init(&Init);
558 
559  return XrdPosix_Pwrite(fildes, buf, nbyte, offset);
560 }
long long XrdPosix_Pwrite(int fildes, const void *buf, unsigned long long nbyte, long long offset)
Definition: XrdPosix.cc:733

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 569 of file XrdPosixPreload.cc.

570 {
571  static int Init = Xunix.Init(&Init);
572 
573  return XrdPosix_Read(fildes, buf, nbyte);
574 }
long long XrdPosix_Read(int fildes, void *buf, unsigned long long nbyte)
Definition: XrdPosix.cc:750

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

+ 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 597 of file XrdPosixPreload.cc.

598 {
599  static int Init = Xunix.Init(&Init);
600 
601  return (isLite ? Xunix.Readdir64(dirp) : XrdPosix_Readdir64(dirp));
602 }
struct dirent64 * XrdPosix_Readdir64(DIR *dirp)
Definition: XrdPosix.cc:793
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 611 of file XrdPosixPreload.cc.

612 {
613  static int Init = Xunix.Init(&Init);
614 
615  return (isLite ? Xunix.Readdir64_r(dirp, entry, result) :
616  XrdPosix_Readdir64_r(dirp, entry, result));
617 }
int XrdPosix_Readdir64_r(DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
Definition: XrdPosix.cc:818
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 583 of file XrdPosixPreload.cc.

584 {
585  static int Init = Xunix.Init(&Init);
586 
587  return XrdPosix_Readv(fildes, iov, iovcnt);
588 }
long long XrdPosix_Readv(int fildes, const struct iovec *iov, int iovcnt)
Definition: XrdPosix.cc:766

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 626 of file XrdPosixPreload.cc.

627 {
628  static int Init = Xunix.Init(&Init);
629 
630  return (isLite ? Xunix.Rename(oldpath, newpath) : XrdPosix_Rename(oldpath, newpath));
631 }
int XrdPosix_Rename(const char *oldpath, const char *newpath)
Definition: XrdPosix.cc:834
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 641 of file XrdPosixPreload.cc.

642 {
643  static int Init = Xunix.Init(&Init);
644 
645  (isLite ? Xunix.Rewinddir(dirp) : XrdPosix_Rewinddir(dirp));
646 }
void XrdPosix_Rewinddir(DIR *dirp)
Definition: XrdPosix.cc:860
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 656 of file XrdPosixPreload.cc.

657 {
658  static int Init = Xunix.Init(&Init);
659 
660  return (isLite ? Xunix.Rmdir(path) : XrdPosix_Rmdir(path));
661 }
int XrdPosix_Rmdir(const char *path)
Definition: XrdPosix.cc:876
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 670 of file XrdPosixPreload.cc.

671 {
672  static int Init = Xunix.Init(&Init);
673 
674  (isLite ? Xunix.Seekdir(dirp, loc) : XrdPosix_Seekdir(dirp, loc));
675 }
void XrdPosix_Seekdir(DIR *dirp, long loc)
Definition: XrdPosix.cc:901
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 687 of file XrdPosixPreload.cc.

689 {
690  static int Init = Xunix.Init(&Init);
691 
692  return XrdPosix_Stat(path, (struct stat *)buf);
693 }
int XrdPosix_Stat(const char *path, struct stat *buf)
Definition: XrdPosix.cc:917

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

Referenced by fstat(), lstat(), stat(), XrdPosix_Fstat(), XrdPosix_Lstat(), and XrdPosix_Stat().

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

◆ statfs64()

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

Definition at line 703 of file XrdPosixPreload.cc.

704 {
705  static int Init = Xunix.Init(&Init);
706 
707  return XrdPosix_Statfs(path, (struct statfs *)buf);
708 }
int statfs(const char *path, struct statfs *buf)
int XrdPosix_Statfs(const char *path, struct statfs *buf)
Definition: XrdPosix.cc:943

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

Referenced by statfs(), and 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 718 of file XrdPosixPreload.cc.

719 {
720  static int Init = Xunix.Init(&Init);
721 
722  return XrdPosix_Statvfs(path, (struct statvfs *)buf);
723 }
int statvfs(const char *path, struct statvfs *buf)
int XrdPosix_Statvfs(const char *path, struct statvfs *buf)
Definition: XrdPosix.cc:965

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

Referenced by statvfs(), and XrdPosix_Statvfs().

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

◆ telldir()

long telldir ( DIR *  dirp)

Definition at line 732 of file XrdPosixPreload.cc.

733 {
734  static int Init = Xunix.Init(&Init);
735 
736  return (isLite ? Xunix.Telldir(dirp) : XrdPosix_Telldir(dirp));
737 }
long XrdPosix_Telldir(DIR *dirp)
Definition: XrdPosix.cc:987
Retv_Telldir(* Telldir)(Args_Telldir)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Telldir, XrdPosix_Telldir(), and Xunix.

+ Here is the call graph for this function:

◆ truncate64()

int truncate64 ( const char *  path,
off_t  offset 
)

Definition at line 746 of file XrdPosixPreload.cc.

747 {
748  static int Init = Xunix.Init(&Init);
749 
750  return XrdPosix_Truncate(path, offset);
751 }
int XrdPosix_Truncate(const char *path, long long offset)
Definition: XrdPosix.cc:1003

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

+ Here is the call graph for this function:

◆ unlink()

int unlink ( const char *  path)

Definition at line 760 of file XrdPosixPreload.cc.

761 {
762  static int Init = Xunix.Init(&Init);
763 
764  return (isLite ? Xunix.Unlink(path) : XrdPosix_Unlink(path));
765 }
int XrdPosix_Unlink(const char *path)
Definition: XrdPosix.cc:1028
Retv_Unlink(* Unlink)(Args_Unlink)

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

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

◆ write()

ssize_t write ( int  fildes,
const void *  buf,
size_t  nbyte 
)

Definition at line 774 of file XrdPosixPreload.cc.

775 {
776  static int Init = Xunix.Init(&Init);
777 
778  return XrdPosix_Write(fildes, buf, nbyte);
779 }
long long XrdPosix_Write(int fildes, const void *buf, unsigned long long nbyte)
Definition: XrdPosix.cc:1053

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

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

◆ writev()

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

Definition at line 788 of file XrdPosixPreload.cc.

789 {
790  static int Init = Xunix.Init(&Init);
791 
792  return XrdPosix_Writev(fildes, iov, iovcnt);
793 }
long long XrdPosix_Writev(int fildes, const struct iovec *iov, int iovcnt)
Definition: XrdPosix.cc:1069

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

Referenced by XrdOfsCPFile::Append(), XrdOfsCPFile::Create(), XrdXrootdPrepare::Log(), XrdSysLogger::Put(), XrdLinkXeq::SendIOV(), and XrdCl::LocalFileHandler::WriteV().

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

Variable Documentation

◆ Xunix