Searched refs:link_info_len (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | bpf_counter.h | 98 __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/ |
D | xdp_link.c | 18 __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()
|
D | bpf_iter.c | 91 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 …]
|
D | cgroup_iter.c | 65 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()
|
D | check_mtu.c | 42 __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()
|
D | unpriv_bpf_disabled.c | 154 __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()
|
D | cgroup_hierarchical_stats.c | 262 opts.link_info_len = sizeof(linfo); in setup_cgroup_iter()
|
D | sockmap_basic.c | 232 opts.link_info_len = sizeof(linfo); in test_sockmap_copy()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | iter.c | 44 iter_opts.link_info_len = sizeof(linfo); in do_pin()
|
/linux-6.1.9/tools/lib/bpf/ |
D | libbpf.h | 658 __u32 link_info_len; member 660 #define bpf_iter_attach_opts__last_field link_info_len
|
D | libbpf.c | 11352 link_create_opts.iter_info_len = OPTS_GET(opts, link_info_len, 0); in bpf_program__attach_iter()
|