Searched refs:ALIGN_OF_MEMORY (Results 1 – 1 of 1) sorted by relevance
115 const ALIGN_OF_MEMORY: usize = mem::align_of::<virtio_sys::vhost_memory>(); in set_mem_table() constant117 const_assert!(ALIGN_OF_MEMORY >= ALIGN_OF_REGION); in set_mem_table()121 let layout = Layout::from_size_align(size, ALIGN_OF_MEMORY).expect("impossible layout"); in set_mem_table()