virtio_fs.h 573 B

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