/linux-6.12.1/tools/bpf/bpftool/ |
D | struct_ops.c | 154 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() 551 if (bpf_map_get_info_by_fd(bpf_map__fd(map), &info, in do_register()
|
D | map.c | 649 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()
|
D | common.c | 994 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()
|
D | btf.c | 1049 err = bpf_map_get_info_by_fd(fd, info, len); in build_btf_type_table()
|
D | prog.c | 262 ret = bpf_map_get_info_by_fd(map_fd, map_info, &map_info_len); in find_metadata()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | libbpf_get_fd_by_id_opts.c | 32 ret = bpf_map_get_info_by_fd(bpf_map__fd(skel->maps.data_input), in test_libbpf_get_fd_by_id_opts()
|
D | bpf_obj_id.c | 83 err = bpf_map_get_info_by_fd(map_fds[i], &map_infos[i], in serial_test_bpf_obj_id() 234 err = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in serial_test_bpf_obj_id()
|
D | metadata.c | 28 ret = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len); in prog_holds_map()
|
D | btf_map_in_map.c | 17 err = bpf_map_get_info_by_fd(bpf_map__fd(map), &info, &info_len); in bpf_map_id()
|
D | test_struct_ops_module.c | 82 err = bpf_map_get_info_by_fd(bpf_map__fd(skel->maps.testmod_1), &info, in test_struct_ops_load()
|
D | pinning.c | 21 err = bpf_map_get_info_by_fd(bpf_map__fd(map), in get_map_id()
|
D | unpriv_bpf_disabled.c | 187 if (ASSERT_OK(bpf_map_get_info_by_fd(map_fds[0], &map_info, &map_info_len), in test_unpriv_bpf_disabled_negative()
|
D | mmap.c | 67 err = bpf_map_get_info_by_fd(data_map_fd, &map_info, &map_info_sz); in test_mmap()
|
D | bpf_iter.c | 701 err = bpf_map_get_info_by_fd(map1_fd, &map_info, &map_info_len); in test_overflow() 706 err = bpf_map_get_info_by_fd(map2_fd, &map_info, &map_info_len); in test_overflow()
|
D | btf.c | 4669 err = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in test_btf_id()
|
/linux-6.12.1/samples/bpf/ |
D | test_map_in_map_user.c | 41 ret = bpf_map_get_info_by_fd(inner_map_fd, &info, &info_len); in check_map_id()
|
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/ |
D | map_in_map_batch_ops.c | 21 ret = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in get_map_id_from_fd()
|
/linux-6.12.1/tools/lib/bpf/ |
D | ringbuf.c | 88 err = bpf_map_get_info_by_fd(map_fd, &info, &len); in ring_buffer__add() 458 err = bpf_map_get_info_by_fd(map_fd, &info, &len); in user_ringbuf_map()
|
D | libbpf.map | 389 bpf_map_get_info_by_fd;
|
D | bpf.h | 543 LIBBPF_API int bpf_map_get_info_by_fd(int map_fd, struct bpf_map_info *info, __u32 *info_len);
|
D | bpf.c | 1163 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
|
D | libbpf.c | 4845 err = bpf_map_get_info_by_fd(fd, &info, &len); in bpf_map__reuse_fd() 5035 err = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len); in map_is_reuse_compat() 13277 err = bpf_map_get_info_by_fd(map_fd, &map, &map_info_len); in __perf_buffer__new()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | xdp_synproxy.c | 322 err = bpf_map_get_info_by_fd(map_fd, &map_info, &info_len); in syncookie_open_bpf_maps()
|
D | test_maps.c | 1282 err = bpf_map_get_info_by_fd(fd, &info, &len); in test_map_in_map()
|
/linux-6.12.1/kernel/bpf/ |
D | syscall.c | 4824 static int bpf_map_get_info_by_fd(struct file *file, in bpf_map_get_info_by_fd() function 4941 return bpf_map_get_info_by_fd(fd_file(f), fd_file(f)->private_data, attr, in bpf_obj_get_info_by_fd()
|