/openbmc/qemu/hw/9pfs/ |
H A D | coth.h | 67 off_t coroutine_fn v9fs_co_telldir(V9fsPDU *, V9fsFidState *); 69 void coroutine_fn v9fs_co_rewinddir(V9fsPDU *, V9fsFidState *); 72 int coroutine_fn v9fs_co_chmod(V9fsPDU *, V9fsPath *, mode_t); 77 int coroutine_fn v9fs_co_lgetxattr(V9fsPDU *, V9fsPath *, 83 int coroutine_fn v9fs_co_remove(V9fsPDU *, V9fsPath *); 90 int coroutine_fn v9fs_co_opendir(V9fsPDU *, V9fsFidState *); 91 int coroutine_fn v9fs_co_open(V9fsPDU *, V9fsFidState *, int); 102 int coroutine_fn v9fs_co_link(V9fsPDU *, V9fsFidState *, 104 int coroutine_fn v9fs_co_pwritev(V9fsPDU *, V9fsFidState *, 106 int coroutine_fn v9fs_co_preadv(V9fsPDU *, V9fsFidState *, [all …]
|
H A D | 9p.h | 131 typedef struct V9fsPDU V9fsPDU; typedef 146 struct V9fsPDU { struct 153 QLIST_ENTRY(V9fsPDU) next; argument 340 QLIST_HEAD(, V9fsPDU) free_list; 341 QLIST_HEAD(, V9fsPDU) active_list; 348 V9fsPDU pdus[MAX_REQ]; 456 void coroutine_fn v9fs_reclaim_fd(V9fsPDU *pdu); 468 V9fsPDU *pdu_alloc(V9fsState *s); 469 void pdu_free(V9fsPDU *pdu); 470 void pdu_submit(V9fsPDU *pdu, P9MsgHeader *hdr); [all …]
|
H A D | cofs.c | 77 int coroutine_fn v9fs_co_statfs(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_statfs() 98 int coroutine_fn v9fs_co_chmod(V9fsPDU *pdu, V9fsPath *path, mode_t mode) in v9fs_co_chmod() 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() 187 int coroutine_fn v9fs_co_mknod(V9fsPDU *pdu, V9fsFidState *fidp, 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() 288 int coroutine_fn v9fs_co_renameat(V9fsPDU *pdu, V9fsPath *olddirpath, in v9fs_co_renameat() 309 int coroutine_fn v9fs_co_symlink(V9fsPDU *pdu, V9fsFidState *dfidp, in v9fs_co_symlink() [all …]
|
H A D | codir.c | 31 static int do_readdir(V9fsPDU *pdu, V9fsFidState *fidp, struct dirent **dent) in do_readdir() 52 int coroutine_fn v9fs_co_readdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_readdir() 72 do_readdir_many(V9fsPDU *pdu, V9fsFidState *fidp, struct V9fsDirEnt **entries, in do_readdir_many() 216 int coroutine_fn v9fs_co_readdir_many(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_readdir_many() 232 off_t v9fs_co_telldir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_telldir() 250 void coroutine_fn v9fs_co_seekdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_seekdir() 263 void coroutine_fn v9fs_co_rewinddir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_rewinddir() 275 int coroutine_fn v9fs_co_mkdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_mkdir() 313 int coroutine_fn v9fs_co_opendir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_opendir() 341 int coroutine_fn v9fs_co_closedir(V9fsPDU *pdu, V9fsFidOpenState *fs) in v9fs_co_closedir()
|
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() 69 int coroutine_fn v9fs_co_fstat(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_fstat() 102 int coroutine_fn v9fs_co_open(V9fsPDU *pdu, V9fsFidState *fidp, int flags) in v9fs_co_open() 130 int coroutine_fn v9fs_co_open2(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_open2() 185 int coroutine_fn v9fs_co_close(V9fsPDU *pdu, V9fsFidOpenState *fs) in v9fs_co_close() 206 int coroutine_fn v9fs_co_fsync(V9fsPDU *pdu, V9fsFidState *fidp, int datasync) in v9fs_co_fsync() 224 int coroutine_fn v9fs_co_link(V9fsPDU *pdu, V9fsFidState *oldfid, in v9fs_co_link() 246 int coroutine_fn v9fs_co_pwritev(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_pwritev() 266 int coroutine_fn v9fs_co_preadv(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_preadv()
|
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.c | 1008 V9fsPDU *pdu = NULL; in pdu_alloc() 1396 V9fsPDU *pdu = opaque; in v9fs_version() 1452 V9fsPDU *pdu = opaque; in v9fs_attach() 1538 V9fsPDU *pdu = opaque; in v9fs_stat() 1586 V9fsPDU *pdu = opaque; in v9fs_getattr() 1662 V9fsPDU *pdu = opaque; in v9fs_setattr() 1790 V9fsPDU *pdu = opaque; in v9fs_walk() 1981 V9fsPDU *pdu = opaque; in v9fs_open() 2077 V9fsPDU *pdu = opaque; in v9fs_lcreate() 2148 V9fsPDU *pdu = opaque; in v9fs_fsync() [all …]
|
H A D | virtio-9p-device.c | 31 static void virtio_9p_push_and_notify(V9fsPDU *pdu) in virtio_9p_push_and_notify() 50 V9fsPDU *pdu; in handle_9p_output() 120 static ssize_t virtio_pdu_vmarshal(V9fsPDU *pdu, size_t offset, in virtio_pdu_vmarshal() 138 static ssize_t virtio_pdu_vunmarshal(V9fsPDU *pdu, size_t offset, in virtio_pdu_vunmarshal() 155 static void virtio_init_in_iov_from_pdu(V9fsPDU *pdu, struct iovec **piov, in virtio_init_in_iov_from_pdu() 175 static void virtio_init_out_iov_from_pdu(V9fsPDU *pdu, struct iovec **piov, in virtio_init_out_iov_from_pdu()
|
H A D | xen-9p-backend.c | 134 static ssize_t xen_9pfs_pdu_vmarshal(V9fsPDU *pdu, in xen_9pfs_pdu_vmarshal() 158 static ssize_t xen_9pfs_pdu_vunmarshal(V9fsPDU *pdu, in xen_9pfs_pdu_vunmarshal() 181 static void xen_9pfs_init_out_iov_from_pdu(V9fsPDU *pdu, in xen_9pfs_init_out_iov_from_pdu() 198 static void xen_9pfs_init_in_iov_from_pdu(V9fsPDU *pdu, in xen_9pfs_init_in_iov_from_pdu() 230 static void xen_9pfs_push_and_notify(V9fsPDU *pdu) in xen_9pfs_push_and_notify() 270 V9fsPDU *pdu; in xen_9pfs_receive()
|