n_threads 2624 arch/powerpc/kvm/book3s_hv.c static void kvmppc_wait_for_nap(int n_threads) n_threads 2629 arch/powerpc/kvm/book3s_hv.c if (n_threads <= 1) n_threads 2638 arch/powerpc/kvm/book3s_hv.c for (i = 1; i < n_threads; ++i) n_threads 2641 arch/powerpc/kvm/book3s_hv.c if (i == n_threads) { n_threads 2648 arch/powerpc/kvm/book3s_hv.c for (i = 1; i < n_threads; ++i) n_threads 2766 arch/powerpc/kvm/book3s_hv.c static bool subcore_config_ok(int n_subcores, int n_threads) n_threads 2773 arch/powerpc/kvm/book3s_hv.c return n_subcores <= 4 && n_threads == 1; n_threads 2787 arch/powerpc/kvm/book3s_hv.c return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; n_threads 2801 arch/powerpc/kvm/book3s_hv.c int n_threads = vc->num_threads; n_threads 2816 arch/powerpc/kvm/book3s_hv.c if (n_threads < cip->max_subcore_threads) n_threads 2817 arch/powerpc/kvm/book3s_hv.c n_threads = cip->max_subcore_threads; n_threads 2818 arch/powerpc/kvm/book3s_hv.c if (!subcore_config_ok(cip->n_subcores + 1, n_threads)) n_threads 2820 arch/powerpc/kvm/book3s_hv.c cip->max_subcore_threads = n_threads;