Home
last modified time | relevance | path

Searched refs:VhostUserProtocolFeatures (Results 1 – 9 of 9) sorted by relevance

/external/crosvm/devices/src/virtio/vhost/user/
Dhandler.rs10 VhostUserConfigFlags, VhostUserProtocolFeatures, VhostUserVirtioFeatures,
29 protocol_features: VhostUserProtocolFeatures,
38 allow_protocol_features: VhostUserProtocolFeatures, in new() argument
45 let mut protocol_features = VhostUserProtocolFeatures::empty(); in new()
67 .contains(VhostUserProtocolFeatures::MQ) in queue_sizes()
Dnet.rs16 use vmm_vhost::vhost_user::message::{VhostUserProtocolFeatures, VhostUserVirtioFeatures};
53 VhostUserProtocolFeatures::MQ | VhostUserProtocolFeatures::CONFIG; in new()
Dfs.rs14 use vmm_vhost::vhost_user::message::{VhostUserProtocolFeatures, VhostUserVirtioFeatures};
60 VhostUserProtocolFeatures::MQ | VhostUserProtocolFeatures::CONFIG; in new()
Dblock.rs15 use vmm_vhost::vhost_user::message::{VhostUserProtocolFeatures, VhostUserVirtioFeatures};
55 let allow_protocol_features = VhostUserProtocolFeatures::CONFIG; in new()
/external/rust/crates/vmm_vhost/src/vhost_user/
Dslave_req_handler.rs58 fn get_protocol_features(&self) -> Result<VhostUserProtocolFeatures>; in get_protocol_features() argument
96 fn get_protocol_features(&mut self) -> Result<VhostUserProtocolFeatures>; in get_protocol_features() argument
172 fn get_protocol_features(&self) -> Result<VhostUserProtocolFeatures> { in get_protocol_features() argument
232 protocol_features: VhostUserProtocolFeatures,
249 protocol_features: VhostUserProtocolFeatures::empty(), in new()
393 if self.acked_protocol_features & VhostUserProtocolFeatures::MQ.bits() == 0 { in handle_request()
403 if self.acked_protocol_features & VhostUserProtocolFeatures::MQ.bits() == 0 in handle_request()
418 if self.acked_protocol_features & VhostUserProtocolFeatures::CONFIG.bits() == 0 { in handle_request()
425 if self.acked_protocol_features & VhostUserProtocolFeatures::CONFIG.bits() == 0 { in handle_request()
432 if self.acked_protocol_features & VhostUserProtocolFeatures::SLAVE_REQ.bits() == 0 { in handle_request()
[all …]
Ddummy_slave.rs182 fn get_protocol_features(&mut self) -> Result<VhostUserProtocolFeatures> { in get_protocol_features() argument
183 Ok(VhostUserProtocolFeatures::all()) in get_protocol_features()
224 if self.acked_protocol_features & VhostUserProtocolFeatures::CONFIG.bits() == 0 { in get_config()
237 if self.acked_protocol_features & VhostUserProtocolFeatures::CONFIG.bits() == 0 { in set_config()
Dmaster.rs23 fn get_protocol_features(&mut self) -> Result<VhostUserProtocolFeatures>; in get_protocol_features() argument
26 fn set_protocol_features(&mut self, features: VhostUserProtocolFeatures) -> Result<()>; in set_protocol_features()
209 if node.acked_protocol_features & VhostUserProtocolFeatures::LOG_SHMFD.bits() != 0 in set_log_base()
317 fn get_protocol_features(&mut self) -> Result<VhostUserProtocolFeatures> { in get_protocol_features() argument
328 match VhostUserProtocolFeatures::from_bits(node.protocol_features) { in get_protocol_features()
334 fn set_protocol_features(&mut self, features: VhostUserProtocolFeatures) -> Result<()> { in set_protocol_features()
393 if node.acked_protocol_features & VhostUserProtocolFeatures::CONFIG.bits() == 0 { in get_config()
429 if node.acked_protocol_features & VhostUserProtocolFeatures::CONFIG.bits() == 0 { in set_config()
439 if node.acked_protocol_features & VhostUserProtocolFeatures::SLAVE_REQ.bits() == 0 { in set_slave_request_fd()
450 if node.acked_protocol_features & VhostUserProtocolFeatures::CONFIGURE_MEM_SLOTS.bits() == 0 in get_max_mem_slots()
[all …]
Dmod.rs260 VhostUserProtocolFeatures::all().bits() in test_set_features()
275 assert_eq!(features.bits(), VhostUserProtocolFeatures::all().bits()); in test_set_features()
308 VhostUserProtocolFeatures::all().bits() in test_master_slave_process()
360 assert_eq!(features.bits(), VhostUserProtocolFeatures::all().bits()); in test_master_slave_process()
Dmessage.rs353 pub struct VhostUserProtocolFeatures: u64 {