Searched refs:max_id (Results 1 – 2 of 2) sorted by relevance
29 static int alloc_context_id(int min_id, int max_id) in alloc_context_id() argument31 return ida_alloc_range(&mmu_context_ida, min_id, max_id, GFP_KERNEL); in alloc_context_id()157 int index, max_id; in radix__init_new_context() local159 max_id = (1 << mmu_pid_bits) - 1; in radix__init_new_context()160 index = alloc_context_id(mmu_base_pid, max_id); in radix__init_new_context()
190 u32 max_id = 255; /* enough space for any xAPIC ID */ in kvm_recalculate_apic_map() local210 max_id = max(max_id, kvm_x2apic_id(vcpu->arch.apic)); in kvm_recalculate_apic_map()213 sizeof(struct kvm_lapic *) * ((u64)max_id + 1), in kvm_recalculate_apic_map()219 new->max_apic_id = max_id; in kvm_recalculate_apic_map()