Lines Matching refs:thread_index
40 int thread_index;
49 thread_index = cpu_core_index_of_thread(cpu);
70 if (thread_index < drc.last_drc_index)
74 ret = drc.drc_index_start + (thread_index * drc.sequential_inc);
81 * thread_index+1 will get the drc_index corresponding
82 * to core number thread_index.
89 WARN_ON_ONCE(thread_index > nr_drc_indexes);
91 thread_index + 1,
114 int thread_index = 0, cpu = 0;
146 thread_index = cpu_first_thread_of_core(cpu);
166 thread_index = cpu_first_thread_of_core(i);
175 return thread_index;