Searched refs:assert_mprog_count (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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 …]
|
H A D | tc_links.c | 35 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 36 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 49 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 50 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 85 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 86 assert_mprog_count(BPF_TCX_EGRESS, 1); in serial_test_tc_links_basic() 111 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 112 assert_mprog_count(BPF_TCX_EGRESS, 0); in serial_test_tc_links_basic() 152 assert_mprog_count(target, 0); in test_tc_links_before_target() 162 assert_mprog_count(target, 1); in test_tc_links_before_target() [all …]
|
H A D | tc_helpers.h | 63 static inline void assert_mprog_count(int target, int expected) in assert_mprog_count() function
|