Lines Matching refs:nr_cpus
31 static int nr_cpus; variable
227 if (next_to_try == nr_cpus) in sched_next_online()
230 while (next_to_try < nr_cpus) { in sched_next_online()
323 nr_cpus * lru_size); in test_parallel_lru_dist()
339 unsigned long long key, value[nr_cpus]; in test_lru_loss0()
351 map_fd = create_map(map_type, map_flags, 900 * nr_cpus); in test_lru_loss0()
393 unsigned long long key, value[nr_cpus]; in test_lru_loss1()
403 map_fd = create_map(map_type, map_flags, 1000 * nr_cpus); in test_lru_loss1()
431 unsigned long long key, value[nr_cpus]; in do_test_parallel_lru_loss()
480 nr_cpus * (1000 + 200)); in test_parallel_lru_loss()
514 nr_cpus = bpf_num_possible_cpus(); in main()
515 assert(nr_cpus != -1); in main()
516 printf("nr_cpus:%d\n\n", nr_cpus); in main()
518 nr_tasks = min(nr_tasks, nr_cpus); in main()