Home
last modified time | relevance | path

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

/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.c456 __u32 map_info_len, total_read_len, expected_read_len; in test_overflow() local
507 map_info_len = sizeof(map_info); in test_overflow()
508 err = bpf_obj_get_info_by_fd(map1_fd, &map_info, &map_info_len); in test_overflow()
514 err = bpf_obj_get_info_by_fd(map2_fd, &map_info, &map_info_len); in test_overflow()
/tools/perf/util/
Dbpf_counter.h116 __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()
Dbpf_counter.c299 __u32 map_info_len = sizeof(map_info); in bperf_attr_map_compatible() local
302 err = bpf_obj_get_info_by_fd(attr_map_fd, &map_info, &map_info_len); in bperf_attr_map_compatible()
/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.c165 __u32 map_info_len; in find_metadata() local
203 map_info_len = sizeof(*map_info); in find_metadata()
204 ret = bpf_obj_get_info_by_fd(map_fd, map_info, &map_info_len); in find_metadata()
/tools/lib/bpf/
Dlibbpf.c4474 __u32 map_info_len; in map_is_reuse_compat() local
4477 map_info_len = sizeof(map_info); in map_is_reuse_compat()
4479 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &map_info_len); in map_is_reuse_compat()
9995 __u32 map_info_len; in __perf_buffer__new() local
10006 map_info_len = sizeof(map); in __perf_buffer__new()
10007 err = bpf_obj_get_info_by_fd(map_fd, &map, &map_info_len); in __perf_buffer__new()