Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c260 PRINT_FAIL("Can't find btf_type for id %d\n", btf_id); in find_field_offset_aux()
265 PRINT_FAIL("BTF id %d is not struct or union\n", btf_id); in find_field_offset_aux()
302 PRINT_FAIL("Malformed pattern: type ident is too long: %d\n", type_sz); in find_field_offset()
307 PRINT_FAIL("Malformed pattern: field ident is too long: %d\n", field_sz); in find_field_offset()
315 PRINT_FAIL("No BTF info for type %s\n", type_str); in find_field_offset()
321 PRINT_FAIL("No BTF info for field %s::%s\n", type_str, field_str); in find_field_offset()
335 PRINT_FAIL("Can't alloc regex\n"); in compile_regex()
344 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in compile_regex()
541 PRINT_FAIL("Unexpected end of pattern\n"); in match_pattern()
557 PRINT_FAIL("Field reference expected\n"); in match_pattern()
[all …]
H A Dverifier.c120 PRINT_FAIL("failed to drop CAP_SYS_ADMIN: %i, %s\n", err, strerror(err)); in run_tests_aux()
130 PRINT_FAIL("failed to restore CAP_SYS_ADMIN: %i, %s\n", err, strerror(err)); in run_tests_aux()
256 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map()
262 PRINT_FAIL("Error while updating map '%s': %d\n", map_name, err); in init_test_val_map()
H A Dcore_reloc_raw.c83 PRINT_FAIL("bpf_btf_load() failed, errno=%d\n", saved_errno); in test_bad_local_id()
111 PRINT_FAIL("sys_bpf_prog_load() expected to fail\n"); in test_bad_local_id()
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.c65 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in match_regex()
H A Dfib_lookup.c275 PRINT_FAIL("invalid address family: %d", family); in assert_ip_address()
281 PRINT_FAIL("expected %s actual %s ", expected_str, str); in assert_ip_address()
H A Dcls_redirect.c392 PRINT_FAIL("expected TC_ACT_REDIRECT, got %d\n", in test_cls_redirect_common()
407 PRINT_FAIL("unknown result %d\n", test->result); in test_cls_redirect_common()
H A Dsockmap_ktls.c97 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
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()
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c184 PRINT_FAIL("Regexp too long: '%s'\n", original_pattern); in compile_regex()
188 PRINT_FAIL("Regexp has open '{{' but no closing '}}': '%s'\n", original_pattern); in compile_regex()
194 PRINT_FAIL("Regexp compilation error in '%s': '%s'\n", buf, err_buf); in compile_regex()
272 PRINT_FAIL("failed to parse %s from '%s'\n", name, str); in parse_int()
444 PRINT_FAIL("__jited used before __arch_*"); in parse_test_spec()
456 PRINT_FAIL("__unpriv_jited used before __arch_*"); in parse_test_spec()
534 PRINT_FAIL("bad arch spec: '%s'", val); in parse_test_spec()
558 PRINT_FAIL("failed to allocate memory for priv.name\n"); in parse_test_spec()
571 PRINT_FAIL("failed to allocate memory for unpriv.name\n"); in parse_test_spec()
695 PRINT_FAIL("expect_msg\n"); in validate_msgs()
[all …]
H A Djit_disasm_helpers.c72 PRINT_FAIL("Can't disasm instruction at offset %d:", pc); in disasm_insn()
H A Dtest_progs.h183 #define PRINT_FAIL(format...) \ macro
H A Dtest_progs.c829 PRINT_FAIL("%s: libbpf_capture_stream != NULL\n", __func__); in start_libbpf_log_capture()
836 PRINT_FAIL("%s: open_memstream failed errno=%d\n", __func__, errno); in start_libbpf_log_capture()