Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
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 …]
A Dverifier.c128 PRINT_FAIL("failed to drop CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in run_tests_aux()
138 PRINT_FAIL("failed to restore CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in run_tests_aux()
255 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map()
261 PRINT_FAIL("Error while updating map '%s': %d\n", map_name, err); in init_test_val_map()
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()
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()
A Dbtf_sysfs.c61 PRINT_FAIL("tail of BTF is not zero at page offset %d\n", i); in test_btf_mmap_sysfs()
A Dspin_lock.c68 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in match_regex()
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()
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()
A Dtest_veristat.c31 PRINT_FAIL("Can't find veristat binary"); in init_fixture()
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()
A Dbtf_skc_cls_ingress.c135 PRINT_FAIL("Unknown IP mode %d", ip_mode); in run_test()
A Duser_ringbuf.c485 PRINT_FAIL("Invalid operand %d\n", op); in send_test_message()
572 PRINT_FAIL("Unexpected op %d\n", op); in test_user_ringbuf_msg_protocol()
A Dfd_array.c339 PRINT_FAIL("btf should have been freed"); in check_fd_array_cnt__referenced_btfs()
A Dsockmap_ktls.c82 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
/tools/testing/selftests/bpf/
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()
479 PRINT_FAIL("__jited used before __arch_*"); in parse_test_spec()
491 PRINT_FAIL("__unpriv_jited used before __arch_*"); in parse_test_spec()
569 PRINT_FAIL("bad arch spec: '%s'", val); in parse_test_spec()
592 PRINT_FAIL("bad load spec: '%s'", val); in parse_test_spec()
748 PRINT_FAIL("expect_msg\n"); in validate_msgs()
1080 PRINT_FAIL("too many struct_ops maps"); in run_subtest()
[all …]
A Djit_disasm_helpers.c72 PRINT_FAIL("Can't disasm instruction at offset %d:", pc); in disasm_insn()
A Dtest_progs.h190 #define PRINT_FAIL(format...) \ macro
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()

Completed in 36 milliseconds