• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* automatically generated by tools/bindgen-all-the-things */
2 
3 #![allow(clippy::missing_safety_doc)]
4 #![allow(clippy::upper_case_acronyms)]
5 #![allow(non_upper_case_globals)]
6 #![allow(non_camel_case_types)]
7 #![allow(non_snake_case)]
8 #![allow(dead_code)]
9 
10 // Added by virtio_sys/bindgen.sh
11 use data_model::Le32;
12 use zerocopy::AsBytes;
13 use zerocopy::FromBytes;
14 
15 pub const VIRTIO_FS_SHMCAP_ID_CACHE: u32 = 0;
16 #[repr(C, packed)]
17 #[derive(Debug, Copy, Clone, FromBytes, AsBytes)]
18 pub struct virtio_fs_config {
19     pub tag: [u8; 36usize],
20     pub num_request_queues: Le32,
21 }
22 impl Default for virtio_fs_config {
default() -> Self23     fn default() -> Self {
24         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
25         unsafe {
26             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
27             s.assume_init()
28         }
29     }
30 }
31