25#define VIRTIO_FS_REQUEST_QUEUE 1
30#define VIRTIO_FS_TAG_BYTES 36
43 UINT8 Tag[VIRTIO_FS_TAG_BYTES];
76#define VIRTIO_FS_FUSE_MAJOR 7
77#define VIRTIO_FS_FUSE_MINOR 31
82#define VIRTIO_FS_FUSE_ROOT_DIR_NODE_ID 1
87#define VIRTIO_FS_FUSE_ERRNO_ENOENT (-2)
92#define VIRTIO_FS_FUSE_MODE_TYPE_MASK 0170000u
93#define VIRTIO_FS_FUSE_MODE_TYPE_REG 0100000u
94#define VIRTIO_FS_FUSE_MODE_TYPE_DIR 0040000u
95#define VIRTIO_FS_FUSE_MODE_PERM_RWXU 0000700u
96#define VIRTIO_FS_FUSE_MODE_PERM_RUSR 0000400u
97#define VIRTIO_FS_FUSE_MODE_PERM_WUSR 0000200u
98#define VIRTIO_FS_FUSE_MODE_PERM_XUSR 0000100u
99#define VIRTIO_FS_FUSE_MODE_PERM_RWXG 0000070u
100#define VIRTIO_FS_FUSE_MODE_PERM_RGRP 0000040u
101#define VIRTIO_FS_FUSE_MODE_PERM_WGRP 0000020u
102#define VIRTIO_FS_FUSE_MODE_PERM_XGRP 0000010u
103#define VIRTIO_FS_FUSE_MODE_PERM_RWXO 0000007u
104#define VIRTIO_FS_FUSE_MODE_PERM_ROTH 0000004u
105#define VIRTIO_FS_FUSE_MODE_PERM_WOTH 0000002u
106#define VIRTIO_FS_FUSE_MODE_PERM_XOTH 0000001u
112#define VIRTIO_FS_FUSE_SETATTR_REQ_F_MODE BIT0
113#define VIRTIO_FS_FUSE_SETATTR_REQ_F_SIZE BIT3
114#define VIRTIO_FS_FUSE_SETATTR_REQ_F_ATIME BIT4
115#define VIRTIO_FS_FUSE_SETATTR_REQ_F_MTIME BIT5
120#define VIRTIO_FS_FUSE_OPEN_REQ_F_RDONLY 0
121#define VIRTIO_FS_FUSE_OPEN_REQ_F_RDWR 2
126#define VIRTIO_FS_FUSE_INIT_REQ_F_DO_READDIRPLUS BIT13
147#define VIRTIO_FS_FUSE_DIRENTPLUS_RESPONSE_SIZE(Namelen) \
148 ((Namelen) == 0 || (Namelen) > SIZE_4KB ? \
151 sizeof (VIRTIO_FS_FUSE_DIRENTPLUS_RESPONSE) + (UINTN)(Namelen), \
159#define VIRTIO_FS_FUSE_RENAME2_REQ_F_NOREPLACE BIT0
165 VirtioFsFuseOpLookup = 1,
166 VirtioFsFuseOpForget = 2,
167 VirtioFsFuseOpGetAttr = 3,
168 VirtioFsFuseOpSetAttr = 4,
169 VirtioFsFuseOpMkDir = 9,
170 VirtioFsFuseOpUnlink = 10,
171 VirtioFsFuseOpRmDir = 11,
172 VirtioFsFuseOpOpen = 14,
173 VirtioFsFuseOpRead = 15,
174 VirtioFsFuseOpWrite = 16,
175 VirtioFsFuseOpStatFs = 17,
176 VirtioFsFuseOpRelease = 18,
177 VirtioFsFuseOpFsync = 20,
178 VirtioFsFuseOpFlush = 25,
179 VirtioFsFuseOpInit = 26,
180 VirtioFsFuseOpOpenDir = 27,
181 VirtioFsFuseOpReleaseDir = 29,
182 VirtioFsFuseOpFsyncDir = 30,
183 VirtioFsFuseOpCreate = 35,
184 VirtioFsFuseOpReadDirPlus = 44,
185 VirtioFsFuseOpRename2 = 45,
186} VIRTIO_FS_FUSE_OPCODE;
220 UINT32 EntryValidNsec;
221 UINT32 AttrValidNsec;
252 UINT64 NumberOfLookups;
267 UINT32 AttrValidNsec;
406 UINT16 MaxBackground;
407 UINT16 CongestionThreshold;
439 UINT64 CookieForNextEntry;