Home
last modified time | relevance | path

Searched refs:id_from_prog_fd (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c30 id1 = id_from_prog_fd(fd1); in serial_test_tc_opts_basic()
31 id2 = id_from_prog_fd(fd2); in serial_test_tc_opts_basic()
130 id1 = id_from_prog_fd(fd1); in test_tc_opts_before_target()
131 id2 = id_from_prog_fd(fd2); in test_tc_opts_before_target()
132 id3 = id_from_prog_fd(fd3); in test_tc_opts_before_target()
133 id4 = id_from_prog_fd(fd4); in test_tc_opts_before_target()
282 id1 = id_from_prog_fd(fd1); in test_tc_opts_after_target()
283 id2 = id_from_prog_fd(fd2); in test_tc_opts_after_target()
284 id3 = id_from_prog_fd(fd3); in test_tc_opts_after_target()
285 id4 = id_from_prog_fd(fd4); in test_tc_opts_after_target()
[all …]
H A Dtc_links.c30 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in serial_test_tc_links_basic()
31 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in serial_test_tc_links_basic()
143 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in test_tc_links_before_target()
144 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in test_tc_links_before_target()
145 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_before_target()
146 pid4 = id_from_prog_fd(bpf_program__fd(skel->progs.tc4)); in test_tc_links_before_target()
297 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in test_tc_links_after_target()
298 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in test_tc_links_after_target()
299 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_after_target()
300 pid4 = id_from_prog_fd(bpf_program__fd(skel->progs.tc4)); in test_tc_links_after_target()
[all …]
H A Dtc_helpers.h7 static inline __u32 id_from_prog_fd(int fd) in id_from_prog_fd() function