Searched refs:bpf_map__max_entries (Results 1 – 18 of 18) sorted by relevance
44 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()60 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()74 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()94 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()95 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()111 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()112 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()127 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()180 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_2()361 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()[all …]
54 ASSERT_EQ(bpf_map__max_entries(skel->maps.ringbuf1), page_size, "rb1_size_before"); in test_ringbuf_multi()56 ASSERT_EQ(bpf_map__max_entries(skel->maps.ringbuf1), 2 * page_size, "rb1_size_after"); in test_ringbuf_multi()58 ASSERT_EQ(bpf_map__max_entries(skel->maps.ringbuf1), page_size, "rb1_size_final"); in test_ringbuf_multi()
29 max_entries = bpf_map__max_entries(skel->maps.hashmap); in test_hash_map()96 max_entries = bpf_map__max_entries(skel->maps.arraymap); in test_array_map()
56 __u32 i, max_entries = bpf_map__max_entries(src); in compare_cookies()203 num_elems = bpf_map__max_entries(src); in test_sockmap_copy()207 num_elems = bpf_map__max_entries(src) - 1; in test_sockmap_copy()
811 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_hash_map()892 for (i = 0; i < bpf_map__max_entries(skel->maps.hashmap1); i++) { in test_bpf_percpu_hash_map()961 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()1008 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_array_map()1063 for (i = 0; i < bpf_map__max_entries(skel->maps.arraymap1); i++) { in test_bpf_percpu_array_map()
157 map_size = bpf_map__max_entries(skel->maps.map_random_data); in setup_progs()
495 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in init_prog_array()
1421 for (key = 0; key < bpf_map__max_entries(map); key++) { in test_ops_cleanup()
221 unsigned int nr_rxqs = bpf_map__max_entries(rx_queue_index_map); in alloc_record_per_rxq()234 unsigned int nr_rxqs = bpf_map__max_entries(rx_queue_index_map); in alloc_stats_record()253 unsigned int nr_rxqs = bpf_map__max_entries(rx_queue_index_map); in free_stats_record()301 max_rxqs = bpf_map__max_entries(rx_queue_index_map); in stats_collect()347 unsigned int nr_rxqs = bpf_map__max_entries(rx_queue_index_map); in stats_print()
459 inner_lru_hash_size = bpf_map__max_entries(map); in main()
66 max_entries = bpf_map__max_entries(ctx.skel->maps.hash_map_bench); in setup()
184 bpf_map__max_entries;
790 LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
925 if (man->next_free_spec_id >= bpf_map__max_entries(man->specs_map)) in allocate_spec_id()
4381 __u32 bpf_map__max_entries(const struct bpf_map *map) in bpf_map__max_entries() function
641 for (i = 0; i < bpf_map__max_entries(skel->maps.accum_readings); i++) { in bperf__read()
1508 if (idx >= bpf_map__max_entries(map)) { in config_map_indices_range_check()1615 for (i = 0; i < bpf_map__max_entries(map); i++) { in foreach_key_array_all()
462 map_sz = (size_t)roundup(bpf_map__value_size(map), 8) * bpf_map__max_entries(map); in bpf_map_mmap_sz()