Searched refs:VhostUserMemoryRegion (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/vmm_vhost/src/vhost_user/ |
D | message.rs | 443 pub struct VhostUserMemoryRegion { struct 454 impl VhostUserMemoryRegion { impl 457 VhostUserMemoryRegion { in new() 466 impl VhostUserMsgValidator for VhostUserMemoryRegion { implementation 480 pub type VhostUserMemoryPayload = Vec<VhostUserMemoryRegion>; 861 let mut msg = VhostUserMemoryRegion { in check_user_memory_region() 879 let msg = VhostUserMemoryRegion::default(); in check_user_memory_region()
|
D | slave_req_handler.rs | 41 fn set_mem_table(&self, ctx: &[VhostUserMemoryRegion], fds: &[RawFd]) -> Result<()>; in set_mem_table() argument 79 fn set_mem_table(&mut self, ctx: &[VhostUserMemoryRegion], fds: &[RawFd]) -> Result<()>; in set_mem_table() argument 130 fn set_mem_table(&self, ctx: &[VhostUserMemoryRegion], fds: &[RawFd]) -> Result<()> { in set_mem_table() argument 511 if size != hdrsize + msg.num_regions as usize * mem::size_of::<VhostUserMemoryRegion>() { in set_mem_table() 531 buf.as_ptr().add(hdrsize) as *const VhostUserMemoryRegion, in set_mem_table() constant
|
D | dummy_slave.rs | 86 fn set_mem_table(&mut self, _ctx: &[VhostUserMemoryRegion], _fds: &[RawFd]) -> Result<()> { in set_mem_table() argument
|
D | master.rs | 182 let reg = VhostUserMemoryRegion { in set_mem_table() 526 pub fn append(&mut self, region: &VhostUserMemoryRegion, fd: RawFd) { in append() argument
|