Searched refs:prog_info_len (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | metadata.c | 20 __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()
|
D | recursion.c | 9 __u32 prog_info_len = sizeof(prog_info); in test_recursion() local 35 &prog_info, &prog_info_len); in test_recursion()
|
D | tc_helpers.h | 14 __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()
|
D | xdp_link.c | 19 __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()
|
D | unpriv_bpf_disabled.c | 235 __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/ |
D | prog.c | 222 __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()
|