Home
last modified time | relevance | path

Searched refs:link_info_len (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/tools/perf/util/
Dbpf_counter.h98 __u32 link_info_len = sizeof(link_info); in bpf_link_get_id() local
100 bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in bpf_link_get_id()
107 __u32 link_info_len = sizeof(link_info); in bpf_link_get_prog_id() local
109 bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in bpf_link_get_prog_id()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_link.c18 __u32 link_info_len = sizeof(link_info); in serial_test_xdp_link() local
122 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in serial_test_xdp_link()
140 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in serial_test_xdp_link()
Dbpf_iter.c91 opts.link_info_len = sizeof(linfo); in do_read_map_iter_fd()
195 opts.link_info_len = sizeof(linfo); in check_bpf_link_info()
267 opts.link_info_len = sizeof(linfo); in test_task_tid()
287 opts.link_info_len = sizeof(linfo); in test_task_pid()
305 opts.link_info_len = sizeof(linfo); in test_task_pidfd()
366 opts.link_info_len = sizeof(linfo); in test_task_file()
799 opts.link_info_len = sizeof(linfo); in test_bpf_hash_map()
912 opts.link_info_len = sizeof(linfo); in test_bpf_percpu_hash_map()
977 opts.link_info_len = sizeof(linfo); in test_bpf_array_map()
1079 opts.link_info_len = sizeof(linfo); in test_bpf_percpu_array_map()
[all …]
Dcgroup_iter.c65 opts.link_info_len = sizeof(linfo); in read_from_cgroup_iter()
104 opts.link_info_len = sizeof(linfo); in test_invalid_cgroup()
122 opts.link_info_len = sizeof(linfo); in test_invalid_cgroup_spec()
Dcheck_mtu.c42 __u32 link_info_len = sizeof(link_info); in test_check_mtu_xdp_attach() local
62 err = bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in test_check_mtu_xdp_attach()
Dunpriv_bpf_disabled.c154 __u32 link_info_len = sizeof(link_info); in test_unpriv_bpf_disabled_negative() local
191 &link_info, &link_info_len), in test_unpriv_bpf_disabled_negative()
Dcgroup_hierarchical_stats.c262 opts.link_info_len = sizeof(linfo); in setup_cgroup_iter()
Dsockmap_basic.c232 opts.link_info_len = sizeof(linfo); in test_sockmap_copy()
/linux-6.1.9/tools/bpf/bpftool/
Diter.c44 iter_opts.link_info_len = sizeof(linfo); in do_pin()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.h658 __u32 link_info_len; member
660 #define bpf_iter_attach_opts__last_field link_info_len
Dlibbpf.c11352 link_create_opts.iter_info_len = OPTS_GET(opts, link_info_len, 0); in bpf_program__attach_iter()