Searched refs:assert_mprog_count (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 35 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_opts_basic() 36 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() 45 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic() 46 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() 72 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic() 73 assert_mprog_count(BPF_TCX_EGRESS, 1); in serial_test_tc_opts_basic() 97 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic() 98 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() 104 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_opts_basic() 105 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_opts_basic() [all …]
|
D | tc_links.c | 33 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 34 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 47 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 48 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 83 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 84 assert_mprog_count(BPF_TCX_EGRESS, 1); in serial_test_tc_links_basic() 109 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 110 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 150 assert_mprog_count(target, 0); in test_tc_links_before_target() 160 assert_mprog_count(target, 1); in test_tc_links_before_target() [all …]
|
D | tc_helpers.h | 59 static inline void assert_mprog_count(int target, int expected) in assert_mprog_count() function
|