Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
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()
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()
Dbpf_obj_id.c39 err = bpf_map_get_fd_by_id(0); in test_bpf_obj_id()
258 map_fd = bpf_map_get_fd_by_id(next_id); in test_bpf_obj_id()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c107 map_fd = bpf_map_get_fd_by_id(map_ids[0]); in get_map_fd_by_prog_id()
Dtest_tcp_check_syncookie_user.c110 map_fd = bpf_map_get_fd_by_id(map_ids[0]); in get_map_fd_by_prog_id()
Dtest_maps.c1276 fd = bpf_map_get_fd_by_id(id); in test_map_in_map()
/Linux-v5.15/tools/bpf/bpftool/
Dstruct_ops.c147 fd = bpf_map_get_fd_by_id(id); in get_next_struct_ops_map()
254 fd = bpf_map_get_fd_by_id(id); in do_one_id()
Dcommon.c830 fd = bpf_map_get_fd_by_id(id); in map_fd_by_name()
883 (*fds)[0] = bpf_map_get_fd_by_id(id); in map_parse_fds()
Dbtf.c692 fd = bpf_map_get_fd_by_id(id); in build_btf_type_table()
Dmap.c719 fd = bpf_map_get_fd_by_id(id); in do_show()
Dprog.c198 map_fd = bpf_map_get_fd_by_id(map_ids[i]); in find_metadata()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.map29 bpf_map_get_fd_by_id;
Dbpf.h238 LIBBPF_API int bpf_map_get_fd_by_id(__u32 id);
Dbpf.c927 int bpf_map_get_fd_by_id(__u32 id) in bpf_map_get_fd_by_id() function
Dxsk.c641 fd = bpf_map_get_fd_by_id(map_ids[i]); in xsk_lookup_bpf_maps()
/Linux-v5.15/tools/perf/util/
Dbpf_counter.c492 diff_map_fd = bpf_map_get_fd_by_id(entry.diff_map_id); in bperf__load()
/Linux-v5.15/kernel/bpf/
Dsyscall.c3426 static int bpf_map_get_fd_by_id(const union bpf_attr *attr) in bpf_map_get_fd_by_id() function
4626 err = bpf_map_get_fd_by_id(&attr); in __sys_bpf()