xrootd
Loading...
Searching...
No Matches
Typedefs | Functions
XrdCephPosix.hh File Reference
#include <sys/types.h>
#include <stdarg.h>
#include <dirent.h>
#include <XrdOuc/XrdOucEnv.hh>
#include <XrdSys/XrdSysXAttr.hh>
Include dependency graph for XrdCephPosix.hh:

Go to the source code of this file.

Typedefs

typedef void() AioCB(XrdSfsAio *, size_t)
 

Functions

void ceph_posix_set_defaults (const char *value)
 
void ceph_posix_disconnect_all ()
 
void ceph_posix_set_logfunc (void(*logfunc)(char *, va_list argp))
 
int ceph_posix_open (XrdOucEnv *env, const char *pathname, int flags, mode_t mode)
 
int ceph_posix_close (int fd)
 
off_t ceph_posix_lseek (int fd, off_t offset, int whence)
 
off64_t ceph_posix_lseek64 (int fd, off64_t offset, int whence)
 
ssize_t ceph_posix_write (int fd, const void *buf, size_t count)
 
ssize_t ceph_posix_pwrite (int fd, const void *buf, size_t count, off64_t offset)
 
ssize_t ceph_aio_write (int fd, XrdSfsAio *aiop, AioCB *cb)
 
ssize_t ceph_posix_read (int fd, void *buf, size_t count)
 
ssize_t ceph_posix_pread (int fd, void *buf, size_t count, off64_t offset)
 
ssize_t ceph_aio_read (int fd, XrdSfsAio *aiop, AioCB *cb)
 
int ceph_posix_fstat (int fd, struct stat *buf)
 
int ceph_posix_stat (XrdOucEnv *env, const char *pathname, struct stat *buf)
 
int ceph_posix_fsync (int fd)
 
int ceph_posix_fcntl (int fd, int cmd,...)
 
ssize_t ceph_posix_getxattr (XrdOucEnv *env, const char *path, const char *name, void *value, size_t size)
 
ssize_t ceph_posix_fgetxattr (int fd, const char *name, void *value, size_t size)
 
ssize_t ceph_posix_setxattr (XrdOucEnv *env, const char *path, const char *name, const void *value, size_t size, int flags)
 
int ceph_posix_fsetxattr (int fd, const char *name, const void *value, size_t size, int flags)
 
int ceph_posix_removexattr (XrdOucEnv *env, const char *path, const char *name)
 
int ceph_posix_fremovexattr (int fd, const char *name)
 
int ceph_posix_listxattrs (XrdOucEnv *env, const char *path, XrdSysXAttr::AList **aPL, int getSz)
 
int ceph_posix_flistxattrs (int fd, XrdSysXAttr::AList **aPL, int getSz)
 
void ceph_posix_freexattrlist (XrdSysXAttr::AList *aPL)
 
int ceph_posix_statfs (long long *totalSpace, long long *freeSpace)
 
int ceph_posix_truncate (XrdOucEnv *env, const char *pathname, unsigned long long size)
 
int ceph_posix_ftruncate (int fd, unsigned long long size)
 
int ceph_posix_unlink (XrdOucEnv *env, const char *pathname)
 
DIR * ceph_posix_opendir (XrdOucEnv *env, const char *pathname)
 
int ceph_posix_readdir (DIR *dirp, char *buff, int blen)
 
int ceph_posix_closedir (DIR *dirp)
 

Typedef Documentation

◆ AioCB

typedef void() AioCB(XrdSfsAio *, size_t)

Function Documentation

◆ ceph_aio_read()

ssize_t ceph_aio_read ( int  fd,
XrdSfsAio aiop,
AioCB cb 
)

◆ ceph_aio_write()

ssize_t ceph_aio_write ( int  fd,
XrdSfsAio aiop,
AioCB cb 
)

◆ ceph_posix_close()

int ceph_posix_close ( int  fd)

◆ ceph_posix_closedir()

int ceph_posix_closedir ( DIR *  dirp)

◆ ceph_posix_disconnect_all()

void ceph_posix_disconnect_all ( )

◆ ceph_posix_fcntl()

int ceph_posix_fcntl ( int  fd,
int  cmd,
  ... 
)

◆ ceph_posix_fgetxattr()

ssize_t ceph_posix_fgetxattr ( int  fd,
const char *  name,
void *  value,
size_t  size 
)

◆ ceph_posix_flistxattrs()

int ceph_posix_flistxattrs ( int  fd,
XrdSysXAttr::AList **  aPL,
int  getSz 
)

◆ ceph_posix_freexattrlist()

void ceph_posix_freexattrlist ( XrdSysXAttr::AList aPL)

◆ ceph_posix_fremovexattr()

int ceph_posix_fremovexattr ( int  fd,
const char *  name 
)

◆ ceph_posix_fsetxattr()

int ceph_posix_fsetxattr ( int  fd,
const char *  name,
const void *  value,
size_t  size,
int  flags 
)

◆ ceph_posix_fstat()

int ceph_posix_fstat ( int  fd,
struct stat buf 
)

◆ ceph_posix_fsync()

int ceph_posix_fsync ( int  fd)

◆ ceph_posix_ftruncate()

int ceph_posix_ftruncate ( int  fd,
unsigned long long  size 
)

◆ ceph_posix_getxattr()

ssize_t ceph_posix_getxattr ( XrdOucEnv env,
const char *  path,
const char *  name,
void *  value,
size_t  size 
)

◆ ceph_posix_listxattrs()

int ceph_posix_listxattrs ( XrdOucEnv env,
const char *  path,
XrdSysXAttr::AList **  aPL,
int  getSz 
)

◆ ceph_posix_lseek()

off_t ceph_posix_lseek ( int  fd,
off_t  offset,
int  whence 
)

◆ ceph_posix_lseek64()

off64_t ceph_posix_lseek64 ( int  fd,
off64_t  offset,
int  whence 
)

◆ ceph_posix_open()

int ceph_posix_open ( XrdOucEnv env,
const char *  pathname,
int  flags,
mode_t  mode 
)

◆ ceph_posix_opendir()

DIR * ceph_posix_opendir ( XrdOucEnv env,
const char *  pathname 
)

◆ ceph_posix_pread()

ssize_t ceph_posix_pread ( int  fd,
void *  buf,
size_t  count,
off64_t  offset 
)

◆ ceph_posix_pwrite()

ssize_t ceph_posix_pwrite ( int  fd,
const void *  buf,
size_t  count,
off64_t  offset 
)

◆ ceph_posix_read()

ssize_t ceph_posix_read ( int  fd,
void *  buf,
size_t  count 
)

◆ ceph_posix_readdir()

int ceph_posix_readdir ( DIR *  dirp,
char *  buff,
int  blen 
)

◆ ceph_posix_removexattr()

int ceph_posix_removexattr ( XrdOucEnv env,
const char *  path,
const char *  name 
)

◆ ceph_posix_set_defaults()

void ceph_posix_set_defaults ( const char *  value)

◆ ceph_posix_set_logfunc()

void ceph_posix_set_logfunc ( void(*)(char *, va_list argp)  logfunc)

◆ ceph_posix_setxattr()

ssize_t ceph_posix_setxattr ( XrdOucEnv env,
const char *  path,
const char *  name,
const void *  value,
size_t  size,
int  flags 
)

◆ ceph_posix_stat()

int ceph_posix_stat ( XrdOucEnv env,
const char *  pathname,
struct stat buf 
)

◆ ceph_posix_statfs()

int ceph_posix_statfs ( long long *  totalSpace,
long long *  freeSpace 
)

◆ ceph_posix_truncate()

int ceph_posix_truncate ( XrdOucEnv env,
const char *  pathname,
unsigned long long  size 
)

◆ ceph_posix_unlink()

int ceph_posix_unlink ( XrdOucEnv env,
const char *  pathname 
)

◆ ceph_posix_write()

ssize_t ceph_posix_write ( int  fd,
const void *  buf,
size_t  count 
)