• Home
  • Raw
  • Download

Lines Matching refs:i

81 	int i;  in test_hash_prealloc()  local
84 for (i = 0; i < max_cnt; i++) in test_hash_prealloc()
123 int i, ret; in do_test_lru() local
182 for (i = 0; i < max_cnt; i++) { in do_test_lru()
219 int i; in test_percpu_hash_prealloc() local
222 for (i = 0; i < max_cnt; i++) in test_percpu_hash_prealloc()
231 int i; in test_hash_kmalloc() local
234 for (i = 0; i < max_cnt; i++) in test_hash_kmalloc()
243 int i; in test_percpu_hash_kmalloc() local
246 for (i = 0; i < max_cnt; i++) in test_percpu_hash_kmalloc()
255 int i; in test_lpm_kmalloc() local
258 for (i = 0; i < max_cnt; i++) in test_lpm_kmalloc()
267 int i; in test_hash_lookup() local
270 for (i = 0; i < max_cnt; i++) in test_hash_lookup()
279 int i; in test_array_lookup() local
282 for (i = 0; i < max_cnt; i++) in test_array_lookup()
310 int i; in pre_test() local
312 for (i = 0; i < NR_TESTS; i++) { in pre_test()
313 if (pre_test_funcs[i] && check_test_flags(i)) { in pre_test()
314 int ret = pre_test_funcs[i](tasks); in pre_test()
327 int i; in loop() local
333 for (i = 0; i < NR_TESTS; i++) { in loop()
334 if (check_test_flags(i)) in loop()
335 test_funcs[i](cpu); in loop()
342 int i; in run_perf_test() local
346 for (i = 0; i < tasks; i++) { in run_perf_test()
347 pid[i] = fork(); in run_perf_test()
348 if (pid[i] == 0) { in run_perf_test()
349 loop(i); in run_perf_test()
351 } else if (pid[i] == -1) { in run_perf_test()
352 printf("couldn't spawn #%d process\n", i); in run_perf_test()
356 for (i = 0; i < tasks; i++) { in run_perf_test()
359 assert(waitpid(pid[i], &status, 0) == pid[i]); in run_perf_test()
368 unsigned int i; in fill_lpm_trie() local
374 for (i = 0; i < 512; ++i) { in fill_lpm_trie()
397 int i; in fixup_map() local
422 for (i = 0; i < NR_TESTS; i++) { in fixup_map()
423 if (!strcmp(test_map_names[i], map->name) && in fixup_map()
424 (check_test_flags(i))) { in fixup_map()