Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dfor_each.c23 max_entries = bpf_map__max_entries(skel->maps.hashmap); in test_hash_map()
84 max_entries = bpf_map__max_entries(skel->maps.arraymap); in test_array_map()
Dsockmap_basic.c55 __u32 i, max_entries = bpf_map__max_entries(src); in compare_cookies()
217 num_elems = bpf_map__max_entries(src); in test_sockmap_copy()
221 num_elems = bpf_map__max_entries(src) - 1; in test_sockmap_copy()
Dbpf_iter.c634 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_hash_map()
719 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_percpu_hash_map()
795 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()
846 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()
891 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_percpu_array_map()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.map281 bpf_map__max_entries;
Dlibbpf.h520 LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
Dlibbpf.c3992 __u32 bpf_map__max_entries(const struct bpf_map *map) in bpf_map__max_entries() function
/Linux-v5.15/samples/bpf/
Dmap_perf_test_user.c457 inner_lru_hash_size = bpf_map__max_entries(map); in main()
/Linux-v5.15/tools/bpf/bpftool/
Dgen.c302 map_sz = (size_t)roundup(bpf_map__value_size(map), 8) * bpf_map__max_entries(map); in bpf_map_mmap_sz()
/Linux-v5.15/tools/perf/util/
Dbpf_counter.c616 for (i = 0; i < bpf_map__max_entries(skel->maps.accum_readings); i++) { in bperf__read()