zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

virtio_fs.h (572B) - Raw


      1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
      2 
      3 #ifndef _LINUX_VIRTIO_FS_H
      4 #define _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 /* _LINUX_VIRTIO_FS_H */