Home
last modified time | relevance | path

Searched refs:kvm_cpuid2 (Results 1 – 16 of 16) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c48 static void test_hv_cpuid(struct kvm_cpuid2 *hv_cpuid_entries, in test_hv_cpuid()
102 static struct kvm_cpuid2 cpuid = {.nent = 0}; in test_hv_cpuid_e2big()
113 struct kvm_cpuid2 *kvm_get_supported_hv_cpuid(struct kvm_vm *vm) in kvm_get_supported_hv_cpuid()
116 static struct kvm_cpuid2 *cpuid; in kvm_get_supported_hv_cpuid()
137 struct kvm_cpuid2 *hv_cpuid_entries; in main()
/external/crosvm/kvm_sys/src/
Dlib.rs26 ioctl_iowr_nr!(KVM_GET_SUPPORTED_CPUID, KVMIO, 0x05, kvm_cpuid2);
27 ioctl_iowr_nr!(KVM_GET_EMULATED_CPUID, KVMIO, 0x09, kvm_cpuid2);
37 ioctl_iow_nr!(KVM_SET_CPUID2, KVMIO, 0x90, kvm_cpuid2);
38 ioctl_iowr_nr!(KVM_GET_CPUID2, KVMIO, 0x91, kvm_cpuid2);
/external/strace/tests/
Dioctl_kvm_run_common.c268 const char *ioctl_name, const struct kvm_cpuid2 *cpuid) in print_cpuid_ioctl()
371 struct kvm_cpuid2 *cpuid = tail_alloc(sizeof(*cpuid) + in main()
385 struct kvm_cpuid2 cpuid_tmp = { .nent = 0 }; in main()
/external/strace/tests-m32/
Dioctl_kvm_run_common.c268 const char *ioctl_name, const struct kvm_cpuid2 *cpuid) in print_cpuid_ioctl()
371 struct kvm_cpuid2 *cpuid = tail_alloc(sizeof(*cpuid) + in main()
385 struct kvm_cpuid2 cpuid_tmp = { .nent = 0 }; in main()
/external/strace/tests-mx32/
Dioctl_kvm_run_common.c268 const char *ioctl_name, const struct kvm_cpuid2 *cpuid) in print_cpuid_ioctl()
371 struct kvm_cpuid2 *cpuid = tail_alloc(sizeof(*cpuid) + in main()
385 struct kvm_cpuid2 cpuid_tmp = { .nent = 0 }; in main()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c687 static struct kvm_cpuid2 *allocate_kvm_cpuid2(void) in allocate_kvm_cpuid2()
689 struct kvm_cpuid2 *cpuid; in allocate_kvm_cpuid2()
716 struct kvm_cpuid2 *kvm_get_supported_cpuid(void) in kvm_get_supported_cpuid()
718 static struct kvm_cpuid2 *cpuid; in kvm_get_supported_cpuid()
751 struct kvm_cpuid2 *cpuid; in kvm_get_supported_cpuid_index()
783 uint32_t vcpuid, struct kvm_cpuid2 *cpuid) in vcpu_set_cpuid()
/external/kernel-headers/original/uapi/linux/
Dkvm.h807 #define KVM_GET_SUPPORTED_CPUID _IOWR(KVMIO, 0x05, struct kvm_cpuid2)
811 #define KVM_GET_EMULATED_CPUID _IOWR(KVMIO, 0x09, struct kvm_cpuid2)
1381 #define KVM_SET_CPUID2 _IOW(KVMIO, 0x90, struct kvm_cpuid2)
1382 #define KVM_GET_CPUID2 _IOWR(KVMIO, 0x91, struct kvm_cpuid2)
1471 #define KVM_GET_SUPPORTED_HV_CPUID _IOWR(KVMIO, 0xc1, struct kvm_cpuid2)
/external/linux-kselftest/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h313 struct kvm_cpuid2 *kvm_get_supported_cpuid(void);
315 struct kvm_cpuid2 *cpuid);
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h228 struct kvm_cpuid2 { struct
/external/strace/
Dkvm.c275 struct kvm_cpuid2 cpuid; in kvm_ioctl_decode_cpuid2()
Dconfigure.ac581 struct kvm_cpuid2,
Dconfig.h.in1184 /* Define to 1 if the system has the type `struct kvm_cpuid2'. */
Dconfigure12077 ac_fn_c_check_type "$LINENO" "struct kvm_cpuid2" "ac_cv_type_struct_kvm_cpuid2" "#include <linux/kv…
DChangeLog1373 tests: check decoding of kvm ioctls related to struct kvm_cpuid2.
1382 * configure.ac (AC_CHECK_TYPES): Add struct kvm_cpuid2.
/external/crosvm/kvm/src/
Dlib.rs1707 kvm_cpuid: Vec<kvm_cpuid2>,
1714 let mut kvm_cpuid = vec_with_array_field::<kvm_cpuid2, kvm_cpuid_entry2>(array_len); in new()
1735 pub fn as_ptr(&self) -> *const kvm_cpuid2 { in as_ptr() argument
1740 pub fn as_mut_ptr(&mut self) -> *mut kvm_cpuid2 { in as_mut_ptr() argument
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs2377 pub struct kvm_cpuid2 { struct
2385 ::std::mem::size_of::<kvm_cpuid2>(), in bindgen_test_layout_kvm_cpuid2() argument
2387 concat!("Size of: ", stringify!(kvm_cpuid2)) in bindgen_test_layout_kvm_cpuid2()
2390 ::std::mem::align_of::<kvm_cpuid2>(), in bindgen_test_layout_kvm_cpuid2()
2392 concat!("Alignment of ", stringify!(kvm_cpuid2)) in bindgen_test_layout_kvm_cpuid2()
2395 unsafe { &(*(::std::ptr::null::<kvm_cpuid2>())).nent as *const _ as usize }, in bindgen_test_layout_kvm_cpuid2()
2399 stringify!(kvm_cpuid2), in bindgen_test_layout_kvm_cpuid2()
2405 unsafe { &(*(::std::ptr::null::<kvm_cpuid2>())).padding as *const _ as usize }, in bindgen_test_layout_kvm_cpuid2()
2409 stringify!(kvm_cpuid2), in bindgen_test_layout_kvm_cpuid2()
2415 unsafe { &(*(::std::ptr::null::<kvm_cpuid2>())).entries as *const _ as usize }, in bindgen_test_layout_kvm_cpuid2()
[all …]