Home
last modified time | relevance | path

Searched refs:bpf_map_get_info_by_fd (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlibbpf_get_fd_by_id_opts.c32 ret = bpf_map_get_info_by_fd(bpf_map__fd(skel->maps.data_input), in test_libbpf_get_fd_by_id_opts()
H A Dmetadata.c28 ret = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len); in prog_holds_map()
H A Dbpf_obj_id.c82 err = bpf_map_get_info_by_fd(map_fds[i], &map_infos[i], in serial_test_bpf_obj_id()
280 err = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in serial_test_bpf_obj_id()
H A Dbtf_map_in_map.c17 err = bpf_map_get_info_by_fd(bpf_map__fd(map), &info, &info_len); in bpf_map_id()
H A Dpinning.c21 err = bpf_map_get_info_by_fd(bpf_map__fd(map), in get_map_id()
H A Dunpriv_bpf_disabled.c186 if (ASSERT_OK(bpf_map_get_info_by_fd(map_fds[0], &map_info, &map_info_len), in test_unpriv_bpf_disabled_negative()
H A Dmmap.c67 err = bpf_map_get_info_by_fd(data_map_fd, &map_info, &map_info_sz); in test_mmap()
H A Dbpf_iter.c689 err = bpf_map_get_info_by_fd(map1_fd, &map_info, &map_info_len); in test_overflow()
695 err = bpf_map_get_info_by_fd(map2_fd, &map_info, &map_info_len); in test_overflow()
H A Dbtf.c4606 err = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in test_btf_id()
/openbmc/linux/tools/bpf/bpftool/
H A Dstruct_ops.c154 err = bpf_map_get_info_by_fd(fd, info, &info_len); in get_next_struct_ops_map()
265 if (bpf_map_get_info_by_fd(fd, info, &info_len)) { in do_one_id()
545 if (bpf_map_get_info_by_fd(bpf_map__fd(map), &info, in do_register()
H A Dmap.c649 err = bpf_map_get_info_by_fd(fds[i], &info, &len); in do_show_subset()
719 err = bpf_map_get_info_by_fd(fd, &info, &len); in do_show()
775 err = bpf_map_get_info_by_fd(fds[i], &info, &len); in maps_have_btf()
936 if (bpf_map_get_info_by_fd(fds[i], &info, &len)) { in do_dump()
H A Dcommon.c994 err = bpf_map_get_info_by_fd(fd, &info, &len); in map_fd_by_name()
1114 err = bpf_map_get_info_by_fd(fd, info, info_len); in map_parse_fd_and_info()
H A Dbtf.c795 err = bpf_map_get_info_by_fd(fd, info, len); in build_btf_type_table()
H A Dprog.c262 ret = bpf_map_get_info_by_fd(map_fd, map_info, &map_info_len); in find_metadata()
/openbmc/linux/samples/bpf/
H A Dtest_map_in_map_user.c41 ret = bpf_map_get_info_by_fd(inner_map_fd, &info, &info_len); in check_map_id()
/openbmc/linux/tools/lib/bpf/
H A Dringbuf.c86 err = bpf_map_get_info_by_fd(map_fd, &info, &len); in ring_buffer__add()
362 err = bpf_map_get_info_by_fd(map_fd, &info, &len); in user_ringbuf_map()
H A Dlibbpf.map391 bpf_map_get_info_by_fd;
H A Dbpf.h517 LIBBPF_API int bpf_map_get_info_by_fd(int map_fd, struct bpf_map_info *info, __u32 *info_len);
H A Dbpf.c1138 int bpf_map_get_info_by_fd(int map_fd, struct bpf_map_info *info, __u32 *info_len) in bpf_map_get_info_by_fd() function
H A Dlibbpf.c4423 err = bpf_map_get_info_by_fd(fd, &info, &len); in bpf_map__reuse_fd()
5005 err = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len); in map_is_reuse_compat()
12506 err = bpf_map_get_info_by_fd(map_fd, &map, &map_info_len); in __perf_buffer__new()
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_in_map_batch_ops.c21 ret = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in get_map_id_from_fd()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c322 err = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in syncookie_open_bpf_maps()
H A Dtest_maps.c1282 err = bpf_map_get_info_by_fd(fd, &info, &len); in test_map_in_map()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c4661 static int bpf_map_get_info_by_fd(struct file *file, in bpf_map_get_info_by_fd() function
4780 err = bpf_map_get_info_by_fd(f.file, f.file->private_data, attr, in bpf_obj_get_info_by_fd()