Lines Matching refs:thr
1865 int thr; in on_primary_thread() local
1871 thr = 0; in on_primary_thread()
1872 while (++thr < threads_per_subcore) in on_primary_thread()
1873 if (cpu_online(cpu + thr)) in on_primary_thread()
1877 for (thr = 1; thr < threads_per_subcore; ++thr) { in on_primary_thread()
1878 if (kvmppc_grab_hwthread(cpu + thr)) { in on_primary_thread()
1881 kvmppc_release_hwthread(cpu + thr); in on_primary_thread()
1882 } while (--thr > 0); in on_primary_thread()
2011 int thr; in can_split_piggybacked_subcores() local
2037 thr = 0; in can_split_piggybacked_subcores()
2040 if (thr >= 2) { in can_split_piggybacked_subcores()
2054 thr += vc->num_threads; in can_split_piggybacked_subcores()
2285 int pcpu, thr; in kvmppc_run_core() local
2362 for (thr = 0; thr < threads_per_subcore; ++thr) in kvmppc_run_core()
2363 paca[pcpu + thr].kvm_hstate.kvm_split_mode = sip; in kvmppc_run_core()
2384 thr = subcore_thread_map[sub]; in kvmppc_run_core()
2386 active |= 1 << thr; in kvmppc_run_core()
2388 pvc->pcpu = pcpu + thr; in kvmppc_run_core()
2396 active |= 1 << (thr + vcpu->arch.ptid); in kvmppc_run_core()
2404 thr += pvc->num_threads; in kvmppc_run_core()
2422 for (thr = 1; thr < threads_per_subcore; ++thr) in kvmppc_run_core()
2423 if (!(active & (1 << thr))) in kvmppc_run_core()
2424 kvmppc_ipi_thread(pcpu + thr); in kvmppc_run_core()