Home
last modified time | relevance | path

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

/external/rust/crates/vmm_vhost/src/vhost_user/
Dmaster.rs135 let val = node.recv_reply::<VhostUserU64>(&hdr)?; in get_features()
143 let val = VhostUserU64::new(features); in set_features()
207 let val = VhostUserU64::new(base); in set_log_base()
324 let val = node.recv_reply::<VhostUserU64>(&hdr)?; in get_protocol_features()
340 let val = VhostUserU64::new(features.bits()); in set_protocol_features()
356 let val = node.recv_reply::<VhostUserU64>(&hdr)?; in get_queue_num()
456 let val = node.recv_reply::<VhostUserU64>(&hdr)?; in get_max_mem_slots()
617 let msg = VhostUserU64::new(queue_index as u64); in send_fd_for_vring()
618 let hdr = Self::new_request_header(code, mem::size_of::<VhostUserU64>() as u32); in send_fd_for_vring()
676 let (reply, body, rfds) = self.main_sock.recv_body::<VhostUserU64>()?; in wait_for_ack()
[all …]
Dslave_req_handler.rs314 let msg = VhostUserU64::new(features); in handle_request()
320 let msg = self.extract_request_body::<VhostUserU64>(&hdr, size, &buf)?; in handle_request()
361 self.check_request_size(&hdr, size, mem::size_of::<VhostUserU64>())?; in handle_request()
367 self.check_request_size(&hdr, size, mem::size_of::<VhostUserU64>())?; in handle_request()
373 self.check_request_size(&hdr, size, mem::size_of::<VhostUserU64>())?; in handle_request()
381 let msg = VhostUserU64::new(features.bits()); in handle_request()
387 let msg = self.extract_request_body::<VhostUserU64>(&hdr, size, &buf)?; in handle_request()
398 let msg = VhostUserU64::new(num); in handle_request()
447 let msg = VhostUserU64::new(num); in handle_request()
634 if buf.len() > MAX_MSG_SIZE || buf.len() < mem::size_of::<VhostUserU64>() { in handle_vring_fd_request()
[all …]
Dslave_fs_cache.rs56 let (reply, body, rfds) = self.sock.recv_body::<VhostUserU64>()?; in wait_for_ack()
195 let body = VhostUserU64::new(0); in test_slave_fs_cache_recv_negative()
214 let body = VhostUserU64::new(1); in test_slave_fs_cache_recv_negative()
220 let body = VhostUserU64::new(0); in test_slave_fs_cache_recv_negative()
Dmessage.rs394 pub struct VhostUserU64 { struct
399 impl VhostUserU64 { impl
402 VhostUserU64 { value } in new()
406 impl VhostUserMsgValidator for VhostUserU64 {} implementation
833 let val = VhostUserU64::default(); in test_vhost_user_message_u64()
834 let val1 = VhostUserU64::new(0); in test_vhost_user_message_u64()
839 let a = VhostUserU64::new(1).value; in test_vhost_user_message_u64()
Dmaster_req_handler.rs355 let hdr = self.new_reply_header::<VhostUserU64>(req)?; in send_ack_message()
367 let msg = VhostUserU64::new(val); in send_ack_message()