Searched refs:MAX_KVM_MSR_ENTRIES (Results 1 – 2 of 2) sorted by relevance
79 const MAX_KVM_MSR_ENTRIES: usize = 256; in get_msr_index_list() constant81 let mut msr_list = vec_with_array_field::<kvm_msr_list, u32>(MAX_KVM_MSR_ENTRIES); in get_msr_index_list()82 msr_list[0].nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()99 if nmsrs > MAX_KVM_MSR_ENTRIES as u32 { in get_msr_index_list()100 nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()
173 const MAX_KVM_MSR_ENTRIES: usize = 256; in get_msr_index_list() constant175 let mut msr_list = vec_with_array_field::<kvm_msr_list, u32>(MAX_KVM_MSR_ENTRIES); in get_msr_index_list()176 msr_list[0].nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()193 if nmsrs > MAX_KVM_MSR_ENTRIES as u32 { in get_msr_index_list()194 nmsrs = MAX_KVM_MSR_ENTRIES as u32; in get_msr_index_list()