/external/crosvm/devices/src/usb/xhci/ |
D | ring_buffer.rs | 169 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in ring_test_dequeue() 173 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in ring_test_dequeue() 179 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in ring_test_dequeue() 183 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in ring_test_dequeue() 188 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in ring_test_dequeue() 192 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in ring_test_dequeue() 197 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in ring_test_dequeue() 202 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in ring_test_dequeue() 206 gm.write_obj_at_addr(ltrb, GuestAddress(0x300 + 2 * trb_size)) in ring_test_dequeue() 243 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in transfer_ring_test_dequeue_failure() [all …]
|
D | ring_buffer_controller.rs | 277 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in setup_mem() 281 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in setup_mem() 287 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in setup_mem() 291 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in setup_mem() 296 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in setup_mem() 300 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in setup_mem() 305 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in setup_mem() 310 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in setup_mem() 314 gm.write_obj_at_addr(ltrb, GuestAddress(0x300 + 2 * trb_size)) in setup_mem()
|
D | event_ring.rs | 84 .write_obj_at_addr(trb, self.enqueue_pointer) in add_event() 244 gm.write_obj_at_addr(st_entries[0], GuestAddress(0x8)) in test_event_ring() 246 gm.write_obj_at_addr( in test_event_ring() 251 gm.write_obj_at_addr( in test_event_ring()
|
D | scatter_gather_buffer.rs | 215 gm.write_obj_at_addr(trb, GuestAddress(0xc00)).unwrap(); in immediate_data_test()
|
D | device_slot.rs | 734 .write_obj_at_addr(device_context, self.get_device_context_addr()?) in set_device_context() 758 .write_obj_at_addr( in copy_context()
|
/external/crosvm/x86_64/src/ |
D | mptable.rs | 154 mem.write_obj_at_addr(mpf_intel, base_mp) in setup_mptable() 183 mem.write_obj_at_addr(mpc_cpu, base_mp) in setup_mptable() 197 mem.write_obj_at_addr(mpc_ioapic, base_mp) in setup_mptable() 209 mem.write_obj_at_addr(mpc_bus, base_mp) in setup_mptable() 221 mem.write_obj_at_addr(mpc_bus, base_mp) in setup_mptable() 237 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable() 255 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable() 274 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable() 292 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable() 315 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable() [all …]
|
D | regs.rs | 264 .write_obj_at_addr(*entry, addr) in write_gdt_table() 273 .write_obj_at_addr(val, boot_idt_addr) in write_idt_value() 320 mem.write_obj_at_addr(boot_pdpte_addr.offset() as u64 | 0x03, boot_pml4_addr) in setup_page_tables() 324 mem.write_obj_at_addr(boot_pde_addr.offset() as u64 | 0x03, boot_pdpte_addr) in setup_page_tables() 330 mem.write_obj_at_addr((i << 21) + 0x83u64, boot_pde_addr.unchecked_add(i * 8)) in setup_page_tables()
|
D | smbios.rs | 199 mem.write_obj_at_addr(val, curptr) in write_and_incr() 253 mem.write_obj_at_addr(smbios_ep, GuestAddress(SMBIOS_START)) in setup_smbios_from_file() 278 mem.write_obj_at_addr(smbios_ep, GuestAddress(SMBIOS_START)) in setup_smbios_from_file() 356 mem.write_obj_at_addr(smbios_ep, GuestAddress(SMBIOS_START)) in setup_smbios()
|
D | fdt.rs | 71 .write_obj_at_addr(hdr, fdt_address) in create_fdt()
|
D | lib.rs | 299 .write_obj_at_addr(params, zero_page_addr) in configure_system()
|
/external/crosvm/devices/src/virtio/ |
D | queue.rs | 351 mem.write_obj_at_addr(avail_index.0, avail_event_addr) in set_avail_event() 388 mem.write_obj_at_addr(used_index.0, used_index_addr) in set_used_index() 402 mem.write_obj_at_addr(used_flags, self.used_ring).unwrap(); in set_used_flag() 483 mem.write_obj_at_addr(desc_index as u32, used_elem).unwrap(); in add_used() 484 mem.write_obj_at_addr(len as u32, used_elem.unchecked_add(4)) in add_used() 654 let _ = mem.write_obj_at_addr(desc, GuestAddress(DESC_OFFSET)); in setup_vq() 657 let _ = mem.write_obj_at_addr(avail, GuestAddress(AVAIL_OFFSET)); in setup_vq() 660 let _ = mem.write_obj_at_addr(used, GuestAddress(USED_OFFSET)); in setup_vq() 701 let _ = mem.write_obj_at_addr(Le16::from(driver_handled.0), used_event_address); in queue_event_id_guest_fast() 720 let _ = mem.write_obj_at_addr(Le16::from(driver_handled.0), used_event_address); in queue_event_id_guest_fast() [all …]
|
D | balloon.rs | 552 .write_obj_at_addr(0x10u32, GuestAddress(0x100)) in desc_parsing_inflate() 555 .write_obj_at_addr(0xaa55aa55u32, GuestAddress(0x104)) in desc_parsing_inflate()
|
D | block.rs | 959 mem.write_obj_at_addr(req_hdr, GuestAddress(0x1000)) in read_last_sector() 1013 mem.write_obj_at_addr(req_hdr, GuestAddress(0x1000)) in read_beyond_last_sector() 1067 mem.write_obj_at_addr(req_hdr, GuestAddress(0x1000)) in get_id()
|
D | block_async.rs | 1092 mem.write_obj_at_addr(req_hdr, GuestAddress(0x1000)) in read_last_sector() 1159 mem.write_obj_at_addr(req_hdr, GuestAddress(0x1000)) in read_beyond_last_sector() 1229 mem.write_obj_at_addr(req_hdr, GuestAddress(0x1000)) in get_id()
|
D | descriptor_utils.rs | 781 let _ = memory.write_obj_at_addr( in create_descriptor_chain()
|
/external/crosvm/vm_memory/src/ |
D | guest_memory.rs | 472 pub fn write_obj_at_addr<T: DataInit>(&self, val: T, guest_addr: GuestAddress) -> Result<()> { in write_obj_at_addr() method 792 gm.write_obj_at_addr(val1, GuestAddress(0x500)).unwrap(); in test_read_u64() 793 gm.write_obj_at_addr(val2, GuestAddress(0x1000 + 32)) in test_read_u64() 809 gm.write_obj_at_addr(val1, GuestAddress(0x500)).unwrap(); in test_ref_load_u64() 810 gm.write_obj_at_addr(val2, GuestAddress(0x1000 + 32)) in test_ref_load_u64() 889 gm.write_obj_at_addr(0x1337u16, GuestAddress(0x0)).unwrap(); in shm_offset() 890 gm.write_obj_at_addr(0x0420u16, GuestAddress(0x10000)) in shm_offset()
|
/external/crosvm/devices/src/pci/ |
D | ac97_bus_master.rs | 1085 mem.write_obj_at_addr(GUEST_ADDR_BASE, pointer_addr) in start_playback() 1088 mem.write_obj_at_addr(GUEST_ADDR_BASE + FRAGMENT_SIZE as u32, pointer_addr) in start_playback() 1091 mem.write_obj_at_addr(IOC_MASK | (FRAGMENT_SIZE as u32) / 2, control_addr) in start_playback() 1242 mem.write_obj_at_addr(GUEST_ADDR_BASE + FRAGMENT_SIZE as u32, pointer_addr) in start_capture() 1244 mem.write_obj_at_addr(IOC_MASK | (FRAGMENT_SIZE as u32) / 2, control_addr) in start_capture()
|
/external/crosvm/hypervisor/src/kvm/ |
D | mod.rs | 1244 vm.get_memory().write_obj_at_addr(67u8, obj_addr).unwrap(); in get_memory()
|
/external/crosvm/kvm/src/ |
D | lib.rs | 1833 vm.get_memory().write_obj_at_addr(67u8, obj_addr).unwrap(); in get_memory()
|