Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dmetadata.c20 __u32 prog_info_len; in prog_holds_map() local
32 prog_info_len = sizeof(prog_info); in prog_holds_map()
33 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map()
45 prog_info_len = sizeof(prog_info); in prog_holds_map()
47 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map()
Drecursion.c9 __u32 prog_info_len = sizeof(prog_info); in test_recursion() local
35 &prog_info, &prog_info_len); in test_recursion()
Dtc_helpers.h14 __u32 prog_info_len = sizeof(prog_info); in id_from_prog_fd() local
17 err = bpf_obj_get_info_by_fd(fd, &prog_info, &prog_info_len); in id_from_prog_fd()
Dxdp_link.c19 __u32 prog_info_len = sizeof(prog_info); in serial_test_xdp_link() local
32 err = bpf_prog_get_info_by_fd(prog_fd1, &prog_info, &prog_info_len); in serial_test_xdp_link()
38 err = bpf_prog_get_info_by_fd(prog_fd2, &prog_info, &prog_info_len); in serial_test_xdp_link()
Dunpriv_bpf_disabled.c235 __u32 prog_info_len = sizeof(prog_info); in test_unpriv_bpf_disabled() local
277 ASSERT_OK(bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len), in test_unpriv_bpf_disabled()
/linux-6.12.1/tools/bpf/bpftool/
Dprog.c222 __u32 prog_info_len; in find_metadata() local
233 prog_info_len = sizeof(prog_info); in find_metadata()
234 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata()
249 prog_info_len = sizeof(prog_info); in find_metadata()
251 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata()