• Home
  • Raw
  • Download

Lines Matching defs:hdr

148         let hdr = node.send_request_header(MasterReq::GET_FEATURES, None)?;  in get_features()  localVariable
158 let hdr = node.send_request_with_body(MasterReq::SET_FEATURES, &val, None)?; in set_features() localVariable
168 let hdr = node.send_request_header(MasterReq::SET_OWNER, None)?; in set_owner() localVariable
174 let hdr = node.send_request_header(MasterReq::RESET_OWNER, None)?; in reset_owner() localVariable
204 let hdr = node.send_request_with_payload( in set_mem_table() localVariable
233 let hdr = node.send_request_header(MasterReq::SET_LOG_FD, Some(&fds))?; in set_log_fd() localVariable
245 let hdr = node.send_request_with_body(MasterReq::SET_VRING_NUM, &val, None)?; in set_vring_num() localVariable
259 let hdr = node.send_request_with_body(MasterReq::SET_VRING_ADDR, &val, None)?; in set_vring_addr() localVariable
271 let hdr = node.send_request_with_body(MasterReq::SET_VRING_BASE, &val, None)?; in set_vring_base() localVariable
282 let hdr = node.send_request_with_body(MasterReq::GET_VRING_BASE, &req, None)?; in get_vring_base() localVariable
296 let hdr = node.send_fd_for_vring( in set_vring_call() localVariable
313 let hdr = node.send_fd_for_vring( in set_vring_kick() localVariable
329 let hdr = node.send_fd_for_vring( in set_vring_err() localVariable
345 let hdr = node.send_request_header(MasterReq::GET_PROTOCOL_FEATURES, None)?; in get_protocol_features() localVariable
363 let hdr = node.send_request_with_body(MasterReq::SET_PROTOCOL_FEATURES, &val, None)?; in set_protocol_features() localVariable
377 let hdr = node.send_request_header(MasterReq::GET_QUEUE_NUM, None)?; in get_queue_num() localVariable
397 let hdr = node.send_request_with_body(MasterReq::SET_VRING_ENABLE, &val, None)?; in set_vring_enable() localVariable
422 let hdr = node.send_request_with_payload(MasterReq::GET_CONFIG, &body, buf, None)?; in get_config() localVariable
454 let hdr = node.send_request_with_payload(MasterReq::SET_CONFIG, &body, buf, None)?; in set_config() localVariable
464 let hdr = node.send_request_header(MasterReq::SET_SLAVE_REQ_FD, Some(&fds))?; in set_slave_request_fd() localVariable
477 let hdr = node.send_request_with_body(MasterReq::GET_INFLIGHT_FD, inflight, None)?; in get_inflight_fd() localVariable
500 let hdr = node.send_request_with_body(MasterReq::SET_INFLIGHT_FD, inflight, Some(&[fd]))?; in set_inflight_fd() localVariable
511 let hdr = node.send_request_header(MasterReq::GET_MAX_MEM_SLOTS, None)?; in get_max_mem_slots() localVariable
535 let hdr = node.send_request_with_body(MasterReq::ADD_MEM_REG, &body, Some(&fds))?; in add_mem_region() localVariable
555 let hdr = node.send_request_with_body(MasterReq::REM_MEM_REG, &body, None)?; in remove_mem_region() localVariable
620 let hdr = self.new_request_header(code, 0); in send_request_header() localVariable
636 let hdr = self.new_request_header(code, mem::size_of::<T>() as u32); in send_request_with_body() localVariable
659 let hdr = self.new_request_header(code, len as u32); in send_request_with_payload() localVariable
680 let hdr = self.new_request_header(code, mem::size_of::<VhostUserU64>() as u32); in send_fd_for_vring() localVariable
820 let hdr = VhostUserMsgHeader::new(MasterReq::GET_FEATURES, 0x4, 8); in test_features() localVariable
828 let hdr = VhostUserMsgHeader::new(MasterReq::SET_FEATURES, 0x4, 8); in test_features() localVariable
837 let hdr = VhostUserMsgHeader::new(MasterReq::GET_FEATURES, 0x4, 8); in test_features() localVariable
858 let hdr = VhostUserMsgHeader::new(MasterReq::GET_FEATURES, 0x4, 8); in test_protocol_features() localVariable
873 let hdr = VhostUserMsgHeader::new(MasterReq::GET_PROTOCOL_FEATURES, 0x4, 8); in test_protocol_features() localVariable
887 let hdr = VhostUserMsgHeader::new(MasterReq::SET_PROTOCOL_FEATURES, 0x4, 8); in test_protocol_features() localVariable
956 let mut hdr = VhostUserMsgHeader::new(MasterReq::GET_CONFIG, 0x4, 16); in test_master_get_config_negative0() localVariable
978 let mut hdr = VhostUserMsgHeader::new(MasterReq::GET_CONFIG, 0x4, 16); in test_master_get_config_negative1() localVariable
999 let hdr = VhostUserMsgHeader::new(MasterReq::GET_CONFIG, 0x4, 16); in test_master_get_config_negative2() localVariable
1013 let hdr = VhostUserMsgHeader::new(MasterReq::GET_CONFIG, 0x4, 16); in test_master_get_config_negative3() localVariable
1034 let hdr = VhostUserMsgHeader::new(MasterReq::GET_CONFIG, 0x4, 16); in test_master_get_config_negative4() localVariable
1055 let hdr = VhostUserMsgHeader::new(MasterReq::GET_CONFIG, 0x4, 16); in test_master_get_config_negative5() localVariable
1076 let hdr = VhostUserMsgHeader::new(MasterReq::GET_CONFIG, 0x4, 16); in test_master_get_config_negative6() localVariable