Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c259 PRINT_FAIL("Can't find btf_type for id %d\n", btf_id); in find_field_offset_aux()
264 PRINT_FAIL("BTF id %d is not struct or union\n", btf_id); in find_field_offset_aux()
301 PRINT_FAIL("Malformed pattern: type ident is too long: %d\n", type_sz); in find_field_offset()
306 PRINT_FAIL("Malformed pattern: field ident is too long: %d\n", field_sz); in find_field_offset()
316 PRINT_FAIL("No BTF info for type %s\n", type_str); in find_field_offset()
322 PRINT_FAIL("No BTF info for field %s::%s\n", type_str, field_str); in find_field_offset()
336 PRINT_FAIL("Can't alloc regex\n"); in compile_regex()
345 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in compile_regex()
542 PRINT_FAIL("Unexpected end of pattern\n"); in match_pattern()
558 PRINT_FAIL("Fiel in match_pattern()
[all...]
H A Dverifier.c154 PRINT_FAIL("failed to drop CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in run_tests_aux()
164 PRINT_FAIL("failed to restore CAP_SYS_ADMIN: %i, %s\n", err, strerror(-err)); in run_tests_aux()
308 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map()
314 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 Dspin_lock.c69 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in match_regex()
H A Dcls_redirect.c356 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 Dtest_veristat.c31 PRINT_FAIL("Can't find veristat binary"); in init_fixture()
H 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()
H A Dxdp_bonding.c309 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
324 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
H A Dfd_array.c339 PRINT_FAIL("btf should have been freed"); in check_fd_array_cnt__referenced_btfs()
H A Dsockmap_ktls.c81 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
143 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_offload()
H A Dfib_lookup.c665 PRINT_FAIL("invalid address family: %d", family); in assert_ip_address()
671 PRINT_FAIL("expected %s actual %s ", expected_str, str); in assert_ip_address()
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c177 PRINT_FAIL("Regexp too long: '%s'\n", original_pattern); in compile_regex()
181 PRINT_FAIL("Regexp has open '{{' but no closing '}}': '%s'\n", original_pattern); in compile_regex()
187 PRINT_FAIL("Regexp compilation error in '%s': '%s'\n", buf, err_buf); in compile_regex()
267 PRINT_FAIL("failed to parse %s from '%s'\n", name, str); in parse_int()
281 PRINT_FAIL("Memory allocation failed\n"); in parse_caps()
289 PRINT_FAIL("define %s constant in bpf_misc.h, failed to parse caps\n", token); in parse_caps()
294 PRINT_FAIL("failed to parse caps %s\n", name); in parse_caps()
501 PRINT_FAIL("__jited used before __arch_*"); in parse_test_spec()
513 PRINT_FAIL("__unpriv_jited used before __arch_*"); in parse_test_spec()
589 PRINT_FAIL("bad arch spec: '%s'\n", val); in parse_test_spec()
[all …]
H A Djit_disasm_helpers.c72 PRINT_FAIL("Can't disasm instruction at offset %d:", pc); in disasm_insn()
H A Dtest_progs.h194 #define PRINT_FAIL(format...) \ macro
H A Dtest_progs.c960 PRINT_FAIL("%s: libbpf_capture_stream != NULL\n", __func__); in start_libbpf_log_capture()
967 PRINT_FAIL("%s: open_memstream failed errno=%d\n", __func__, errno); in start_libbpf_log_capture()