Home
last modified time | relevance | path

Searched refs:bpf_object__find_map_by_name (Results 1 – 25 of 27) sorted by relevance

12

/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c36 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_1()
172 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_2()
247 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_count()
272 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_count()
345 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_4()
353 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_4()
435 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_5()
443 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_5()
523 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_1()
607 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_2()
[all …]
Dpinning.c17 map = bpf_object__find_map_by_name(obj, name); in get_map_id()
105 map = bpf_object__find_map_by_name(obj, "pinmap"); in test_pinning()
133 map = bpf_object__find_map_by_name(obj, "nopinmap"); in test_pinning()
249 map = bpf_object__find_map_by_name(obj, "pinmap"); in test_pinning()
Dglobal_data.c109 map = bpf_object__find_map_by_name(obj, "test_glo.rodata"); in test_global_data_rdonly()
116 map2 = bpf_object__find_map_by_name(obj, ".rodata"); in test_global_data_rdonly()
Dselect_reuseport.c99 map = bpf_object__find_map_by_name(obj, "outer_map"); in prepare_bpf_obj()
113 map = bpf_object__find_map_by_name(obj, "result_map"); in prepare_bpf_obj()
119 map = bpf_object__find_map_by_name(obj, "tmp_index_ovr_map"); in prepare_bpf_obj()
125 map = bpf_object__find_map_by_name(obj, "linum_map"); in prepare_bpf_obj()
131 map = bpf_object__find_map_by_name(obj, "data_check_map"); in prepare_bpf_obj()
Dload_bytes_relative.c35 test_result = bpf_object__find_map_by_name(obj, "test_result"); in test_load_bytes_relative()
Dglobal_data_init.c19 map = bpf_object__find_map_by_name(obj, ".rodata"); in test_global_data_init()
Drdonly_maps.c40 bss_map = bpf_object__find_map_by_name(obj, ".bss"); in test_rdonly_maps()
Dget_stack_raw_tp.c111 map = bpf_object__find_map_by_name(obj, "perfmap"); in test_get_stack_raw_tp()
Dcore_autosize.c166 bss_map = bpf_object__find_map_by_name(skel->obj, ".bss"); in test_core_autosize()
Dcore_reloc.c945 data_map = bpf_object__find_map_by_name(obj, ".bss"); in run_core_reloc_tests()
/linux-5.19.10/tools/testing/selftests/bpf/
Dflow_dissector_load.h35 prog_array = bpf_object__find_map_by_name(*obj, map_name); in bpf_flow_load()
44 keys = bpf_object__find_map_by_name(*obj, keys_map_name); in bpf_flow_load()
Dtest_tcpnotify_user.c106 perf_map = bpf_object__find_map_by_name(obj, "perf_event_map"); in main()
112 global_map = bpf_object__find_map_by_name(obj, "global_map"); in main()
Dtest_maps.c845 bpf_map_rx = bpf_object__find_map_by_name(obj, "sock_map_rx"); in test_sockmap()
857 bpf_map_tx = bpf_object__find_map_by_name(obj, "sock_map_tx"); in test_sockmap()
869 bpf_map_msg = bpf_object__find_map_by_name(obj, "sock_map_msg"); in test_sockmap()
881 bpf_map_break = bpf_object__find_map_by_name(obj, "sock_map_break"); in test_sockmap()
1167 map = bpf_object__find_map_by_name(obj, "mim_array"); in test_map_in_map()
1178 map = bpf_object__find_map_by_name(obj, "mim_hash"); in test_map_in_map()
1191 map = bpf_object__find_map_by_name(obj, "mim_array"); in test_map_in_map()
1208 map = bpf_object__find_map_by_name(obj, "mim_hash"); in test_map_in_map()
1238 map = bpf_object__find_map_by_name(obj, "mim"); in test_map_in_map()
Dget_cgroup_id_user.c40 map = bpf_object__find_map_by_name(obj, name); in bpf_find_map()
Dtest_progs.c496 map = bpf_object__find_map_by_name(obj, name); in bpf_find_map()
Dtest_sockmap.c1788 maps[i] = bpf_object__find_map_by_name(obj, map_names[i]); in populate_progs()
/linux-5.19.10/samples/bpf/
Dxdp_rxq_info_user.c494 map = bpf_object__find_map_by_name(obj, "config_map"); in main()
495 stats_global_map = bpf_object__find_map_by_name(obj, "stats_global_map"); in main()
496 rx_queue_index_map = bpf_object__find_map_by_name(obj, "rx_queue_index_map"); in main()
Dxdp_fwd_user.c154 map_fd = bpf_map__fd(bpf_object__find_map_by_name(obj, in main()
Dmap_perf_test_user.c453 map = bpf_object__find_map_by_name(obj, "inner_lru_hash_map"); in main()
Dxdpsock_user.c1773 map = bpf_object__find_map_by_name(obj, "xsks_map"); in enter_xsks_into_map()
/linux-5.19.10/tools/lib/bpf/
Dlibbpf.map40 bpf_object__find_map_by_name;
Dusdt.c261 specs_map = bpf_object__find_map_by_name(obj, "__bpf_usdt_specs"); in usdt_manager_new()
262 ip_to_spec_id_map = bpf_object__find_map_by_name(obj, "__bpf_usdt_ip_to_spec_id"); in usdt_manager_new()
Dlibbpf.h870 bpf_object__find_map_by_name(const struct bpf_object *obj, const char *name);
Dlibbpf.c6598 targ_map = bpf_object__find_map_by_name(obj, name); in bpf_object__collect_map_relos()
9921 bpf_object__find_map_by_name(const struct bpf_object *obj, const char *name) in bpf_object__find_map_by_name() function
9950 return bpf_map__fd(bpf_object__find_map_by_name(obj, name)); in bpf_object__find_map_fd_by_name()
12925 *map = bpf_object__find_map_by_name(obj, name); in populate_skeleton_maps()
/linux-5.19.10/tools/perf/util/
Dbpf-loader.c1376 map = bpf_object__find_map_by_name(obj, map_name); in bpf__obj_config_map()

12