Home
last modified time | relevance | path

Searched refs:bpf_map_get_fd_by_id (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dbtf_map_in_map.c118 fd = bpf_map_get_fd_by_id(map1_id); in test_lookup_update()
123 fd = bpf_map_get_fd_by_id(map2_id); in test_lookup_update()
A Dlibbpf_get_fd_by_id_opts.c37 fd = bpf_map_get_fd_by_id(info_m.id); in test_libbpf_get_fd_by_id_opts()
A Dmmap.c272 tmp_fd = bpf_map_get_fd_by_id(data_map_id); in test_mmap()
291 tmp_fd = bpf_map_get_fd_by_id(data_map_id); in test_mmap()
A Dbpf_obj_id.c39 err = bpf_map_get_fd_by_id(0); in serial_test_bpf_obj_id()
258 map_fd = bpf_map_get_fd_by_id(next_id); in serial_test_bpf_obj_id()
A Dunpriv_bpf_disabled.c184 ASSERT_EQ(bpf_map_get_fd_by_id(map_info.id), -EPERM, "map_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_skb_cgroup_id_user.c106 map_fd = bpf_map_get_fd_by_id(map_ids[0]); in get_map_fd_by_prog_id()
A Dtest_tcp_check_syncookie_user.c111 map_fd = bpf_map_get_fd_by_id(map_ids[0]); in get_map_fd_by_prog_id()
A Dxdp_synproxy.c314 err = bpf_map_get_fd_by_id(map_ids[i]); in syncookie_open_bpf_maps()
A Dtest_maps.c1270 fd = bpf_map_get_fd_by_id(id); in test_map_in_map()
/linux-6.3-rc2/tools/bpf/bpftool/
A Dstruct_ops.c145 fd = bpf_map_get_fd_by_id(id); in get_next_struct_ops_map()
252 fd = bpf_map_get_fd_by_id(id); in do_one_id()
A Dcommon.c912 fd = bpf_map_get_fd_by_id(id); in map_fd_by_name()
965 (*fds)[0] = bpf_map_get_fd_by_id(id); in map_parse_fds()
A Dbtf.c775 fd = bpf_map_get_fd_by_id(id); in build_btf_type_table()
A Dmap.c702 fd = bpf_map_get_fd_by_id(id); in do_show()
A Dprog.c256 map_fd = bpf_map_get_fd_by_id(map_ids[i]); in find_metadata()
/linux-6.3-rc2/tools/testing/selftests/bpf/map_tests/
A Dmap_in_map_batch_ops.c93 inner_map_fd = bpf_map_get_fd_by_id(outer_map_value); in validate_fetch_results()
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.map14 bpf_map_get_fd_by_id;
A Dbpf.h379 LIBBPF_API int bpf_map_get_fd_by_id(__u32 id);
A Dbpf.c979 int bpf_map_get_fd_by_id(__u32 id) in bpf_map_get_fd_by_id() function
/linux-6.3-rc2/tools/perf/util/
A Dbpf_counter.c515 diff_map_fd = bpf_map_get_fd_by_id(entry.diff_map_id); in bperf__load()
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c3773 static int bpf_map_get_fd_by_id(const union bpf_attr *attr) in bpf_map_get_fd_by_id() function
5028 err = bpf_map_get_fd_by_id(&attr); in __sys_bpf()

Completed in 37 milliseconds