Home
last modified time | relevance | path

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

/linux-6.15/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()
315 PRINT_FAIL("No BTF info for type %s\n", type_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()
571 PRINT_FAIL("No match for group offset %.*s (%d)\n", in match_pattern()
593 PRINT_FAIL("No match for field offset %.*s (%d)\n", in match_pattern()
678 PRINT_FAIL("Can't load back BPF program\n"); in match_program()
[all …]
H A Dverifier.c126 PRINT_FAIL("failed to drop CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in run_tests_aux()
136 PRINT_FAIL("failed to restore CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in run_tests_aux()
251 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map()
257 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 Dtest_veristat.c31 PRINT_FAIL("Can't find veristat binary"); in init_fixture()
H A Dspin_lock.c68 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 Dsockmap_ktls.c96 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
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 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 Dbtf_skc_cls_ingress.c135 PRINT_FAIL("Unknown IP mode %d", ip_mode); in run_test()
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()
H A Dfd_array.c339 PRINT_FAIL("btf should have been freed"); in check_fd_array_cnt__referenced_btfs()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_loader.c193 PRINT_FAIL("Regexp too long: '%s'\n", original_pattern); in compile_regex()
281 PRINT_FAIL("failed to parse %s from '%s'\n", name, str); in parse_int()
295 PRINT_FAIL("Memory allocation failed\n"); in parse_caps()
308 PRINT_FAIL("failed to parse caps %s\n", name); in parse_caps()
485 PRINT_FAIL("__jited used before __arch_*"); in parse_test_spec()
497 PRINT_FAIL("__unpriv_jited used before __arch_*"); in parse_test_spec()
575 PRINT_FAIL("bad arch spec: '%s'", val); in parse_test_spec()
598 PRINT_FAIL("bad load spec: '%s'", val); in parse_test_spec()
754 PRINT_FAIL("expect_msg\n"); in validate_msgs()
1084 PRINT_FAIL("too many struct_ops maps"); in run_subtest()
[all …]
H A Djit_disasm_helpers.c72 PRINT_FAIL("Can't disasm instruction at offset %d:", pc); in disasm_insn()
H A Dtest_progs.h190 #define PRINT_FAIL(format...) \ macro
H A Dtest_progs.c916 PRINT_FAIL("%s: libbpf_capture_stream != NULL\n", __func__); in start_libbpf_log_capture()
923 PRINT_FAIL("%s: open_memstream failed errno=%d\n", __func__, errno); in start_libbpf_log_capture()