Searched refs:map_info_len (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
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()
|
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()
|
D | unpriv_bpf_disabled.c | 152 __u32 map_info_len = sizeof(map_info); in test_unpriv_bpf_disabled_negative() local 186 if (ASSERT_OK(bpf_map_get_info_by_fd(map_fds[0], &map_info, &map_info_len), in test_unpriv_bpf_disabled_negative()
|
D | bpf_iter.c | 638 __u32 map_info_len, total_read_len, expected_read_len; in test_overflow() local 688 map_info_len = sizeof(map_info); in test_overflow() 689 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()
|
/linux-6.6.21/tools/bpf/bpftool/ |
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()
|
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.6.21/tools/perf/util/ |
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()
|
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.6.21/tools/lib/bpf/ |
D | libbpf.c | 5000 __u32 map_info_len = sizeof(map_info); in map_is_reuse_compat() local 5003 memset(&map_info, 0, map_info_len); in map_is_reuse_compat() 5004 err = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len); in map_is_reuse_compat() 12490 __u32 map_info_len; in __perf_buffer__new() local 12501 map_info_len = sizeof(map); in __perf_buffer__new() 12502 err = bpf_map_get_info_by_fd(map_fd, &map, &map_info_len); in __perf_buffer__new()
|