Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_getset_retval_hooks.c6 #define BPF_RETVAL_HOOK(name, section, ctx, expected_err) \ argument
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_getset_retval.c459 int expected_err; member
465 .expected_err = EXPECTED_ERR, \
494 ASSERT_EQ(err, exposed_hooks[i].expected_err, "expected_err"); in test_exposed_hooks()
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c1513 const char *expected_err; in do_test_single()
1558 expected_err = unpriv && test->errstr_unpriv ? in do_test_single()
1635 if (expected_ret == VERBOSE_ACCEPT && !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()
1643 if (!expected_err || !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()
1645 expected_err, bpf_vlog); in do_test_single()
1517 const char *expected_err; do_test_single() local