Home
last modified time | relevance | path

Searched refs:kvm_msr_entry (Results 1 – 9 of 9) sorted by relevance

/external/crosvm/x86_64/src/
Dregs.rs12 use kvm_sys::kvm_msr_entry;
68 fn create_msr_entries() -> Vec<kvm_msr_entry> { in create_msr_entries()
69 let mut entries = Vec::<kvm_msr_entry>::new(); in create_msr_entries()
71 entries.push(kvm_msr_entry { in create_msr_entries()
76 entries.push(kvm_msr_entry { in create_msr_entries()
81 entries.push(kvm_msr_entry { in create_msr_entries()
87 entries.push(kvm_msr_entry { in create_msr_entries()
92 entries.push(kvm_msr_entry { in create_msr_entries()
97 entries.push(kvm_msr_entry { in create_msr_entries()
102 entries.push(kvm_msr_entry { in create_msr_entries()
[all …]
/external/crosvm/src/plugin/
Dvcpu.rs23 kvm_debugregs, kvm_fpu, kvm_lapic_state, kvm_mp_state, kvm_msr_entry, kvm_msrs, kvm_regs,
466 msr_entries.push(kvm_msr_entry { in handle_request()
482 const SIZE_OF_ENTRY: usize = mem::size_of::<kvm_msr_entry>(); in handle_request()
484 const ALIGN_OF_ENTRY: usize = mem::align_of::<kvm_msr_entry>(); in handle_request()
504 let kvm_msr_entries: &mut [kvm_msr_entry] = in handle_request()
/external/crosvm/crosvm_plugin/
Dcrosvm.h523 struct kvm_msr_entry *__msr_entries,
527 const struct kvm_msr_entry *__msr_entries);
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h175 struct kvm_msr_entry { struct
186 struct kvm_msr_entry entries[0]; argument
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_tsc_adjust_test.c57 struct kvm_msr_entry entry;
/external/crosvm/kvm/src/
Dlib.rs1434 pub fn get_msrs(&self, msr_entries: &mut Vec<kvm_msr_entry>) -> Result<()> { in get_msrs()
1435 let mut msrs = vec_with_array_field::<kvm_msrs, kvm_msr_entry>(msr_entries.len()); in get_msrs()
1439 let entries: &mut [kvm_msr_entry] = msrs[0].entries.as_mut_slice(msr_entries.len()); in get_msrs()
1454 let entries: &mut [kvm_msr_entry] = msrs[0].entries.as_mut_slice(count); in get_msrs()
2125 kvm_msr_entry { in get_msrs()
2130 kvm_msr_entry { in get_msrs()
/external/crosvm/crosvm_plugin/src/
Dlib.rs43 kvm_mp_state, kvm_msr_entry, kvm_pic_state, kvm_pit_state2, kvm_regs, kvm_sregs,
1059 msr_entries: &mut [kvm_msr_entry], in get_msrs() argument
1085 fn set_msrs(&mut self, msr_entries: &[kvm_msr_entry]) -> result::Result<(), c_int> { in set_msrs()
1578 msr_entries: *mut kvm_msr_entry, in crosvm_vcpu_get_msrs() argument
1594 msr_entries: *const kvm_msr_entry, in crosvm_vcpu_set_msrs() argument
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c858 struct kvm_msr_entry entry; in vcpu_get_msr()
892 struct kvm_msr_entry entry; in _vcpu_set_msr()
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs1998 pub struct kvm_msr_entry { struct
2006 ::std::mem::size_of::<kvm_msr_entry>(), in bindgen_test_layout_kvm_msr_entry() argument
2008 concat!("Size of: ", stringify!(kvm_msr_entry)) in bindgen_test_layout_kvm_msr_entry()
2011 ::std::mem::align_of::<kvm_msr_entry>(), in bindgen_test_layout_kvm_msr_entry()
2013 concat!("Alignment of ", stringify!(kvm_msr_entry)) in bindgen_test_layout_kvm_msr_entry()
2016 unsafe { &(*(::std::ptr::null::<kvm_msr_entry>())).index as *const _ as usize }, in bindgen_test_layout_kvm_msr_entry()
2020 stringify!(kvm_msr_entry), in bindgen_test_layout_kvm_msr_entry()
2026 unsafe { &(*(::std::ptr::null::<kvm_msr_entry>())).reserved as *const _ as usize }, in bindgen_test_layout_kvm_msr_entry()
2030 stringify!(kvm_msr_entry), in bindgen_test_layout_kvm_msr_entry()
2036 unsafe { &(*(::std::ptr::null::<kvm_msr_entry>())).data as *const _ as usize }, in bindgen_test_layout_kvm_msr_entry()
[all …]