Home
last modified time | relevance | path

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

/external/crosvm/devices/src/usb/xhci/
Dring_buffer.rs169 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 …]
Dring_buffer_controller.rs277 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()
Devent_ring.rs84 .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()
Dscatter_gather_buffer.rs215 gm.write_obj_at_addr(trb, GuestAddress(0xc00)).unwrap(); in immediate_data_test()
Ddevice_slot.rs734 .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/
Dmptable.rs154 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 …]
Dregs.rs264 .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()
Dsmbios.rs199 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()
Dfdt.rs71 .write_obj_at_addr(hdr, fdt_address) in create_fdt()
Dlib.rs299 .write_obj_at_addr(params, zero_page_addr) in configure_system()
/external/crosvm/devices/src/virtio/
Dqueue.rs351 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 …]
Dballoon.rs552 .write_obj_at_addr(0x10u32, GuestAddress(0x100)) in desc_parsing_inflate()
555 .write_obj_at_addr(0xaa55aa55u32, GuestAddress(0x104)) in desc_parsing_inflate()
Dblock.rs959 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()
Dblock_async.rs1092 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()
Ddescriptor_utils.rs781 let _ = memory.write_obj_at_addr( in create_descriptor_chain()
/external/crosvm/vm_memory/src/
Dguest_memory.rs472 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/
Dac97_bus_master.rs1085 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/
Dmod.rs1244 vm.get_memory().write_obj_at_addr(67u8, obj_addr).unwrap(); in get_memory()
/external/crosvm/kvm/src/
Dlib.rs1833 vm.get_memory().write_obj_at_addr(67u8, obj_addr).unwrap(); in get_memory()