Home
last modified time | relevance | path

Searched refs:bpf_map__def (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c40 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
56 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
72 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
93 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
94 j = bpf_map__def(prog_array)->max_entries - 1 - i; in test_tailcall_1()
110 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
111 j = bpf_map__def(prog_array)->max_entries - 1 - i; in test_tailcall_1()
128 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
178 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_2()
343 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_4()
[all …]
Dglobal_data_init.c23 sz = bpf_map__def(map)->value_size; in test_global_data_init()
Dglobal_data.c117 buff = malloc(bpf_map__def(map)->value_size); in test_global_data_rdonly()
Dflow_dissector.c460 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in init_prog_array()
Dsockmap_listen.c1427 def = bpf_map__def(map); in test_ops_cleanup()
1453 def = bpf_map__def(map); in map_type_str()
/Linux-v5.10/samples/bpf/
Dxdp_rxq_info_user.c212 unsigned int nr_rxqs = bpf_map__def(rx_queue_index_map)->max_entries; in alloc_record_per_rxq()
225 unsigned int nr_rxqs = bpf_map__def(rx_queue_index_map)->max_entries; in alloc_stats_record()
244 unsigned int nr_rxqs = bpf_map__def(rx_queue_index_map)->max_entries; in free_stats_record()
292 max_rxqs = bpf_map__def(rx_queue_index_map)->max_entries; in stats_collect()
338 unsigned int nr_rxqs = bpf_map__def(rx_queue_index_map)->max_entries; in stats_print()
/Linux-v5.10/tools/perf/util/
Dbpf_map.c30 const struct bpf_map_def *def = bpf_map__def(map); in bpf_map__fprintf()
Dbpf-loader.c1002 const struct bpf_map_def *def = bpf_map__def(map); in __bpf_map__config_value()
1073 def = bpf_map__def(map); in __bpf_map__config_event()
1144 def = bpf_map__def(map); in config_map_indices_range_check()
1320 def = bpf_map__def(map); in bpf_map_config_foreach_key()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map15 bpf_map__def;
Dlibbpf.h438 LIBBPF_API const struct bpf_map_def *bpf_map__def(const struct bpf_map *map);
Dlibbpf.c8743 const struct bpf_map_def *bpf_map__def(const struct bpf_map *map) in bpf_map__def() function
/Linux-v5.10/tools/bpf/bpftool/
Dgen.c516 (bpf_map__def(map)->map_flags & BPF_F_MMAPABLE)) { in do_skeleton()
Dstruct_ops.c514 def = bpf_map__def(map); in do_register()