Home
last modified time | relevance | path

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

/external/rust/crates/vmm_vhost/src/vhost_user/
Dmessage.rs445 pub guest_phys_addr: u64, field
456 pub fn new(guest_phys_addr: u64, memory_size: u64, user_addr: u64, mmap_offset: u64) -> Self { in new()
458 guest_phys_addr, in new()
469 || self.guest_phys_addr.checked_add(self.memory_size).is_none() in is_valid()
490 pub guest_phys_addr: u64, field
501 pub fn new(guest_phys_addr: u64, memory_size: u64, user_addr: u64, mmap_offset: u64) -> Self { in new()
504 guest_phys_addr, in new()
515 || self.guest_phys_addr.checked_add(self.memory_size).is_none() in is_valid()
862 guest_phys_addr: 0, in check_user_memory_region()
868 msg.guest_phys_addr = 0xFFFFFFFFFFFFEFFF; in check_user_memory_region()
[all …]
Dmod.rs368 guest_phys_addr: 0, in test_master_slave_process()
415 guest_phys_addr: 0x10_0000, in test_master_slave_process()
Dmaster.rs183 guest_phys_addr: region.guest_phys_addr, in set_mem_table()
472 region.guest_phys_addr, in add_mem_region()
493 region.guest_phys_addr, in remove_mem_region()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util.c272 region->region.guest_phys_addr, in kvm_vm_restart()
326 uint64_t existing_start = region->region.guest_phys_addr; in userspace_mem_region_find()
327 uint64_t existing_end = region->region.guest_phys_addr in userspace_mem_region_find()
609 (uint64_t) region->region.guest_phys_addr, in vm_userspace_mem_region_add()
625 (uint64_t) region->region.guest_phys_addr, in vm_userspace_mem_region_add()
675 region->region.guest_phys_addr = guest_paddr; in vm_userspace_mem_region_add()
1033 if ((gpa >= region->region.guest_phys_addr) in addr_gpa2hva()
1034 && (gpa <= (region->region.guest_phys_addr in addr_gpa2hva()
1037 + (gpa - region->region.guest_phys_addr)); in addr_gpa2hva()
1070 region->region.guest_phys_addr in addr_hva2gpa()
[all …]
/external/crosvm/devices/src/virtio/vhost/user/
Dhandler.rs120 |_idx, guest_phys_addr, memory_size, userspace_addr, mmap, mmap_offset| { in set_mem_table()
122 guest_phys_addr: guest_phys_addr.0, in set_mem_table()
/external/rust/crates/vmm_vhost/src/vhost_kern/
Dmod.rs130 guest_phys_addr: region.guest_phys_addr, in set_mem_table()
Dvhost_binding.rs176 pub guest_phys_addr: raw::c_ulonglong, field
384 guest_phys_addr: 0x1000u64, in test_vhostmemory()
402 assert_eq!(region1.guest_phys_addr, 0x1000u64); in test_vhostmemory()
Dvsock.rs149 guest_phys_addr: 0x0, in test_vsock_ioctls()
/external/kernel-headers/original/uapi/linux/
Dvhost_types.h98 __u64 guest_phys_addr; member
Dkvm.h92 __u64 guest_phys_addr; member
100 __u64 guest_phys_addr; member
/external/crosvm/virtio_sys/src/
Dvhost.rs708 pub guest_phys_addr: __u64, field
726 unsafe { &(*(0 as *const vhost_memory_region)).guest_phys_addr as *const _ as usize }, in bindgen_test_layout_vhost_memory_region()
732 stringify!(guest_phys_addr) in bindgen_test_layout_vhost_memory_region()
/external/strace/
Dkvm.c224 PRINT_FIELD_X(", ", u_memory_region, guest_phys_addr); in kvm_ioctl_set_user_memory_region()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h59 __u64 guest_phys_addr; member
/external/strace/tests/
Dioctl_kvm_run_common.c328 .guest_phys_addr = page_size, in main()
/external/strace/tests-m32/
Dioctl_kvm_run_common.c328 .guest_phys_addr = page_size, in main()
/external/crosvm/vhost/src/
Dlib.rs137 guest_phys_addr: guest_addr.offset() as u64, in set_mem_table()
/external/strace/tests-mx32/
Dioctl_kvm_run_common.c328 .guest_phys_addr = page_size, in main()
/external/rust/crates/vmm_vhost/src/
Dbackend.rs65 pub guest_phys_addr: u64, field
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c515 i = (region->region.guest_phys_addr >> vm->page_shift) - 1; in nested_map_memslot()
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs742 pub guest_phys_addr: __u64, field
780 &(*(::std::ptr::null::<kvm_memory_alias>())).guest_phys_addr as *const _ as usize in bindgen_test_layout_kvm_memory_alias()
787 stringify!(guest_phys_addr) in bindgen_test_layout_kvm_memory_alias()
4200 pub guest_phys_addr: __u64, field
4237 &(*(::std::ptr::null::<kvm_memory_region>())).guest_phys_addr as *const _ as usize in bindgen_test_layout_kvm_memory_region()
4244 stringify!(guest_phys_addr) in bindgen_test_layout_kvm_memory_region()
4263 pub guest_phys_addr: __u64, field
4305 &(*(::std::ptr::null::<kvm_userspace_memory_region>())).guest_phys_addr as *const _ in bindgen_test_layout_kvm_userspace_memory_region()
4313 stringify!(guest_phys_addr) in bindgen_test_layout_kvm_userspace_memory_region()
/external/crosvm/kvm_sys/src/aarch64/
Dbindings.rs1787 pub guest_phys_addr: __u64, field
1824 &(*(::std::ptr::null::<kvm_memory_region>())).guest_phys_addr as *const _ as usize in bindgen_test_layout_kvm_memory_region()
1831 stringify!(guest_phys_addr) in bindgen_test_layout_kvm_memory_region()
1850 pub guest_phys_addr: __u64, field
1892 &(*(::std::ptr::null::<kvm_userspace_memory_region>())).guest_phys_addr as *const _ in bindgen_test_layout_kvm_userspace_memory_region()
1900 stringify!(guest_phys_addr) in bindgen_test_layout_kvm_userspace_memory_region()
/external/crosvm/hypervisor/src/kvm/
Dmod.rs68 guest_phys_addr: guest_addr, in set_user_memory_region()
/external/crosvm/kvm/src/
Dlib.rs64 guest_phys_addr: guest_addr, in set_user_memory_region()