Home
last modified time | relevance | path

Searched refs:svm (Results 1 – 25 of 32) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c36 struct svm_test_data *svm = addr_gva2hva(vm, svm_gva); in vcpu_alloc_svm() local
38 svm->vmcb = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_svm()
39 svm->vmcb_hva = addr_gva2hva(vm, (uintptr_t)svm->vmcb); in vcpu_alloc_svm()
40 svm->vmcb_gpa = addr_gva2gpa(vm, (uintptr_t)svm->vmcb); in vcpu_alloc_svm()
42 svm->save_area = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_svm()
43 svm->save_area_hva = addr_gva2hva(vm, (uintptr_t)svm->save_area); in vcpu_alloc_svm()
44 svm->save_area_gpa = addr_gva2gpa(vm, (uintptr_t)svm->save_area); in vcpu_alloc_svm()
47 return svm; in vcpu_alloc_svm()
71 void generic_svm_setup(struct svm_test_data *svm, void *guest_rip, void *guest_rsp) in generic_svm_setup() argument
73 struct vmcb *vmcb = svm->vmcb; in generic_svm_setup()
[all …]
/external/libchromeos-rs/src/
Dvsock.rs225 let mut svm: sockaddr_vm = Default::default(); in bind() localVariable
226 svm.svm_family = AF_VSOCK; in bind()
227 svm.svm_cid = sockaddr.cid.into(); in bind()
228 svm.svm_port = sockaddr.port; in bind()
234 &svm as *const sockaddr_vm as *const sockaddr, in bind()
251 let mut svm: sockaddr_vm = Default::default(); in connect() localVariable
252 svm.svm_family = AF_VSOCK; in connect()
253 svm.svm_cid = sockaddr.cid.into(); in connect()
254 svm.svm_port = sockaddr.port; in connect()
260 &svm as *const sockaddr_vm as *const sockaddr, in connect()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dsvm_vmcall_test.c19 static void l2_guest_code(struct svm_test_data *svm) in l2_guest_code() argument
24 static void l1_guest_code(struct svm_test_data *svm) in l1_guest_code() argument
28 struct vmcb *vmcb = svm->vmcb; in l1_guest_code()
31 generic_svm_setup(svm, l2_guest_code, in l1_guest_code()
34 run_guest(vmcb, svm->vmcb_gpa); in l1_guest_code()
Dsvm_int_ctl_test.c37 static void l2_guest_code(struct svm_test_data *svm) in l2_guest_code() argument
62 static void l1_guest_code(struct svm_test_data *svm) in l1_guest_code() argument
66 struct vmcb *vmcb = svm->vmcb; in l1_guest_code()
71 generic_svm_setup(svm, l2_guest_code, in l1_guest_code()
84 run_guest(vmcb, svm->vmcb_gpa); in l1_guest_code()
Dsmm_test.c76 struct svm_test_data *svm = arg; in guest_code() local
91 generic_svm_setup(svm, l2_guest_code, in guest_code()
107 run_guest(svm->vmcb, svm->vmcb_gpa); in guest_code()
108 run_guest(svm->vmcb, svm->vmcb_gpa); in guest_code()
Dstate_test.c36 static void svm_l1_guest_code(struct svm_test_data *svm) in svm_l1_guest_code() argument
39 struct vmcb *vmcb = svm->vmcb; in svm_l1_guest_code()
41 GUEST_ASSERT(svm->vmcb_gpa); in svm_l1_guest_code()
43 generic_svm_setup(svm, svm_l2_guest_code, in svm_l1_guest_code()
47 run_guest(vmcb, svm->vmcb_gpa); in svm_l1_guest_code()
51 run_guest(vmcb, svm->vmcb_gpa); in svm_l1_guest_code()
/external/crosvm/base/src/sys/unix/
Dvsock.rs233 let svm = sockaddr_vm { in bind() localVariable
244 &svm as *const sockaddr_vm as *const sockaddr, in bind()
261 let svm = sockaddr_vm { in connect() localVariable
272 &svm as *const sockaddr_vm as *const sockaddr, in connect()
296 let mut svm: sockaddr_vm = Default::default(); in local_port() localVariable
304 &mut svm as *mut sockaddr_vm as *mut sockaddr, in local_port()
315 Ok(svm.svm_port) in local_port()
460 let mut svm: sockaddr_vm = Default::default(); in accept() localVariable
467 &mut svm as *mut sockaddr_vm as *mut sockaddr, in accept()
476 if svm.svm_family != AF_VSOCK { in accept()
[all …]
/external/OpenCL-CTS/test_conformance/SVM/
Dtest_enqueue_api.cpp118 svm in test_svm_enqueue_api() enumerator
130 testTypes.push_back(TestType(host, svm)); in test_svm_enqueue_api()
131 testTypes.push_back(TestType(svm, host)); in test_svm_enqueue_api()
132 testTypes.push_back(TestType(svm, svm)); in test_svm_enqueue_api()
136 …alloc = %s, dst_alloc = %s\n", test_case.srcAlloc == svm ? "svm" : "host", test_case.dstAlloc == s… in test_svm_enqueue_api()
168 } else if (test_case.srcAlloc == svm) { in test_svm_enqueue_api()
173 } else if (test_case.dstAlloc == svm) { in test_svm_enqueue_api()
/external/javasqlite/src/main/native/
Dsqlite_jni.c2893 void *svm = 0; in Java_SQLite_Vm_compile() local
2927 (sqlite3_stmt **) &svm, &tail); in Java_SQLite_Vm_compile()
2930 (sqlite3_stmt **) &svm, &tail); in Java_SQLite_Vm_compile()
2933 if (svm) { in Java_SQLite_Vm_compile()
2934 sqlite3_finalize((sqlite3_stmt *) svm); in Java_SQLite_Vm_compile()
2935 svm = 0; in Java_SQLite_Vm_compile()
2941 &tail, (sqlite_vm **) &svm, &errfr); in Java_SQLite_Vm_compile()
2944 if (svm) { in Java_SQLite_Vm_compile()
2945 sqlite_finalize((sqlite_vm *) svm, 0); in Java_SQLite_Vm_compile()
2946 svm = 0; in Java_SQLite_Vm_compile()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/include/x86_64/
Dsvm_util.h34 void generic_svm_setup(struct svm_test_data *svm, void *guest_rip, void *guest_rsp);
/external/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp33 validate_flags(cl_mem d_parent, cl_mem_flags d_flags, bool svm) { in validate_flags() argument
45 | (svm || d_parent ? 0 : host_ptr_flags) in validate_flags()
46 | (svm ? svm_flags : host_access_flags); in validate_flags()
/external/mesa3d/src/gallium/frontends/clover/core/
Dkernel.cpp448 svm = nullptr; in set()
454 svm = value; in set_svm()
476 } else if (svm) { in bind()
477 auto v = bytes(svm); in bind()
Dkernel.hpp176 const void *svm; member in clover::kernel::global_argument
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h498 struct kvm_svm_nested_state_hdr svm; member
511 struct kvm_svm_nested_state_data svm[0]; member
/external/linux-kselftest/tools/testing/selftests/kvm/
DMakefile41 LIBKVM_x86_64 = lib/x86_64/apic.c lib/x86_64/processor.c lib/x86_64/vmx.c lib/x86_64/svm.c lib/x86_…
/external/OpenCL-CTS/
DAndroid.bp354 name: "ocl-test-svm",
/external/rust/crates/nix/src/sys/socket/
Dmod.rs2447 let svm = unsafe { *(addr as *const _ as *const sockaddr_vm) }; in sockaddr_storage_to_addr() localVariable
2448 Ok(SockAddr::Vsock(VsockAddr(svm))) in sockaddr_storage_to_addr()
Daddr.rs2311 SockAddr::Vsock(ref svm) => svm.fmt(f), in fmt()
/external/ImageMagick/PerlMagick/t/reference/write/jng/
Dread_jdaa.miff19 …3+�)0(�+0)�/7,�/=,�6G4�2C0�CTB�FTG�,:-�cdR�efT�ghX�hi[�gg[�eg\�ef^�fg_�kld�svm����8�������������…
Dread_prog_jdaa.miff19 …3+�)0(�+0)�/7,�/=,�6G4�2C0�CTB�FTG�,:-�cdR�efT�ghX�hi[�gg[�eg\�ef^�fg_�kld�svm����8�������������…
Dread_idat.miff34 …,3+�)0(�+0)�/7,�/=,�6G4�2C0�CTB�FTG�,:-�cdR�efT�ghX�hi[�gg[�eg\�ef^�fg_�kld�svm����<��������������
Dread_prog_idat.miff34 …,3+�)0(�+0)�/7,�/=,�6G4�2C0�CTB�FTG�,:-�cdR�efT�ghX�hi[�gg[�eg\�ef^�fg_�kld�svm����<��������������
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs1392 pub svm: kvm_svm_nested_state_hdr,
1407 pub svm: __BindgenUnionField<[kvm_svm_nested_state_data; 0usize]>, field
/external/skia/bazel/rbe/gce_linux/cc/
Dmodule.modulemap227 textual header "/usr/include/x86_64-linux-gnu/asm/svm.h"
4360 textual header "/usr/include/x86_64-linux-gnu/asm/svm.h"
/external/cronet/third_party/icu/source/data/misc/
DsupplementalData.txt6909 "svm",

12