Searched refs:nr_lpids (Results 1 – 3 of 3) sorted by relevance
259 unsigned long nr_lpids; in kvmppc_mmu_hv_init() local267 nr_lpids = 1UL << mmu_lpid_bits; in kvmppc_mmu_hv_init()269 nr_lpids = 1UL << KVM_MAX_NESTED_GUESTS_SHIFT; in kvmppc_mmu_hv_init()275 WARN_ON(nr_lpids != 1UL << 12); in kvmppc_mmu_hv_init()277 WARN_ON(nr_lpids != 1UL << 10); in kvmppc_mmu_hv_init()283 nr_lpids -= 1; in kvmppc_mmu_hv_init()286 kvmppc_init_lpid(nr_lpids); in kvmppc_mmu_hv_init()
2501 static unsigned long nr_lpids; variable2508 lpid = ida_alloc_range(&lpid_inuse, 1, nr_lpids - 1, GFP_KERNEL); in kvmppc_alloc_lpid()2530 nr_lpids = nr_lpids_param; in kvmppc_init_lpid()
872 void kvmppc_init_lpid(unsigned long nr_lpids);