/qemu/fsdev/ |
H A D | file-op-9p.h | 41 typedef struct V9fsPath V9fsPath; typedef 112 struct V9fsPath { struct 116 P9ARRAY_DECLARE_TYPE(V9fsPath); argument 128 int (*chmod)(FsContext *, V9fsPath *, FsCred *); 129 int (*chown)(FsContext *, V9fsPath *, FsCred *); 135 int (*link)(FsContext *, V9fsPath *, V9fsPath *, const char *); 141 int (*open2)(FsContext *, V9fsPath *, const char *, 154 int (*truncate)(FsContext *, V9fsPath *, off_t); 157 ssize_t (*lgetxattr)(FsContext *, V9fsPath *, 160 int (*lsetxattr)(FsContext *, V9fsPath *, [all …]
|
/qemu/hw/9pfs/ |
H A D | coth.h | 71 int coroutine_fn v9fs_co_lstat(V9fsPDU *, V9fsPath *, struct stat *); 72 int coroutine_fn v9fs_co_chmod(V9fsPDU *, V9fsPath *, mode_t); 74 int coroutine_fn v9fs_co_chown(V9fsPDU *, V9fsPath *, uid_t, gid_t); 75 int coroutine_fn v9fs_co_truncate(V9fsPDU *, V9fsPath *, off_t); 77 int coroutine_fn v9fs_co_lgetxattr(V9fsPDU *, V9fsPath *, 83 int coroutine_fn v9fs_co_remove(V9fsPDU *, V9fsPath *); 84 int coroutine_fn v9fs_co_rename(V9fsPDU *, V9fsPath *, V9fsPath *); 88 V9fsPath *, V9fsString *); 108 int coroutine_fn v9fs_co_name_to_path(V9fsPDU *, V9fsPath *, 109 const char *, V9fsPath *); [all …]
|
H A D | cofs.c | 25 static ssize_t __readlink(V9fsState *s, V9fsPath *path, V9fsString *buf) in __readlink() 77 int coroutine_fn v9fs_co_statfs(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_statfs() 121 int coroutine_fn v9fs_co_utimensat(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_utimensat() 142 int coroutine_fn v9fs_co_chown(V9fsPDU *pdu, V9fsPath *path, uid_t uid, in v9fs_co_chown() 192 V9fsPath path; in v9fs_co_mknod() 227 int coroutine_fn v9fs_co_remove(V9fsPDU *pdu, V9fsPath *path) in v9fs_co_remove() 247 int coroutine_fn v9fs_co_unlinkat(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_unlinkat() 269 int coroutine_fn v9fs_co_rename(V9fsPDU *pdu, V9fsPath *oldpath, in v9fs_co_rename() 270 V9fsPath *newpath) in v9fs_co_rename() 288 int coroutine_fn v9fs_co_renameat(V9fsPDU *pdu, V9fsPath *olddirpath, in v9fs_co_renameat() [all …]
|
H A D | 9p-synth.c | 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() 365 static int synth_mknod(FsContext *fs_ctx, V9fsPath *path, in synth_mknod() 372 static int synth_mkdir(FsContext *fs_ctx, V9fsPath *path, in synth_mkdir() 393 static int synth_link(FsContext *fs_ctx, V9fsPath *oldpath, in synth_link() 394 V9fsPath *newpath, const char *buf) in synth_link() 413 static int synth_utimensat(FsContext *fs_ctx, V9fsPath *path, in synth_utimensat() 433 static int synth_statfs(FsContext *s, V9fsPath *fs_path, in synth_statfs() 460 static int synth_lsetxattr(FsContext *ctx, V9fsPath *path, in synth_lsetxattr() 517 static int synth_renameat(FsContext *ctx, V9fsPath *olddir, in synth_renameat() [all …]
|
H A D | 9p.h | 275 V9fsPath path; 457 void v9fs_path_init(V9fsPath *path); 458 void v9fs_path_free(V9fsPath *path); 459 void v9fs_path_sprintf(V9fsPath *path, const char *fmt, ...); 460 void v9fs_path_copy(V9fsPath *dst, const V9fsPath *src); 462 int v9fs_name_to_path(V9fsState *s, V9fsPath *dirpath, 463 const char *name, V9fsPath *path);
|
H A D | 9p-local.c | 505 static int local_open(FsContext *ctx, V9fsPath *fs_path, in local_open() 519 V9fsPath *fs_path, V9fsFidOpenState *fs) in local_opendir() 664 static int local_mknod(FsContext *fs_ctx, V9fsPath *dir_path, in local_mknod() 716 static int local_mkdir(FsContext *fs_ctx, V9fsPath *dir_path, in local_mkdir() 955 static int local_link(FsContext *ctx, V9fsPath *oldpath, in local_link() 956 V9fsPath *dirpath, const char *name) in local_link() 1072 static int local_utimensat(FsContext *s, V9fsPath *fs_path, in local_utimensat() 1270 static int local_renameat(FsContext *ctx, V9fsPath *olddir, in local_renameat() 1353 V9fsPath olddir, newdir; in local_rename() 1368 static int local_unlinkat(FsContext *ctx, V9fsPath *dir, in local_unlinkat() [all …]
|
H A D | coxattr.c | 25 int coroutine_fn v9fs_co_llistxattr(V9fsPDU *pdu, V9fsPath *path, void *value, in v9fs_co_llistxattr() 46 int coroutine_fn v9fs_co_lgetxattr(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_lgetxattr() 70 int coroutine_fn v9fs_co_lsetxattr(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_lsetxattr() 94 int coroutine_fn v9fs_co_lremovexattr(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_lremovexattr()
|
H A D | 9p-proxy.c | 669 static int proxy_open(FsContext *ctx, V9fsPath *fs_path, in proxy_open() 681 V9fsPath *fs_path, V9fsFidOpenState *fs) in proxy_opendir() 790 static int proxy_mknod(FsContext *fs_ctx, V9fsPath *dir_path, in proxy_mknod() 810 static int proxy_mkdir(FsContext *fs_ctx, V9fsPath *dir_path, in proxy_mkdir() 883 static int proxy_link(FsContext *ctx, V9fsPath *oldpath, in proxy_link() 884 V9fsPath *dirpath, const char *name) in proxy_link() 944 static int proxy_utimensat(FsContext *s, V9fsPath *fs_path, in proxy_utimensat() 1000 static ssize_t proxy_lgetxattr(FsContext *ctx, V9fsPath *fs_path, in proxy_lgetxattr() 1052 static int proxy_lremovexattr(FsContext *ctx, V9fsPath *fs_path, in proxy_lremovexattr() 1079 static int proxy_renameat(FsContext *ctx, V9fsPath *olddir, in proxy_renameat() [all …]
|
H A D | cofile.c | 25 int coroutine_fn v9fs_co_st_gen(V9fsPDU *pdu, V9fsPath *path, mode_t st_mode, in v9fs_co_st_gen() 49 int coroutine_fn v9fs_co_lstat(V9fsPDU *pdu, V9fsPath *path, struct stat *stbuf) in v9fs_co_lstat() 136 V9fsPath path; in v9fs_co_open2()
|
H A D | 9p.c | 217 void v9fs_path_copy(V9fsPath *dst, const V9fsPath *src) in v9fs_path_copy() 241 static int v9fs_path_is_ancestor(V9fsPath *s1, V9fsPath *s2) in v9fs_path_is_ancestor() 1379 static void v9fs_fix_path(V9fsPath *dst, V9fsPath *src, int len) in v9fs_fix_path() 1381 V9fsPath str; in v9fs_fix_path() 1780 V9fsPath dpath, path; in v9fs_walk() 2271 V9fsPath path; in v9fs_do_readdir_with_stat() 2752 V9fsPath path; in v9fs_create() 3141 V9fsPath path; in v9fs_unlinkat() 3212 V9fsPath new_path; in v9fs_complete_rename() 3235 V9fsPath dir_path; in v9fs_complete_rename() [all …]
|
H A D | codir.c | 82 V9fsPath path; in do_readdir_many() 281 V9fsPath path; in v9fs_co_mkdir()
|