XRootD
Loading...
Searching...
No Matches
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)
 
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 79 of file XrdPosixPreload.cc.

80{
81 static int Init = Xunix.Init(&Init);
82
83 return XrdPosix_Access(path, amode);
84}
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.

+ Here is the call graph for this function:

◆ acl()

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

Definition at line 95 of file XrdPosixPreload.cc.

96{
97 static int Init = Xunix.Init(&Init);
98
99 return XrdPosix_Acl(path, cmd, nentries, aclbufp);
100}
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 109 of file XrdPosixPreload.cc.

110{
111 static int Init = Xunix.Init(&Init);
112
113 return (isLite ? Xunix.Chdir(path) : XrdPosix_Chdir(path));
114}
int XrdPosix_Chdir(const char *path)
Definition XrdPosix.cc:155
Retv_Chdir(* Chdir)(Args_Chdir)

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

+ Here is the call graph for this function:

◆ close()

int close ( int  fildes)

Definition at line 123 of file XrdPosixPreload.cc.

124{
125 static int Init = Xunix.Init(&Init);
126
127 return XrdPosix_Close(fildes);
128}
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 137 of file XrdPosixPreload.cc.

138{
139 static int Init = Xunix.Init(&Init);
140
141 return (isLite ? Xunix.Closedir(dirp) : XrdPosix_Closedir(dirp));
142}
int XrdPosix_Closedir(DIR *dirp)
Definition XrdPosix.cc:187
Retv_Closedir(* Closedir)(Args_Closedir)

References XrdPosixLinkage::Closedir, XrdPosixLinkage::Init(), XrdPosix_Closedir(), and Xunix.

+ Here is the call graph for this function:

◆ creat64()

int creat64 ( const char *  path,
mode_t  mode 
)

Definition at line 151 of file XrdPosixPreload.cc.

152{
153 static int Init = Xunix.Init(&Init);
154
155 return XrdPosix_Creat(path, mode);
156}
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 165 of file XrdPosixPreload.cc.

166{
167 static int Init = Xunix.Init(&Init);
168
169 return XrdPosix_Fclose(stream);
170}
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(), 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 179 of file XrdPosixPreload.cc.

180{
181 static int Init = Xunix.Init(&Init);
182 va_list ap;
183 void *theArg;
184
185 va_start(ap, cmd);
186 theArg = va_arg(ap, void *);
187 va_end(ap);
188 return XrdPosix_Fcntl(fd, cmd, theArg);
189}
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 199 of file XrdPosixPreload.cc.

200{
201 static int Init = Xunix.Init(&Init);
202
203 return XrdPosix_Fdatasync(fildes);
204}
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 214 of file XrdPosixPreload.cc.

215{
216 static int Init = Xunix.Init(&Init);
217
218 return XrdPosix_Fflush(stream);
219}
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 228 of file XrdPosixPreload.cc.

229{
230 static int Init = Xunix.Init(&Init);
231
232 return XrdPosix_Fopen(path, mode);
233}
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 242 of file XrdPosixPreload.cc.

243{
244 static int Init = Xunix.Init(&Init);
245
246 return XrdPosix_Fread(ptr, size, nitems, stream);
247}
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 256 of file XrdPosixPreload.cc.

257{
258 static int Init = Xunix.Init(&Init);
259
260 return XrdPosix_Fseek(stream, offset, whence);
261}
int XrdPosix_Fseek(FILE *stream, long offset, int whence)
Definition XrdPosix.cc:377

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

+ Here is the call graph for this function:

◆ fseeko64()

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

Definition at line 270 of file XrdPosixPreload.cc.

271{
272 static int Init = Xunix.Init(&Init);
273
274 return XrdPosix_Fseeko(stream, offset, whence);
275}
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 287 of file XrdPosixPreload.cc.

289{
290 static int Init = Xunix.Init(&Init);
291
292#if defined(__linux__) and defined(_STAT_VER)
293 return XrdPosix_FstatV(ver, fildes, (struct stat *)buf);
294#else
295 return XrdPosix_Fstat ( fildes, (struct stat *)buf);
296#endif
297}
int XrdPosix_Fstat(int fildes, struct stat *buf)
Definition XrdPosix.cc:413
#define stat(a, b)
Definition XrdPosix.hh:96

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

+ Here is the call graph for this function:

◆ fsync()

int fsync ( int  fildes)

Definition at line 306 of file XrdPosixPreload.cc.

307{
308 static int Init = Xunix.Init(&Init);
309
310 return XrdPosix_Fsync(fildes);
311}
int XrdPosix_Fsync(int fildes)
Definition XrdPosix.cc:447

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

+ Here is the call graph for this function:

◆ ftell()

long ftell ( FILE *  stream)

Definition at line 320 of file XrdPosixPreload.cc.

321{
322 static int Init = Xunix.Init(&Init);
323
324 return XrdPosix_Ftell(stream);
325}
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 334 of file XrdPosixPreload.cc.

335{
336 static int Init = Xunix.Init(&Init);
337
338 return XrdPosix_Ftello(stream);
339}
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 348 of file XrdPosixPreload.cc.

349{
350 static int Init = Xunix.Init(&Init);
351
352 return XrdPosix_Ftruncate(fildes, offset);
353}
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 362 of file XrdPosixPreload.cc.

363{
364 static int Init = Xunix.Init(&Init);
365
366 return XrdPosix_Fwrite(ptr, size, nitems, stream);
367}
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.

+ Here is the call graph for this function:

◆ llseek()

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

Definition at line 441 of file XrdPosixPreload.cc.

443{
444 static int Init = Xunix.Init(&Init);
445
446 return XrdPosix_Lseek(fildes, offset, whence);
447}
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 424 of file XrdPosixPreload.cc.

425{
426 static int Init = Xunix.Init(&Init);
427
428 return XrdPosix_Lseek(fildes, offset, whence);
429}

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

461{
462 static int Init = Xunix.Init(&Init);
463
464 return XrdPosix_Lstat(path, (struct stat *)buf);
465}
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 474 of file XrdPosixPreload.cc.

475{
476 static int Init = Xunix.Init(&Init);
477
478 return (isLite ? Xunix.Mkdir(path, mode) : XrdPosix_Mkdir(path, mode));
479}
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.

+ Here is the call graph for this function:

◆ open64()

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

Definition at line 488 of file XrdPosixPreload.cc.

489{
490 static int Init = Xunix.Init(&Init);
491 va_list ap;
492 int mode;
493
494 va_start(ap, oflag);
495 mode = va_arg(ap, int);
496 va_end(ap);
497 return XrdPosix_Open(path, oflag, mode);
498}
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 507 of file XrdPosixPreload.cc.

508{
509 static int Init = Xunix.Init(&Init);
510
511 return (isLite ? Xunix.Opendir(path) : XrdPosix_Opendir(path));
512}
DIR * XrdPosix_Opendir(const char *path)
Definition XrdPosix.cc:676
Retv_Opendir(* Opendir)(Args_Opendir)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Opendir, XrdPosix_Opendir(), and Xunix.

+ Here is the call graph for this function:

◆ pathconf()

long pathconf ( const char *  path,
int  name 
)

Definition at line 523 of file XrdPosixPreload.cc.

524{
525 static int Init = Xunix.Init(&Init);
526
527 return XrdPosix_Pathconf(path, name);
528}
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 537 of file XrdPosixPreload.cc.

538{
539 static int Init = Xunix.Init(&Init);
540
541 return XrdPosix_Pread (fildes, buf, nbyte, offset);
542}
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 551 of file XrdPosixPreload.cc.

552{
553 static int Init = Xunix.Init(&Init);
554
555 return XrdPosix_Pwrite(fildes, buf, nbyte, offset);
556}
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 565 of file XrdPosixPreload.cc.

566{
567 static int Init = Xunix.Init(&Init);
568
569 return XrdPosix_Read(fildes, buf, nbyte);
570}
long long XrdPosix_Read(int fildes, void *buf, unsigned long long nbyte)
Definition XrdPosix.cc:750

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

+ Here is the call graph for this function:

◆ readdir64()

struct dirent64 * readdir64 ( DIR *  dirp)

Definition at line 593 of file XrdPosixPreload.cc.

594{
595 static int Init = Xunix.Init(&Init);
596
597 return (isLite ? Xunix.Readdir64(dirp) : XrdPosix_Readdir64(dirp));
598}
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 607 of file XrdPosixPreload.cc.

608{
609 static int Init = Xunix.Init(&Init);
610
611 return (isLite ? Xunix.Readdir64_r(dirp, entry, result) :
612 XrdPosix_Readdir64_r(dirp, entry, result));
613}
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 579 of file XrdPosixPreload.cc.

580{
581 static int Init = Xunix.Init(&Init);
582
583 return XrdPosix_Readv(fildes, iov, iovcnt);
584}
long long XrdPosix_Readv(int fildes, const struct iovec *iov, int iovcnt)
Definition XrdPosix.cc:766

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

+ Here is the call graph for this function:

◆ rename()

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

Definition at line 622 of file XrdPosixPreload.cc.

623{
624 static int Init = Xunix.Init(&Init);
625
626 return (isLite ? Xunix.Rename(oldpath, newpath) : XrdPosix_Rename(oldpath, newpath));
627}
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.

+ Here is the call graph for this function:

◆ rmdir()

int rmdir ( const char *  path)

Definition at line 652 of file XrdPosixPreload.cc.

653{
654 static int Init = Xunix.Init(&Init);
655
656 return (isLite ? Xunix.Rmdir(path) : XrdPosix_Rmdir(path));
657}
int XrdPosix_Rmdir(const char *path)
Definition XrdPosix.cc:876
Retv_Rmdir(* Rmdir)(Args_Rmdir)

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

+ Here is the call graph for this function:

◆ seekdir()

void seekdir ( DIR *  dirp,
long  loc 
)

Definition at line 666 of file XrdPosixPreload.cc.

667{
668 static int Init = Xunix.Init(&Init);
669
670 (isLite ? Xunix.Seekdir(dirp, loc) : XrdPosix_Seekdir(dirp, loc));
671}
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 683 of file XrdPosixPreload.cc.

685{
686 static int Init = Xunix.Init(&Init);
687
688 return XrdPosix_Stat(path, (struct stat *)buf);
689}
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 699 of file XrdPosixPreload.cc.

700{
701 static int Init = Xunix.Init(&Init);
702
703 return XrdPosix_Statfs(path, (struct statfs *)buf);
704}
int XrdPosix_Statfs(const char *path, struct statfs *buf)
Definition XrdPosix.cc:943
#define statfs(a, b)
Definition XrdPosix.hh:98

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

715{
716 static int Init = Xunix.Init(&Init);
717
718 return XrdPosix_Statvfs(path, (struct statvfs *)buf);
719}
int XrdPosix_Statvfs(const char *path, struct statvfs *buf)
Definition XrdPosix.cc:965
#define statvfs(a, b)
Definition XrdPosix.hh:100

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

729{
730 static int Init = Xunix.Init(&Init);
731
732 return (isLite ? Xunix.Telldir(dirp) : XrdPosix_Telldir(dirp));
733}
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 742 of file XrdPosixPreload.cc.

743{
744 static int Init = Xunix.Init(&Init);
745
746 return XrdPosix_Truncate(path, offset);
747}
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 756 of file XrdPosixPreload.cc.

757{
758 static int Init = Xunix.Init(&Init);
759
760 return (isLite ? Xunix.Unlink(path) : XrdPosix_Unlink(path));
761}
int XrdPosix_Unlink(const char *path)
Definition XrdPosix.cc:1028
Retv_Unlink(* Unlink)(Args_Unlink)

References XrdPosixLinkage::Init(), XrdPosixLinkage::Unlink, XrdPosix_Unlink(), and Xunix.

+ Here is the call graph for this function:

◆ write()

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

Definition at line 770 of file XrdPosixPreload.cc.

771{
772 static int Init = Xunix.Init(&Init);
773
774 return XrdPosix_Write(fildes, buf, nbyte);
775}
long long XrdPosix_Write(int fildes, const void *buf, unsigned long long nbyte)
Definition XrdPosix.cc:1053

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

+ Here is the call graph for this function:

◆ writev()

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

Definition at line 784 of file XrdPosixPreload.cc.

785{
786 static int Init = Xunix.Init(&Init);
787
788 return XrdPosix_Writev(fildes, iov, iovcnt);
789}
long long XrdPosix_Writev(int fildes, const struct iovec *iov, int iovcnt)
Definition XrdPosix.cc:1069

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

+ Here is the call graph for this function:

Variable Documentation

◆ Xunix