Home
last modified time | relevance | path

Searched refs:map_info_len (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dmetadata.c21 __u32 map_info_len; in prog_holds_map() local
27 map_info_len = sizeof(map_info); in prog_holds_map()
28 ret = bpf_obj_get_info_by_fd(map_fd, &map_info, &map_info_len); in prog_holds_map()
Dpinning.c11 __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()
Dbpf_iter.c428 __u32 map_info_len, total_read_len, expected_read_len; in test_overflow() local
479 map_info_len = sizeof(map_info); in test_overflow()
480 err = bpf_obj_get_info_by_fd(map1_fd, &map_info, &map_info_len); in test_overflow()
486 err = bpf_obj_get_info_by_fd(map2_fd, &map_info, &map_info_len); in test_overflow()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dmap_perf_ring.c135 __u32 map_info_len; in do_event_pipe() local
138 map_info_len = sizeof(map_info); in do_event_pipe()
139 map_fd = map_parse_fd_and_info(&argc, &argv, &map_info, &map_info_len); in do_event_pipe()
Dprog.c161 __u32 map_info_len; in find_metadata() local
199 map_info_len = sizeof(*map_info); in find_metadata()
200 ret = bpf_obj_get_info_by_fd(map_fd, map_info, &map_info_len); in find_metadata()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf.c4075 __u32 map_info_len; in map_is_reuse_compat() local
4078 map_info_len = sizeof(map_info); in map_is_reuse_compat()
4080 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &map_info_len); in map_is_reuse_compat()
10110 __u32 map_info_len; in __perf_buffer__new() local
10121 map_info_len = sizeof(map); in __perf_buffer__new()
10122 err = bpf_obj_get_info_by_fd(map_fd, &map, &map_info_len); in __perf_buffer__new()