16#ifndef __DAOS_FS_SYS_H__
17#define __DAOS_FS_SYS_H__
19#if defined(__cplusplus)
29#define DFS_SYS_NO_CACHE 1
30#define DFS_SYS_NO_LOCK 2
90 int sflags, d_iov_t glob,
dfs_sys_t **dfs_sys);
150 int flags,
int sflags);
166 const struct timespec times[2],
int flags);
209 daos_oclass_id_t cid, daos_size_t chunk_size);
230 daos_size_t *size,
int flags);
249 void *value, daos_size_t *size,
int flags);
269 const void *value, daos_size_t size,
int flags,
int sflags);
340 daos_oclass_id_t cid, daos_size_t chunk_size,
406 daos_off_t offset, daos_off_t len);
454 daos_oclass_id_t cid);
494#if defined(__cplusplus)
int dfs_sys_stat(dfs_sys_t *dfs_sys, const char *path, int flags, struct stat *stbuf)
int dfs_sys_readdir(dfs_sys_t *dfs_sys, DIR *dirp, struct dirent **dirent)
int dfs_sys_read(dfs_sys_t *dfs_sys, dfs_obj_t *obj, void *buf, daos_off_t off, daos_size_t *size, daos_event_t *ev)
int dfs_sys_punch(dfs_sys_t *dfs_sys, const char *path, daos_off_t offset, daos_off_t len)
int dfs_sys_write(dfs_sys_t *dfs_sys, dfs_obj_t *obj, const void *buf, daos_off_t off, daos_size_t *size, daos_event_t *ev)
int dfs_sys_getxattr(dfs_sys_t *dfs_sys, const char *path, const char *name, void *value, daos_size_t *size, int flags)
int dfs_sys_open(dfs_sys_t *dfs_sys, const char *path, mode_t mode, int flags, daos_oclass_id_t cid, daos_size_t chunk_size, const char *value, dfs_obj_t **obj)
int dfs_sys_chmod(dfs_sys_t *dfs_sys, const char *path, mode_t mode)
int dfs_sys_remove_type(dfs_sys_t *dfs_sys, const char *path, bool force, mode_t mode, daos_obj_id_t *oid)
int dfs_sys_mkdir(dfs_sys_t *dfs_sys, const char *dir, mode_t mode, daos_oclass_id_t cid)
int dfs_sys_close(dfs_obj_t *obj)
int dfs_sys_mknod(dfs_sys_t *dfs_sys, const char *path, mode_t mode, daos_oclass_id_t cid, daos_size_t chunk_size)
int dfs_sys_readlink(dfs_sys_t *dfs_sys, const char *path, char *buf, daos_size_t *size)
int dfs_sys2base(dfs_sys_t *dfs_sys, dfs_t **dfs)
int dfs_sys_opendir(dfs_sys_t *dfs_sys, const char *dir, int flags, DIR **dirp)
int dfs_sys_global2local(daos_handle_t poh, daos_handle_t coh, int mflags, int sflags, d_iov_t glob, dfs_sys_t **dfs_sys)
int dfs_sys_access(dfs_sys_t *dfs_sys, const char *path, int mask, int flags)
int dfs_sys_umount(dfs_sys_t *dfs_sys)
int dfs_sys_symlink(dfs_sys_t *dfs_sys, const char *target, const char *path)
int dfs_sys_closedir(DIR *dirp)
int dfs_sys_mount(daos_handle_t poh, daos_handle_t coh, int mflags, int sflags, dfs_sys_t **dfs_sys)
int dfs_sys_removexattr(dfs_sys_t *dfs_sys, const char *path, const char *name, int flags)
int dfs_sys_setxattr(dfs_sys_t *dfs_sys, const char *path, const char *name, const void *value, daos_size_t size, int flags, int sflags)
int dfs_sys_local2global(dfs_sys_t *dfs_sys, d_iov_t *glob)
int dfs_sys_utimens(dfs_sys_t *dfs_sys, const char *path, const struct timespec times[2], int flags)
int dfs_sys_remove(dfs_sys_t *dfs_sys, const char *path, bool force, daos_obj_id_t *oid)
int dfs_sys_setattr(dfs_sys_t *dfs_sys, const char *path, struct stat *stbuf, int flags, int sflags)
int dfs_sys_listxattr(dfs_sys_t *dfs_sys, const char *path, char *list, daos_size_t *size, int flags)