Searched refs:MAX_SMT_THREADS (Results 1 – 4 of 4) sorted by relevance
18 #define MAX_SMT_THREADS 8 macro72 u8 napped[MAX_SMT_THREADS];
78 struct kvm_vcpu *runnable_threads[MAX_SMT_THREADS];473 const int block_offsets[MAX_SMT_THREADS] = {0, 4, 2, 6, 1, 5, 3, 7}; in kvmppc_pack_vcpu_id()475 int block = (id / KVM_MAX_VCPUS) * (MAX_SMT_THREADS / stride); in kvmppc_pack_vcpu_id()478 if (WARN_ONCE(block >= MAX_SMT_THREADS, "VCPU ID too large to pack")) in kvmppc_pack_vcpu_id()
38 #define KVM_MAX_VCPU_IDS (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()3039 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()3449 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()3460 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()3830 subcore_size = MAX_SMT_THREADS / split; in kvmppc_run_core()3879 if (split == 1 && threads_per_subcore == MAX_SMT_THREADS && in kvmppc_run_core()3880 n_online >= 1 && n_online <= MAX_SMT_THREADS) in kvmppc_run_core()