Searched refs:MAX_SMT_THREADS (Results 1 – 4 of 4) sorted by relevance
21 #define MAX_SMT_THREADS 8 macro75 u8 napped[MAX_SMT_THREADS];
78 struct kvm_vcpu *runnable_threads[MAX_SMT_THREADS];470 const int block_offsets[MAX_SMT_THREADS] = {0, 4, 2, 6, 1, 5, 3, 7}; in kvmppc_pack_vcpu_id()472 int block = (id / KVM_MAX_VCPUS) * (MAX_SMT_THREADS / stride); in kvmppc_pack_vcpu_id()475 if (WARN_ONCE(block >= MAX_SMT_THREADS, "VCPU ID too large to pack")) in kvmppc_pack_vcpu_id()
36 #define KVM_MAX_VCPU_ID (MAX_SMT_THREADS * KVM_MAX_VCORES)
151 static unsigned long p8_rwmr_values[MAX_SMT_THREADS + 1] = {169 while (++i < MAX_SMT_THREADS) { in next_runnable_thread()2815 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()3191 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()3202 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()3572 subcore_size = MAX_SMT_THREADS / split; in kvmppc_run_core()3621 if (split == 1 && threads_per_subcore == MAX_SMT_THREADS && in kvmppc_run_core()3622 n_online >= 1 && n_online <= MAX_SMT_THREADS) in kvmppc_run_core()