Searched refs:nr_lpids (Results 1 – 3 of 3) sorted by relevance
260 unsigned long nr_lpids; in kvmppc_mmu_hv_init() local268 nr_lpids = 1UL << mmu_lpid_bits; in kvmppc_mmu_hv_init()270 nr_lpids = 1UL << KVM_MAX_NESTED_GUESTS_SHIFT; in kvmppc_mmu_hv_init()276 WARN_ON(nr_lpids != 1UL << 12); in kvmppc_mmu_hv_init()278 WARN_ON(nr_lpids != 1UL << 10); in kvmppc_mmu_hv_init()284 nr_lpids -= 1; in kvmppc_mmu_hv_init()287 kvmppc_init_lpid(nr_lpids); in kvmppc_mmu_hv_init()
2502 static unsigned long nr_lpids; variable2509 lpid = ida_alloc_range(&lpid_inuse, 1, nr_lpids - 1, GFP_KERNEL); in kvmppc_alloc_lpid()2531 nr_lpids = nr_lpids_param; in kvmppc_init_lpid()
928 void kvmppc_init_lpid(unsigned long nr_lpids);