xref: /linux/include/uapi/linux/virtio_fs.h (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 
3 #ifndef _UAPI_LINUX_VIRTIO_FS_H
4 #define _UAPI_LINUX_VIRTIO_FS_H
5 
6 #include <linux/types.h>
7 #include <linux/virtio_ids.h>
8 #include <linux/virtio_config.h>
9 #include <linux/virtio_types.h>
10 
11 struct virtio_fs_config {
12 	/* Filesystem name (UTF-8, not NUL-terminated, padded with NULs) */
13 	__u8 tag[36];
14 
15 	/* Number of request queues */
16 	__le32 num_request_queues;
17 } __attribute__((packed));
18 
19 /* For the id field in virtio_pci_shm_cap */
20 #define VIRTIO_FS_SHMCAP_ID_CACHE 0
21 
22 #endif /* _UAPI_LINUX_VIRTIO_FS_H */
23