Home
last modified time | relevance | path

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

/external/rust/crates/vmm_vhost/src/vhost_user/
Dmod.rs220 let slave_be = Arc::new(Mutex::new(DummySlaveReqHandler::new())); in test_set_owner() localVariable
224 let (master, mut slave) = create_slave(&path, slave_be.clone()); in test_set_owner()
226 assert_eq!(slave_be.lock().unwrap().owned, false); in test_set_owner()
229 assert_eq!(slave_be.lock().unwrap().owned, true); in test_set_owner()
232 assert_eq!(slave_be.lock().unwrap().owned, true); in test_set_owner()
242 let slave_be = Arc::new(Mutex::new(DummySlaveReqHandler::new())); in test_set_features() localVariable
243 let (mut master, mut slave) = create_slave(&path, slave_be.clone()); in test_set_features()
247 assert_eq!(slave_be.lock().unwrap().owned, true); in test_set_features()
252 slave_be.lock().unwrap().acked_features, in test_set_features()
259 slave_be.lock().unwrap().acked_protocol_features, in test_set_features()
[all …]