Searched refs:map_info_len (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | metadata.c | 21 __u32 map_info_len; in prog_holds_map() local 27 map_info_len = sizeof(map_info); in prog_holds_map() 28 ret = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len); in prog_holds_map()
|
A D | pinning.c | 11 __u32 map_info_len, duration = 0; in get_map_id() local 15 map_info_len = sizeof(map_info); in get_map_id() 22 &map_info, &map_info_len); in get_map_id()
|
A D | unpriv_bpf_disabled.c | 152 __u32 map_info_len = sizeof(map_info); in test_unpriv_bpf_disabled_negative() local 182 if (ASSERT_OK(bpf_map_get_info_by_fd(map_fds[0], &map_info, &map_info_len), in test_unpriv_bpf_disabled_negative()
|
A D | bpf_iter.c | 636 __u32 map_info_len, total_read_len, expected_read_len; in test_overflow() local 686 map_info_len = sizeof(map_info); in test_overflow() 687 err = bpf_map_get_info_by_fd(map1_fd, &map_info, &map_info_len); in test_overflow() 693 err = bpf_map_get_info_by_fd(map2_fd, &map_info, &map_info_len); in test_overflow()
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | map_perf_ring.c | 127 __u32 map_info_len; in do_event_pipe() local 130 map_info_len = sizeof(map_info); in do_event_pipe() 131 map_fd = map_parse_fd_and_info(&argc, &argv, &map_info, &map_info_len); in do_event_pipe()
|
A D | prog.c | 223 __u32 map_info_len; in find_metadata() local 261 map_info_len = sizeof(*map_info); in find_metadata() 262 ret = bpf_map_get_info_by_fd(map_fd, map_info, &map_info_len); in find_metadata()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | bpf_counter.h | 116 __u32 map_info_len = sizeof(map_info); in bpf_map_get_id() local 118 bpf_obj_get_info_by_fd(fd, &map_info, &map_info_len); in bpf_map_get_id()
|
A D | bpf_counter.c | 304 __u32 map_info_len = sizeof(map_info); in bperf_attr_map_compatible() local 307 err = bpf_obj_get_info_by_fd(attr_map_fd, &map_info, &map_info_len); in bperf_attr_map_compatible()
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | libbpf.c | 4891 __u32 map_info_len = sizeof(map_info); in map_is_reuse_compat() local 4894 memset(&map_info, 0, map_info_len); in map_is_reuse_compat() 4895 err = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len); in map_is_reuse_compat() 11732 __u32 map_info_len; in __perf_buffer__new() local 11743 map_info_len = sizeof(map); in __perf_buffer__new() 11744 err = bpf_map_get_info_by_fd(map_fd, &map, &map_info_len); in __perf_buffer__new()
|
Completed in 35 milliseconds