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