Searched refs:nmsrs (Results 1 – 7 of 7) sorted by relevance
863 buffer.header.nmsrs = 1; in vcpu_get_msr()898 buffer.header.nmsrs = 1; in _vcpu_set_msr()1028 struct kvm_msr_list nmsrs; in kvm_get_num_msrs_fd() local1031 nmsrs.nmsrs = 0; in kvm_get_num_msrs_fd()1032 r = ioctl(kvm_fd, KVM_GET_MSR_INDEX_LIST, &nmsrs); in kvm_get_num_msrs_fd()1036 return nmsrs.nmsrs; in kvm_get_num_msrs_fd()1047 int nmsrs, r, kvm_fd; in kvm_get_msr_index_list() local1053 nmsrs = kvm_get_num_msrs_fd(kvm_fd); in kvm_get_msr_index_list()1054 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_get_msr_index_list()1055 list->nmsrs = nmsrs; in kvm_get_msr_index_list()[all …]
27 for (i = 0; i < list->nmsrs; ++i) { in is_supported_msr()
183 __u32 nmsrs; /* number of msrs in entries */ member191 __u32 nmsrs; /* number of msrs in entries */ member
202 msr_list[0].nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()214 let mut nmsrs = msr_list[0].nmsrs; in get_msr_index_list() localVariable219 if nmsrs > MAX_KVM_MSR_ENTRIES as u32 { in get_msr_index_list()220 nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()222 msr_list[0].indices.as_slice(nmsrs as usize) in get_msr_index_list()1442 msrs[0].nmsrs = msr_entries.len() as u32; in get_msrs()
154 msrs.nmsrs = entry_vec.len() as u32; in setup_msrs()
511 kvm_msrs.nmsrs = request_entries.len() as u32; in handle_request()
2049 pub nmsrs: __u32, field2068 unsafe { &(*(::std::ptr::null::<kvm_msrs>())).nmsrs as *const _ as usize }, in bindgen_test_layout_kvm_msrs()2074 stringify!(nmsrs) in bindgen_test_layout_kvm_msrs()2101 pub nmsrs: __u32, field2117 unsafe { &(*(::std::ptr::null::<kvm_msr_list>())).nmsrs as *const _ as usize }, in bindgen_test_layout_kvm_msr_list()2123 stringify!(nmsrs) in bindgen_test_layout_kvm_msr_list()