Searched refs:bpf_map_get_fd_by_id_opts (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlibbpf_get_fd_by_id_opts.c41 fd = bpf_map_get_fd_by_id_opts(info_m.id, NULL);
42 if (!ASSERT_LT(fd, 0, "bpf_map_get_fd_by_id_opts"))
45 fd = bpf_map_get_fd_by_id_opts(info_m.id, &fd_opts_rdonly);
46 if (!ASSERT_GE(fd, 0, "bpf_map_get_fd_by_id_opts"))
/linux-master/tools/lib/bpf/
H A Dbpf.h495 LIBBPF_API int bpf_map_get_fd_by_id_opts(__u32 id,
H A Dbpf.c1070 int bpf_map_get_fd_by_id_opts(__u32 id, function
1090 return bpf_map_get_fd_by_id_opts(id, NULL);

Completed in 96 milliseconds