Home
last modified time | relevance | path

Searched refs:VhostUserVringState (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/vmm_vhost/src/vhost_user/
Dmessage.rs528 pub struct VhostUserVringState { struct
535 impl VhostUserVringState { argument
538 VhostUserVringState { index, num } in new()
542 impl VhostUserMsgValidator for VhostUserVringState {} implementation
892 let state = VhostUserVringState::new(5, 8); in test_vhost_user_state()
900 let state = VhostUserVringState::default(); in test_vhost_user_state()
Dslave_req_handler.rs53 fn get_vring_base(&self, index: u32) -> Result<VhostUserVringState>; in get_vring_base() argument
91 fn get_vring_base(&mut self, index: u32) -> Result<VhostUserVringState>; in get_vring_base() argument
156 fn get_vring_base(&self, index: u32) -> Result<VhostUserVringState> { in get_vring_base() argument
330 let msg = self.extract_request_body::<VhostUserVringState>(&hdr, size, &buf)?; in handle_request()
351 let msg = self.extract_request_body::<VhostUserVringState>(&hdr, size, &buf)?; in handle_request()
356 let msg = self.extract_request_body::<VhostUserVringState>(&hdr, size, &buf)?; in handle_request()
402 let msg = self.extract_request_body::<VhostUserVringState>(&hdr, size, &buf)?; in handle_request()
Ddummy_slave.rs121 fn get_vring_base(&mut self, index: u32) -> Result<VhostUserVringState> { in get_vring_base() argument
131 Ok(VhostUserVringState::new( in get_vring_base()
Dmaster.rs234 let val = VhostUserVringState::new(queue_index as u32, num.into()); in set_vring_num()
260 let val = VhostUserVringState::new(queue_index as u32, base.into()); in set_vring_base()
271 let req = VhostUserVringState::new(queue_index as u32, 0); in get_vring_base()
273 let reply = node.recv_reply::<VhostUserVringState>(&hdr)?; in get_vring_base()
374 let val = VhostUserVringState::new(queue_index as u32, flag); in set_vring_enable()