Home
last modified time | relevance | path

Searched refs:msr_list (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/hypervisor/src/kvm/
Dx86_64.rs81 let mut msr_list = vec_with_array_field::<kvm_msr_list, u32>(MAX_KVM_MSR_ENTRIES); in get_msr_index_list() localVariable
82 msr_list[0].nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()
88 ioctl_with_mut_ref(self, KVM_GET_MSR_INDEX_LIST(), &mut msr_list[0]) in get_msr_index_list()
94 let mut nmsrs = msr_list[0].nmsrs; in get_msr_index_list()
102 msr_list[0].indices.as_slice(nmsrs as usize) in get_msr_index_list()
1219 let msr_list = kvm.get_msr_index_list().unwrap(); in get_msr_index_list() localVariable
1220 assert!(msr_list.len() >= 2); in get_msr_index_list()
/external/crosvm/kvm/src/
Dlib.rs175 let mut msr_list = vec_with_array_field::<kvm_msr_list, u32>(MAX_KVM_MSR_ENTRIES); in get_msr_index_list() localVariable
176 msr_list[0].nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()
182 ioctl_with_mut_ref(self, KVM_GET_MSR_INDEX_LIST(), &mut msr_list[0]) in get_msr_index_list()
188 let mut nmsrs = msr_list[0].nmsrs; in get_msr_index_list()
196 msr_list[0].indices.as_slice(nmsrs as usize) in get_msr_index_list()
1758 let msr_list = kvm.get_msr_index_list().unwrap(); in get_msr_index_list() localVariable
1759 assert!(msr_list.len() >= 2); in get_msr_index_list()
/external/crosvm/crosvm_plugin/src/
Dlib.rs462 let msr_list: &MainResponse_MsrListResponse = response.get_get_msr_index_list(); in get_msr_index_list() localVariable
464 *msr_count = msr_list.get_indices().len(); in get_msr_index_list()
469 for (proto_entry, kvm_entry) in msr_list.get_indices().iter().zip(msr_indices.iter_mut()) { in get_msr_index_list()