Home
last modified time | relevance | path

Searched refs:FsContext (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/fsdev/
H A Dfile-op-9p.h40 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 D9p-xattr.h21 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 D9p-synth.c156 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 D9p-xattr.c39 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 D9p-posix-acl.c30 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 D9p-local.c60 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 D9p-xattr-user.c25 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 D9p-local.h16 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 D9p.h120 static inline char *rpath(FsContext *ctx, const char *path) in rpath()
343 FsContext ctx;
H A D9p.c1388 static inline bool is_ro_export(FsContext *ctx) in is_ro_export()