Lines Matching refs:i
154 int i; in scf_torture_stats_print() local
161 for (i = 0; i < nthreads; i++) { in scf_torture_stats_print()
162 scfs.n_resched += scf_stats_p[i].n_resched; in scf_torture_stats_print()
163 scfs.n_single += scf_stats_p[i].n_single; in scf_torture_stats_print()
164 scfs.n_single_ofl += scf_stats_p[i].n_single_ofl; in scf_torture_stats_print()
165 scfs.n_single_rpc += scf_stats_p[i].n_single_rpc; in scf_torture_stats_print()
166 scfs.n_single_wait += scf_stats_p[i].n_single_wait; in scf_torture_stats_print()
167 scfs.n_single_wait_ofl += scf_stats_p[i].n_single_wait_ofl; in scf_torture_stats_print()
168 scfs.n_many += scf_stats_p[i].n_many; in scf_torture_stats_print()
169 scfs.n_many_wait += scf_stats_p[i].n_many_wait; in scf_torture_stats_print()
170 scfs.n_all += scf_stats_p[i].n_all; in scf_torture_stats_print()
171 scfs.n_all_wait += scf_stats_p[i].n_all_wait; in scf_torture_stats_print()
226 int i; in scf_sel_dump() local
231 for (i = 0; i < scf_sel_array_len; i++) { in scf_sel_dump()
232 scfsp = &scf_sel_array[i]; in scf_sel_dump()
244 int i; in scf_sel_rand() local
247 for (i = 0; i < scf_sel_array_len; i++) in scf_sel_rand()
248 if (scf_sel_array[i].scfs_weight >= w) in scf_sel_rand()
249 return &scf_sel_array[i]; in scf_sel_rand()
259 int i; in scf_handler() local
284 for (i = 0; i < r; i++) { in scf_handler()
510 int i; in scf_torture_cleanup() local
517 for (i = 0; i < nthreads; i++) in scf_torture_cleanup()
518 torture_stop_kthread("scftorture_invoker", scf_stats_p[i].task); in scf_torture_cleanup()
540 long i; in scf_torture_init() local
635 for (i = 0; i < nthreads; i++) { in scf_torture_init()
636 scf_stats_p[i].cpu = i; in scf_torture_init()
637 firsterr = torture_create_kthread(scftorture_invoker, (void *)&scf_stats_p[i], in scf_torture_init()
638 scf_stats_p[i].task); in scf_torture_init()