Searched refs:bpf_map_get_fd_by_id_opts (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | libbpf_get_fd_by_id_opts.c | 41 fd = bpf_map_get_fd_by_id_opts(info_m.id, NULL); in test_libbpf_get_fd_by_id_opts() 42 if (!ASSERT_LT(fd, 0, "bpf_map_get_fd_by_id_opts")) in test_libbpf_get_fd_by_id_opts() 45 fd = bpf_map_get_fd_by_id_opts(info_m.id, &fd_opts_rdonly); in test_libbpf_get_fd_by_id_opts() 46 if (!ASSERT_GE(fd, 0, "bpf_map_get_fd_by_id_opts")) in test_libbpf_get_fd_by_id_opts()
|
/linux/tools/bpf/bpftool/ |
H A D | common.c | 995 fd = bpf_map_get_fd_by_id_opts(id, &opts_ro); in map_fd_by_name() 1019 fd = bpf_map_get_fd_by_id_opts(id, opts); in map_fd_by_name() 1066 (*fds)[0] = bpf_map_get_fd_by_id_opts(id, &opts); in map_parse_fds()
|
H A D | btf.c | 1158 fd = bpf_map_get_fd_by_id_opts(id, &opts_ro); in build_btf_type_table()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.map | 374 bpf_map_get_fd_by_id_opts;
|
H A D | bpf.h | 504 LIBBPF_API int bpf_map_get_fd_by_id_opts(__u32 id,
|
H A D | bpf.c | 1118 int bpf_map_get_fd_by_id_opts(__u32 id, in bpf_map_get_fd_by_id_opts() function 1138 return bpf_map_get_fd_by_id_opts(id, NULL); in bpf_map_get_fd_by_id()
|