Home
last modified time | relevance | path

Searched refs:bpf_map__max_entries (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c50 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
66 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
80 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
100 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
101 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()
117 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
118 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()
133 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
186 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_2()
455 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()
[all …]
Dringbuf_multi.c56 ASSERT_EQ(bpf_map__max_entries(skel->maps.ringbuf1), page_size, "rb1_size_before"); in test_ringbuf_multi()
58 ASSERT_EQ(bpf_map__max_entries(skel->maps.ringbuf1), 2 * page_size, "rb1_size_after"); in test_ringbuf_multi()
60 ASSERT_EQ(bpf_map__max_entries(skel->maps.ringbuf1), page_size, "rb1_size_final"); in test_ringbuf_multi()
Dfor_each.c30 max_entries = bpf_map__max_entries(skel->maps.hashmap); in test_hash_map()
97 max_entries = bpf_map__max_entries(skel->maps.arraymap); in test_array_map()
165 max_entries = bpf_map__max_entries(skel->maps.arraymap); in test_multi_maps()
177 max_entries = bpf_map__max_entries(skel->maps.hashmap); in test_multi_maps()
Dbpf_iter.c816 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_hash_map()
899 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_percpu_hash_map()
968 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()
1013 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()
1077 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_percpu_array_map()
Dbloom_filter_map.c163 map_size = bpf_map__max_entries(skel->maps.map_random_data); in setup_progs()
Dsockmap_basic.c61 __u32 i, max_entries = bpf_map__max_entries(src); in compare_cookies()
267 num_elems = bpf_map__max_entries(src); in test_sockmap_copy()
271 num_elems = bpf_map__max_entries(src) - 1; in test_sockmap_copy()
Dflow_dissector.c518 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in init_prog_array()
Dsockmap_listen.c1225 for (key = 0; key < bpf_map__max_entries(map); key++) { in test_ops_cleanup()
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_bpf_hashmap_full_update.c60 max_entries = bpf_map__max_entries(ctx.skel->maps.hash_map_bench); in setup()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map184 bpf_map__max_entries;
Dlibbpf.h1020 LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
Dusdt.c935 if (man->next_free_spec_id >= bpf_map__max_entries(man->specs_map)) in allocate_spec_id()
Dlibbpf.c4895 __u32 bpf_map__max_entries(const struct bpf_map *map) in bpf_map__max_entries() function
/linux-6.12.1/samples/bpf/
Dmap_perf_test_user.c459 inner_lru_hash_size = bpf_map__max_entries(map); in main()
/linux-6.12.1/tools/perf/util/
Dbpf_counter.c626 for (i = 0; i < bpf_map__max_entries(skel->maps.accum_readings); i++) { in bperf__read()
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c491 map_sz = (size_t)roundup(bpf_map__value_size(map), 8) * bpf_map__max_entries(map); in bpf_map_mmap_sz()
/linux-6.12.1/tools/testing/selftests/bpf/
Dveristat.c928 if (bpf_map__max_entries(map) == 0) in fixup_obj()