Lines Matching refs:nr_cpus
28 static int nr_cpus; variable
46 unsigned long long value0[nr_cpus], value1[nr_cpus]; in map_subset()
77 while (next < nr_cpus) { in sched_next_online()
100 unsigned long long key, value[nr_cpus]; in test_lru_sanity0()
110 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0()
188 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity1()
264 unsigned long long key, value[nr_cpus]; in test_lru_sanity2()
371 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity3()
436 unsigned long long key, value[nr_cpus]; in test_lru_sanity4()
447 3 * tgt_free * nr_cpus); in test_lru_sanity4()
494 unsigned long long key, value[nr_cpus]; in do_test_lru_sanity5()
512 unsigned long long key, value[nr_cpus]; in test_lru_sanity5()
560 unsigned long long key, value[nr_cpus]; in test_lru_sanity6()
575 lru_map_fd = create_map(map_type, map_flags, map_size * nr_cpus); in test_lru_sanity6()
624 nr_cpus = bpf_num_possible_cpus(); in main()
625 assert(nr_cpus != -1); in main()
626 printf("nr_cpus:%d\n\n", nr_cpus); in main()