Lines Matching refs:nr_bank
90 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in hv_cpumask_to_vpset() local
119 if (vcpu_bank >= nr_bank) in hv_cpumask_to_vpset()
120 nr_bank = vcpu_bank + 1; in hv_cpumask_to_vpset()
122 vpset->valid_bank_mask = GENMASK_ULL(nr_bank - 1, 0); in hv_cpumask_to_vpset()
123 return nr_bank; in hv_cpumask_to_vpset()
253 int nr_bank = 0, max_gvas, gva_n; in hv_flush_tlb_others_ex() local
278 nr_bank = hv_cpumask_to_vpset(&flush->hv_vp_set, &mask, sc); in hv_flush_tlb_others_ex()
279 if (nr_bank < 0) in hv_flush_tlb_others_ex()
286 max_gvas = (PAGE_SIZE - sizeof(*flush) - nr_bank * in hv_flush_tlb_others_ex()
294 0, nr_bank, (uint64_t)flush, (uint64_t)NULL); in hv_flush_tlb_others_ex()
299 0, nr_bank, (uint64_t)flush, (uint64_t)NULL); in hv_flush_tlb_others_ex()
301 gva_n = fill_gva_list(&flush->hv_vp_set.bank_contents[nr_bank], in hv_flush_tlb_others_ex()
305 gva_n, nr_bank, (uint64_t)flush, (uint64_t)NULL); in hv_flush_tlb_others_ex()