Lines Matching refs:nr_cpus
27 static int nr_cpus; variable
107 unsigned long long value0[nr_cpus], value1[nr_cpus]; in map_subset()
138 while (next < nr_cpus) { in sched_next_online()
161 unsigned long long key, value[nr_cpus]; in test_lru_sanity0()
171 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0()
250 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity1()
326 unsigned long long key, value[nr_cpus]; in test_lru_sanity2()
434 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity3()
499 unsigned long long key, value[nr_cpus]; in test_lru_sanity4()
510 3 * tgt_free * nr_cpus); in test_lru_sanity4()
557 unsigned long long key, value[nr_cpus]; in do_test_lru_sanity5()
575 unsigned long long key, value[nr_cpus]; in test_lru_sanity5()
623 unsigned long long key, value[nr_cpus]; in test_lru_sanity6()
638 lru_map_fd = create_map(map_type, map_flags, map_size * nr_cpus); in test_lru_sanity6()
689 unsigned long long key, value[nr_cpus]; in test_lru_sanity7()
699 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity7()
785 unsigned long long key, value[nr_cpus]; in test_lru_sanity8()
795 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity8()
879 nr_cpus = bpf_num_possible_cpus(); in main()
880 assert(nr_cpus != -1); in main()
881 printf("nr_cpus:%d\n\n", nr_cpus); in main()