/openbmc/qemu/fsdev/ |
H A D | file-op-9p.h | 40 typedef struct FsContext FsContext; typedef 44 int (*get_st_gen)(FsContext *, V9fsPath *, mode_t, uint64_t *); 99 struct FsContext { struct 124 int (*init)(FsContext *, Error **errp); argument 125 void (*cleanup)(FsContext *); 126 int (*lstat)(FsContext *, V9fsPath *, struct stat *); 127 ssize_t (*readlink)(FsContext *, V9fsPath *, char *, size_t); 128 int (*chmod)(FsContext *, V9fsPath *, FsCred *); 129 int (*chown)(FsContext *, V9fsPath *, FsCred *); 130 int (*mknod)(FsContext *, V9fsPath *, const char *, FsCred *); [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-xattr.h | 21 ssize_t (*getxattr)(FsContext *ctx, const char *path, 23 ssize_t (*listxattr)(FsContext *ctx, const char *path, 25 int (*setxattr)(FsContext *ctx, const char *path, const char *name, 27 int (*removexattr)(FsContext *ctx, 31 ssize_t local_getxattr_nofollow(FsContext *ctx, const char *path, 33 ssize_t local_setxattr_nofollow(FsContext *ctx, const char *path, 36 ssize_t local_removexattr_nofollow(FsContext *ctx, const char *path, 51 ssize_t v9fs_get_xattr(FsContext *ctx, const char *path, const char *name, 53 ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, void *value, 55 int v9fs_set_xattr(FsContext *ctx, const char *path, const char *name, [all …]
|
H A D | 9p-synth.c | 156 static int synth_lstat(FsContext *fs_ctx, in synth_lstat() 165 static int synth_fstat(FsContext *fs_ctx, int fid_type, in synth_fstat() 173 static int synth_opendir(FsContext *ctx, in synth_opendir() 191 static int synth_closedir(FsContext *ctx, V9fsFidOpenState *fs) in synth_closedir() 202 static off_t synth_telldir(FsContext *ctx, V9fsFidOpenState *fs) in synth_telldir() 208 static void synth_seekdir(FsContext *ctx, V9fsFidOpenState *fs, off_t off) in synth_seekdir() 214 static void synth_rewinddir(FsContext *ctx, V9fsFidOpenState *fs) in synth_rewinddir() 261 static struct dirent *synth_readdir(FsContext *ctx, V9fsFidOpenState *fs) in synth_readdir() 273 static int synth_open(FsContext *ctx, V9fsPath *fs_path, in synth_open() 286 static int synth_open2(FsContext *fs_ctx, V9fsPath *dir_path, in synth_open2() [all …]
|
H A D | 9p-xattr.c | 39 ssize_t v9fs_get_xattr(FsContext *ctx, const char *path, in v9fs_get_xattr() 50 ssize_t pt_listxattr(FsContext *ctx, const char *path, in pt_listxattr() 72 ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, in v9fs_list_xattr() 142 int v9fs_set_xattr(FsContext *ctx, const char *path, const char *name, in v9fs_set_xattr() 154 int v9fs_remove_xattr(FsContext *ctx, in v9fs_remove_xattr() 166 ssize_t local_getxattr_nofollow(FsContext *ctx, const char *path, in local_getxattr_nofollow() 187 ssize_t pt_getxattr(FsContext *ctx, const char *path, const char *name, in pt_getxattr() 193 ssize_t local_setxattr_nofollow(FsContext *ctx, const char *path, in local_setxattr_nofollow() 215 int pt_setxattr(FsContext *ctx, const char *path, const char *name, void *value, in pt_setxattr() 221 ssize_t local_removexattr_nofollow(FsContext *ctx, const char *path, in local_removexattr_nofollow() [all …]
|
H A D | 9p-posix-acl.c | 30 static ssize_t mp_pacl_getxattr(FsContext *ctx, const char *path, in mp_pacl_getxattr() 36 static ssize_t mp_pacl_listxattr(FsContext *ctx, const char *path, in mp_pacl_listxattr() 55 static int mp_pacl_setxattr(FsContext *ctx, const char *path, const char *name, in mp_pacl_setxattr() 62 static int mp_pacl_removexattr(FsContext *ctx, in mp_pacl_removexattr() 84 static ssize_t mp_dacl_getxattr(FsContext *ctx, const char *path, in mp_dacl_getxattr() 90 static ssize_t mp_dacl_listxattr(FsContext *ctx, const char *path, in mp_dacl_listxattr() 109 static int mp_dacl_setxattr(FsContext *ctx, const char *path, const char *name, in mp_dacl_setxattr() 116 static int mp_dacl_removexattr(FsContext *ctx, in mp_dacl_removexattr()
|
H A D | 9p-local.c | 60 int local_open_nofollow(FsContext *fs_ctx, const char *path, int flags, in local_open_nofollow() 97 int local_opendir_nofollow(FsContext *fs_ctx, const char *path) in local_opendir_nofollow() 185 static int local_lstat(FsContext *fs_ctx, V9fsPath *fs_path, struct stat *stbuf) in local_lstat() 443 static int local_set_cred_passthrough(FsContext *fs_ctx, int dirfd, in local_set_cred_passthrough() 460 static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path, in local_readlink() 495 static int local_close(FsContext *ctx, V9fsFidOpenState *fs) in local_close() 500 static int local_closedir(FsContext *ctx, V9fsFidOpenState *fs) in local_closedir() 505 static int local_open(FsContext *ctx, V9fsPath *fs_path, in local_open() 518 static int local_opendir(FsContext *ctx, in local_opendir() 538 static void local_rewinddir(FsContext *ctx, V9fsFidOpenState *fs) in local_rewinddir() [all …]
|
H A D | 9p-xattr-user.c | 25 static ssize_t mp_user_getxattr(FsContext *ctx, const char *path, in mp_user_getxattr() 39 static ssize_t mp_user_listxattr(FsContext *ctx, const char *path, in mp_user_listxattr() 72 static int mp_user_setxattr(FsContext *ctx, const char *path, const char *name, in mp_user_setxattr() 86 static int mp_user_removexattr(FsContext *ctx, in mp_user_removexattr()
|
H A D | 9p-local.h | 16 int local_open_nofollow(FsContext *fs_ctx, const char *path, int flags, 18 int local_opendir_nofollow(FsContext *fs_ctx, const char *path);
|
H A D | 9p.h | 120 static inline char *rpath(FsContext *ctx, const char *path) in rpath() 343 FsContext ctx;
|
H A D | 9p.c | 1388 static inline bool is_ro_export(FsContext *ctx) in is_ro_export()
|