Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
0002 
0003 #ifndef _UAPI_LINUX_VIRTIO_FS_H
0004 #define _UAPI_LINUX_VIRTIO_FS_H
0005 
0006 #include <linux/types.h>
0007 #include <linux/virtio_ids.h>
0008 #include <linux/virtio_config.h>
0009 #include <linux/virtio_types.h>
0010 
0011 struct virtio_fs_config {
0012     /* Filesystem name (UTF-8, not NUL-terminated, padded with NULs) */
0013     __u8 tag[36];
0014 
0015     /* Number of request queues */
0016     __le32 num_request_queues;
0017 } __attribute__((packed));
0018 
0019 /* For the id field in virtio_pci_shm_cap */
0020 #define VIRTIO_FS_SHMCAP_ID_CACHE 0
0021 
0022 #endif /* _UAPI_LINUX_VIRTIO_FS_H */