Lines Matching +full:enum +full:- +full:as +full:- +full:flags
7 #include "fsdev/file-op-9p.h"
8 #include "fsdev/9p-iov-marshal.h"
13 enum {
86 enum {
98 typedef enum P9ProtoVersion {
122 return g_strdup_printf("%s/%s", ctx->fs_root, path); in rpath()
140 /* According to the specification, 9p messages start with a 7-byte header.
169 enum {
183 /* 9p2000.L xattr flags (matches Linux values) */
193 int flags; member
208 if (dir->proto_version == V9FS_PROTO_2000U) { in v9fs_readdir_lock()
209 qemu_co_mutex_lock(&dir->readdir_mutex_u); in v9fs_readdir_lock()
211 qemu_mutex_lock(&dir->readdir_mutex_L); in v9fs_readdir_lock()
217 if (dir->proto_version == V9FS_PROTO_2000U) { in v9fs_readdir_unlock()
218 qemu_co_mutex_unlock(&dir->readdir_mutex_u); in v9fs_readdir_unlock()
220 qemu_mutex_unlock(&dir->readdir_mutex_L); in v9fs_readdir_unlock()
226 dir->proto_version = proto_version; in v9fs_readdir_init()
228 qemu_co_mutex_init(&dir->readdir_mutex_u); in v9fs_readdir_init()
230 qemu_mutex_init(&dir->readdir_mutex_L); in v9fs_readdir_init()
247 * instead of an array, directory entries are always returned as
278 int flags; member
286 typedef enum AffixType_t {
298 * property of being suffix-free (or prefix-free in case of prefixes)
300 * always reliably get unique numbers as result after concatenation.
331 /* QID path full entry, as above */
368 /* 9p2000.L open flags */
389 /* 9p2000.L at flags */
408 uint32_t flags; member
430 if (s->ctx.export_flags & V9FS_PATHNAME_FSCONTEXT) { in v9fs_path_write_lock()
431 qemu_co_rwlock_wrlock(&s->rename_lock); in v9fs_path_write_lock()
438 if (s->ctx.export_flags & V9FS_PATHNAME_FSCONTEXT) { in v9fs_path_read_lock()
439 qemu_co_rwlock_rdlock(&s->rename_lock); in v9fs_path_read_lock()
446 if (s->ctx.export_flags & V9FS_PATHNAME_FSCONTEXT) { in v9fs_path_unlock()
447 qemu_co_rwlock_unlock(&s->rename_lock); in v9fs_path_unlock()
453 return pdu->cancelled; in v9fs_request_cancelled()