Searched refs:map_info_len (Results 1 – 8 of 8) sorted by relevance
/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_obj_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 | bpf_iter.c | 456 __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/ |
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 | 299 __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/ |
D | map_perf_ring.c | 135 __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()
|
D | prog.c | 165 __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/ |
D | libbpf.c | 4474 __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()
|