Lines Matching refs:ASSERT_OK
33 if (!ASSERT_OK(ret, "bpf_obj_get_info_by_fd")) in test_tc_bpf_basic()
37 if (!ASSERT_OK(ret, "bpf_tc_attach")) in test_tc_bpf_basic()
48 if (!ASSERT_OK(ret, "bpf_tc_attach replace mode")) in test_tc_bpf_basic()
53 if (!ASSERT_OK(ret, "bpf_tc_query")) in test_tc_bpf_basic()
64 ASSERT_OK(ret, "bpf_tc_detach"); in test_tc_bpf_basic()
305 if (!ASSERT_OK(ret, "bpf_tc_attach valid handle unset")) in test_tc_bpf_api()
308 ASSERT_OK(bpf_tc_detach(hook, &opts_pf), "bpf_tc_detach"); in test_tc_bpf_api()
311 if (!ASSERT_OK(ret, "bpf_tc_attach valid priority unset")) in test_tc_bpf_api()
314 ASSERT_OK(bpf_tc_detach(hook, &opts_hf), "bpf_tc_detach"); in test_tc_bpf_api()
321 if (!ASSERT_OK(ret, "bpf_tc_attach valid both handle and priority unset")) in test_tc_bpf_api()
324 ASSERT_OK(bpf_tc_detach(hook, &opts_f), "bpf_tc_detach"); in test_tc_bpf_api()
349 if (!ASSERT_OK(ret, "bpf_tc_hook_create(BPF_TC_INGRESS)")) in test_tc_bpf()
359 if (!ASSERT_OK(ret, "test_tc_internal ingress")) in test_tc_bpf()
371 if (!ASSERT_OK(ret, "test_tc_internal ingress")) in test_tc_bpf()
378 if (!ASSERT_OK(ret, "test_tc_internal egress")) in test_tc_bpf()
384 if (!ASSERT_OK(ret, "test_tc_bpf_api")) in test_tc_bpf()