| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | ctx_rewrite.c | 260 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() 317 PRINT_FAIL("No BTF info for type %s\n", type_str); in find_field_offset() 323 PRINT_FAIL("No BTF info for field %s::%s\n", type_str, field_str); in find_field_offset() 337 PRINT_FAIL("Can't alloc regex\n"); in compile_regex() 346 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in compile_regex() 543 PRINT_FAIL("Unexpected end of pattern\n"); in match_pattern() 559 PRINT_FAIL("Field reference expected\n"); in match_pattern() [all …]
|
| H A D | verifier.c | 137 PRINT_FAIL("failed to drop CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in run_tests_aux() 147 PRINT_FAIL("failed to restore CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in test_verifier_and() 272 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map() 278 PRINT_FAIL("Error while updating map '%s': %d\n", map_name, err); in init_array_access_maps()
|
| H A D | core_reloc_raw.c | 83 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 D | resolve_btfids.c | 74 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 D | btf_sysfs.c | 61 PRINT_FAIL("tail of BTF is not zero at page offset %d\n", i); in test_btf_mmap_sysfs()
|
| H A D | spin_lock.c | 68 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in match_regex()
|
| H A D | fib_lookup.c | 275 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 D | cls_redirect.c | 356 PRINT_FAIL("expected TC_ACT_REDIRECT, got %d\n", in test_cls_redirect_common() 371 PRINT_FAIL("unknown result %d\n", test->result); in test_cls_redirect_common()
|
| H A D | test_veristat.c | 31 PRINT_FAIL("Can't find veristat binary"); in init_fixture()
|
| H A D | xdp_bonding.c | 304 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 D | user_ringbuf.c | 485 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()
|
| H A D | btf_skc_cls_ingress.c | 135 PRINT_FAIL("Unknown IP mode %d", ip_mode); in run_test()
|
| H A D | sk_bypass_prot_mem.c | 180 PRINT_FAIL("bytes: %d, errno: %s\n", bytes, strerror(errno)); in check_bypass()
|
| H A D | fd_array.c | 339 PRINT_FAIL("btf should have been freed"); in check_fd_array_cnt__referenced_btfs()
|
| H A D | sockmap_ktls.c | 82 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_loader.c | 194 PRINT_FAIL("Regexp too long: '%s'\n", original_pattern); in compile_regex() 198 PRINT_FAIL("Regexp has open '{{' but no closing '}}': '%s'\n", original_pattern); in compile_regex() 204 PRINT_FAIL("Regexp compilation error in '%s': '%s'\n", buf, err_buf); in compile_regex() 284 PRINT_FAIL("failed to parse %s from '%s'\n", name, str); in parse_int() 298 PRINT_FAIL("Memory allocation failed\n"); in parse_caps() 306 PRINT_FAIL("define %s constant in bpf_misc.h, failed to parse caps\n", token); in parse_caps() 311 PRINT_FAIL("failed to parse caps %s\n", name); in parse_caps() 499 PRINT_FAIL("__jited used before __arch_*"); in parse_test_spec() 511 PRINT_FAIL("__unpriv_jited used before __arch_*"); in parse_test_spec() 591 PRINT_FAIL("bad arch spec: '%s'\n", val); in parse_test_spec() [all …]
|
| H A D | jit_disasm_helpers.c | 72 PRINT_FAIL("Can't disasm instruction at offset %d:", pc); in disasm_insn()
|
| H A D | test_progs.h | 191 #define PRINT_FAIL(format...) \ macro
|
| H A D | test_progs.c | 918 PRINT_FAIL("%s: libbpf_capture_stream != NULL\n", __func__); in start_libbpf_log_capture() 925 PRINT_FAIL("%s: open_memstream failed errno=%d\n", __func__, errno); in start_libbpf_log_capture()
|