Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dsockmap_basic.c53 __u32 i, max_entries = bpf_map__max_entries(src); in compare_cookies()
215 num_elems = bpf_map__max_entries(src); in test_sockmap_copy()
219 num_elems = bpf_map__max_entries(src) - 1; in test_sockmap_copy()
Dbpf_iter.c610 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_hash_map()
695 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_percpu_hash_map()
771 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()
822 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()
867 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_percpu_array_map()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map281 bpf_map__max_entries;
Dlibbpf.h445 LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
Dlibbpf.c3669 __u32 bpf_map__max_entries(const struct bpf_map *map) in bpf_map__max_entries() function
/Linux-v5.10/samples/bpf/
Dmap_perf_test_user.c463 inner_lru_hash_size = bpf_map__max_entries(map); in main()