Home
last modified time | relevance | path

Searched refs:kvm_pit_state2 (Results 1 – 10 of 10) sorted by relevance

/external/crosvm/crosvm_plugin/
Dcrosvm.h249 int crosvm_get_pit_state(struct crosvm *, struct kvm_pit_state2 *__pit_state);
253 const struct kvm_pit_state2 *__pit_state);
/external/crosvm/kvm_sys/src/
Dlib.rs30 ioctl_ior_nr!(KVM_GET_PIT2, KVMIO, 0x9f, kvm_pit_state2);
31 ioctl_iow_nr!(KVM_SET_PIT2, KVMIO, 0xa0, kvm_pit_state2);
/external/crosvm/tests/
Dplugin_vm_state.c87 struct kvm_pit_state2 pit_state; in main()
/external/crosvm/crosvm_plugin/src/
Dlib.rs43 kvm_mp_state, kvm_msr_entry, kvm_pic_state, kvm_pit_state2, kvm_regs, kvm_sregs,
1351 state: *mut kvm_pit_state2, in crosvm_get_pit_state() argument
1355 let state = from_raw_parts_mut(state as *mut u8, size_of::<kvm_pit_state2>()); in crosvm_get_pit_state()
1363 state: *const kvm_pit_state2, in crosvm_set_pit_state() argument
1367 let state = from_raw_parts(state as *mut u8, size_of::<kvm_pit_state2>()); in crosvm_set_pit_state()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h275 struct kvm_pit_state2 { struct
/external/crosvm/src/plugin/
Dprocess.rs27 use kvm_sys::{kvm_clock_data, kvm_ioapic_state, kvm_pic_state, kvm_pit_state2};
46 struct VmPitState(kvm_pit_state2);
/external/kernel-headers/original/uapi/linux/
Dkvm.h1313 #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2)
1314 #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2)
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs2729 pub struct kvm_pit_state2 { struct
2737 ::std::mem::size_of::<kvm_pit_state2>(), in bindgen_test_layout_kvm_pit_state2() argument
2739 concat!("Size of: ", stringify!(kvm_pit_state2)) in bindgen_test_layout_kvm_pit_state2()
2742 ::std::mem::align_of::<kvm_pit_state2>(), in bindgen_test_layout_kvm_pit_state2()
2744 concat!("Alignment of ", stringify!(kvm_pit_state2)) in bindgen_test_layout_kvm_pit_state2()
2747 unsafe { &(*(::std::ptr::null::<kvm_pit_state2>())).channels as *const _ as usize }, in bindgen_test_layout_kvm_pit_state2()
2751 stringify!(kvm_pit_state2), in bindgen_test_layout_kvm_pit_state2()
2757 unsafe { &(*(::std::ptr::null::<kvm_pit_state2>())).flags as *const _ as usize }, in bindgen_test_layout_kvm_pit_state2()
2761 stringify!(kvm_pit_state2), in bindgen_test_layout_kvm_pit_state2()
2767 unsafe { &(*(::std::ptr::null::<kvm_pit_state2>())).reserved as *const _ as usize }, in bindgen_test_layout_kvm_pit_state2()
[all …]
/external/crosvm/protos/src/
Dplugin.proto125 // struct kvm_pit_state2
/external/crosvm/kvm/src/
Dlib.rs755 pub fn get_pit_state(&self) -> Result<kvm_pit_state2> { in get_pit_state() argument
771 pub fn set_pit_state(&self, pit_state: &kvm_pit_state2) -> Result<()> { in set_pit_state()