Lines Matching refs:nr_cpus
32 static int nr_cpus; variable
225 if (next_to_try == nr_cpus) in sched_next_online()
228 while (next_to_try < nr_cpus) { in sched_next_online()
321 nr_cpus * lru_size); in test_parallel_lru_dist()
337 unsigned long long key, value[nr_cpus]; in test_lru_loss0()
349 map_fd = create_map(map_type, map_flags, 900 * nr_cpus); in test_lru_loss0()
391 unsigned long long key, value[nr_cpus]; in test_lru_loss1()
401 map_fd = create_map(map_type, map_flags, 1000 * nr_cpus); in test_lru_loss1()
429 unsigned long long key, value[nr_cpus]; in do_test_parallel_lru_loss()
478 nr_cpus * (1000 + 200)); in test_parallel_lru_loss()
515 nr_cpus = bpf_num_possible_cpus(); in main()
516 assert(nr_cpus != -1); in main()
517 printf("nr_cpus:%d\n\n", nr_cpus); in main()
519 nr_tasks = min(nr_tasks, nr_cpus); in main()