Home
last modified time | relevance | path

Searched refs:PRINT_FAIL (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c257 PRINT_FAIL("Can't find btf_type for id %d\n", btf_id); in find_field_offset_aux()
262 PRINT_FAIL("BTF id %d is not struct or union\n", btf_id); in find_field_offset_aux()
312 PRINT_FAIL("No BTF info for type %s\n", type_str); in find_field_offset()
332 PRINT_FAIL("Can't alloc regex\n"); in compile_regex()
341 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in compile_regex()
538 PRINT_FAIL("Unexpected end of pattern\n"); in match_pattern()
554 PRINT_FAIL("Field reference expected\n"); in match_pattern()
568 PRINT_FAIL("No match for group offset %.*s (%d)\n", in match_pattern()
590 PRINT_FAIL("No match for field offset %.*s (%d)\n", in match_pattern()
775 PRINT_FAIL("Can't load back BPF program\n"); in match_program()
[all …]
H A Dverifier.c100 PRINT_FAIL("failed to drop CAP_SYS_ADMIN: %i, %s\n", err, strerror(err)); in run_tests_aux()
110 PRINT_FAIL("failed to restore CAP_SYS_ADMIN: %i, %s\n", err, strerror(err)); in run_tests_aux()
199 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map()
205 PRINT_FAIL("Error while updating map '%s': %d\n", map_name, err); in init_test_val_map()
H A Dresolve_btfids.c74 PRINT_FAIL("Failed to get type for ID %d\n", type_id); in BTF_ID()
87 PRINT_FAIL("Failed to get name for BTF ID %d\n", type_id); in BTF_ID()
H A Dspin_lock.c63 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in match_regex()
H A Dsockmap_ktls.c97 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
H A Dcls_redirect.c424 PRINT_FAIL("expected TC_ACT_REDIRECT, got %d\n", in test_cls_redirect_common()
439 PRINT_FAIL("unknown result %d\n", test->result); in test_cls_redirect_common()
H A Dxdp_bonding.c304 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
319 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
H A Duser_ringbuf.c484 PRINT_FAIL("Invalid operand %d\n", op); in send_test_message()
571 PRINT_FAIL("Unexpected op %d\n", op); in test_user_ringbuf_msg_protocol()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c127 PRINT_FAIL("failed to parse %s from '%s'\n", name, str); in parse_int()
286 PRINT_FAIL("failed to allocate memory for priv.name\n"); in parse_test_spec()
299 PRINT_FAIL("failed to allocate memory for unpriv.name\n"); in parse_test_spec()
323 PRINT_FAIL("failed to allocate memory for unpriv.expect_msgs\n"); in parse_test_spec()
421 PRINT_FAIL("failed to drop capabilities: %i, %s\n", err, strerror(err)); in drop_capabilities()
438 PRINT_FAIL("failed to restore capabilities: %i, %s\n", err, strerror(err)); in restore_capabilities()
500 PRINT_FAIL("FAIL: Unexpected bpf_prog_test_run error: %d (%s) ", in do_prog_test_run()
623 PRINT_FAIL("pre_execution_cb failed: %d\n", err); in run_subtest()
630 PRINT_FAIL("Unexpected retval: %d != %d\n", retval, subspec->retval); in run_subtest()
675 PRINT_FAIL("Can't parse test spec for program '%s'\n", in process_subtest()
H A Dtest_progs.h179 #define PRINT_FAIL(format...) \ macro