Home
last modified time | relevance | path

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

/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_obj_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_obj_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()
Dxdp_link.c18 __u32 prog_info_len = sizeof(prog_info); in test_xdp_link() local
31 err = bpf_obj_get_info_by_fd(prog_fd1, &prog_info, &prog_info_len); in test_xdp_link()
37 err = bpf_obj_get_info_by_fd(prog_fd2, &prog_info, &prog_info_len); in test_xdp_link()
/tools/bpf/bpftool/
Dprog.c164 __u32 prog_info_len; in find_metadata() local
175 prog_info_len = sizeof(prog_info); in find_metadata()
176 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata()
191 prog_info_len = sizeof(prog_info); in find_metadata()
193 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata()