/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_sk.c | 29 log_err("Failed to create socket"); in getsetsockopt() 38 log_err("Couldn't allocate two pages"); in getsetsockopt() 45 log_err("Failed to call setsockopt(IP_TOS)"); in getsetsockopt() 53 log_err("Failed to call getsockopt(IP_TOS)"); in getsetsockopt() 77 log_err("Failed to call setsockopt"); in getsetsockopt() 85 log_err("Failed to call getsockopt"); in getsetsockopt() 90 log_err("Unexpected optlen %d != 1", optlen); in getsetsockopt() 105 log_err("Failed to call setsockopt, ret=%d", err); in getsetsockopt() 125 log_err("Failed to call setsockopt(SO_SNDBUF)"); in getsetsockopt() 133 log_err("Failed to call getsockopt(SO_SNDBUF)"); in getsetsockopt() [all …]
|
H A D | sockopt_multi.c | 21 log_err("Failed to call setsockopt(IP_TOS)"); in run_getsockopt_test() 29 log_err("Failed to call getsockopt(IP_TOS)"); in run_getsockopt_test() 53 log_err("Failed to call getsockopt(IP_TOS)"); in run_getsockopt_test() 78 log_err("Failed to call getsockopt(IP_TOS)"); in run_getsockopt_test() 97 log_err("Failed to call setsockopt(IP_TOS)"); in run_getsockopt_test() 133 log_err("Failed to call setsockopt(IP_TOS)"); in run_getsockopt_test() 141 log_err("Failed to call getsockopt(IP_TOS)"); in run_getsockopt_test() 172 log_err("Failed to call setsockopt(IP_TOS)"); in run_setsockopt_test() 180 log_err("Failed to call getsockopt(IP_TOS)"); in run_setsockopt_test() 200 log_err("Failed to call setsockopt(IP_TOS)"); in run_setsockopt_test() [all …]
|
H A D | tcp_rtt.c | 36 log_err("Failed to lookup TCP stats"); in wait_for_ack() 46 log_err("Did not receive ACK"); in wait_for_ack() 61 log_err("%s: unexpected bpf_tcp_sock.invoked %d != %d", in verify_sk() 67 log_err("%s: unexpected bpf_tcp_sock.dsack_dups %d != %d", in verify_sk() 73 log_err("%s: unexpected bpf_tcp_sock.delivered %d != %d", in verify_sk() 79 log_err("%s: unexpected bpf_tcp_sock.delivered_ce %d != %d", in verify_sk() 85 log_err("%s: unexpected bpf_tcp_sock.icsk_retransmits %d != %d", in verify_sk() 92 log_err("%s: unexpected bpf_tcp_sock.args[0] (mrtt_us) %u == 0", msg, val.mrtt_us); in verify_sk() 97 log_err("%s: unexpected bpf_tcp_sock.args[1] (srtt) %u == 0", msg, val.srtt); in verify_sk() 122 log_err("Failed to attach BPF program"); in run_test()
|
H A D | connect_force_port.c | 15 log_err("Failed to get server addr"); in verify_ports() 25 log_err("Unexpected local port %d, expected %d", ntohs(port), in verify_ports() 31 log_err("Failed to get peer addr"); in verify_ports() 41 log_err("Unexpected peer port %d, expected %d", ntohs(port), in verify_ports() 82 log_err("Failed to attach BPF program"); in run_test() 98 log_err("Failed to attach BPF program"); in run_test() 114 log_err("Failed to attach BPF program"); in run_test()
|
H A D | sk_lookup.c | 238 log_err("failed/partial send"); in send_byte() 251 log_err("failed/partial recv"); in recv_byte() 265 log_err("failed to accept"); in tcp_recv_send() 271 log_err("failed/partial recv"); in tcp_recv_send() 278 log_err("failed/partial send"); in tcp_recv_send() 328 log_err("failed to receive"); in udp_recv_send() 357 log_err("failed to create tx socket"); in udp_recv_send() 365 log_err("failed to send echo reply"); in udp_recv_send() 441 log_err("failed to get map FD"); in update_lookup_map() 1329 log_err("unshare(CLONE_NEWNET)"); in switch_netns() [all …]
|
H A D | lwt_helpers.h | 13 #define log_err(MSG, ...) \ macro 120 log_err("select failed"); in wait_for_packet() 127 log_err("read(dev): %ld", ret); in wait_for_packet()
|
H A D | module_fentry_shadow.c | 22 log_err("failed to iterate BTF objects"); in get_bpf_testmod_btf_fd() 31 log_err("failed to get FD for BTF object #%d", id); in get_bpf_testmod_btf_fd() 43 log_err("failed to get info for BTF object #%d", id); in get_bpf_testmod_btf_fd()
|
H A D | sockopt_inherit.c | 21 log_err("%s: failed to call getsockopt", msg); in verify_sockopt() 28 log_err("%s: unexpected getsockopt value %d != %d", msg, in verify_sockopt() 83 log_err("Failed to call setsockopt(%d)", i); in custom_cb()
|
H A D | cgroup_v1v2.c | 35 log_err("Unexpected success to connect to server"); in run_test() 39 log_err("Unexpected errno from connect to server"); in run_test()
|
H A D | sockopt.c | 1087 log_err("Failed to load BPF program"); in run_test() 1101 log_err("Failed to attach BPF program"); in run_test() 1108 log_err("Failed to create AF_INET socket"); in run_test() 1130 log_err("Failed to call setsockopt"); in run_test() 1160 log_err("Failed to call getsockopt"); in run_test() 1167 log_err("getsockopt returned unexpected optlen"); in run_test() 1174 log_err("getsockopt returned unexpected optval"); in run_test()
|
H A D | lwt_redirect.c | 175 log_err("%s egress test fails", test_name); in send_and_capture_test_packets() 184 log_err("%s ingress test fails", test_name); in send_and_capture_test_packets()
|
H A D | tc_redirect.c | 66 #define log_err(MSG, ...) \ macro 81 log_err("writing to %s failed", path); in write_file() 1131 log_err("select failed"); in tun_relay_loop() 1139 log_err("read failed"); in tun_relay_loop() 1145 log_err("write failed"); in tun_relay_loop()
|
H A D | lwt_reroute.c | 212 log_err("%s xmit", __func__); in test_lwt_reroute_normal_xmit()
|
/linux/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 206 log_err("mkdir mount"); in setup_cgroup_environment() 211 log_err("unshare"); in setup_cgroup_environment() 216 log_err("mount fakeroot"); in setup_cgroup_environment() 221 log_err("mount cgroup2"); in setup_cgroup_environment() 266 log_err("Joining Cgroup"); in join_cgroup_from_top() 353 log_err("umount cgroup2"); in cleanup_cgroup_environment() 417 log_err("Opening Cgroup"); in create_and_get_cgroup() 447 log_err("calloc"); in get_cgroup_id_from_path() 452 log_err("name_to_handle_at"); in get_cgroup_id_from_path() 459 log_err("realloc"); in get_cgroup_id_from_path() [all …]
|
H A D | test_tcp_check_syncookie_user.c | 44 log_err("No maps found for prog fd %d", prog_fd); in get_map_fd_by_prog_id() 71 log_err("Can't clear results"); in run_test() 76 log_err("Can't clear results"); in run_test() 81 log_err("Can't clear results"); in run_test() 91 log_err("Can't accept connection"); in run_test() 96 log_err("Can't lookup result"); in run_test() 101 log_err("Didn't match syncookie: %u", value); in run_test() 106 log_err("Can't lookup result"); in run_test() 118 log_err("Can't lookup result"); in run_test() 128 log_err("Unexpected MSS retrieved"); in run_test() [all …]
|
H A D | network_helpers.c | 44 #define log_err(MSG, ...) ({ \ macro 82 log_err("Failed to set SO_RCVTIMEO"); in settimeo() 88 log_err("Failed to set SO_SNDTIMEO"); in settimeo() 121 log_err("Failed to bind socket"); in start_server_addr() 337 log_err("getsockopt(SOL_TYPE)"); in connect_to_fd_opts() 456 log_err("Failed to malloc cmd"); in remove_netns() 472 log_err("Failed to malloc cmd"); in make_netns() 508 log_err("Failed to malloc token"); in open_netns() 528 log_err("Failed to setns(nsfd)"); in open_netns() 1063 log_err("Failed to malloc ctx"); in traffic_monitor_start() [all …]
|
H A D | test_sysctl.c | 1419 log_err("Value is too big (%zd) to use in fixup", buf_len); in fixup_sysctl_value() 1423 log_err("Can fixup only BPF_LD_IMM64 insns"); in fixup_sysctl_value() 1450 log_err("open(%s) failed", sysctl_path); in load_sysctl_prog_insns() 1455 log_err("read(%s) failed", sysctl_path); in load_sysctl_prog_insns() 1469 log_err(">>> Loading program error.\n" in load_sysctl_prog_insns() 1483 log_err(">>> Loading program (%s) error.\n", in load_sysctl_prog_file() 1509 log_err("lseek(%d) failed", test->seek); in access_sysctl() 1520 log_err("Read value %s != %s", buf, test->oldval); in access_sysctl() 1525 log_err("New value for sysctl is not set"); in access_sysctl() 1531 log_err("Unexpected sysctl access: neither read nor write"); in access_sysctl() [all …]
|
H A D | cgroup_helpers.h | 9 #define log_err(MSG, ...) fprintf(stderr, "(%s:%d: errno: %s) " MSG "\n", \ macro
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tunnel_kern.c | 72 log_err(ret); in gre_set_tunnel() 93 log_err(ret); in gre_set_tunnel_no_key() 108 log_err(ret); in gre_get_tunnel() 133 log_err(ret); in ip6gretap_set_tunnel() 149 log_err(ret); in ip6gretap_get_tunnel() 175 log_err(ret); in erspan_set_tunnel() 195 log_err(ret); in erspan_set_tunnel() 211 log_err(ret); in erspan_get_tunnel() 722 log_err(1); in ipip_set_tunnel() 767 log_err(1); in ipip_gue_set_tunnel() [all …]
|
/linux/tools/testing/selftests/net/af_unix/ |
H A D | scm_pidfd.c | 152 log_err("recvmsg"); in cmsg_check() 157 log_err("recvmsg: truncated"); in cmsg_check() 186 log_err("recvmsg: data corruption"); in cmsg_check() 306 log_err("socket"); in client() 314 log_err("bind"); in client() 321 log_err("connect"); in client() 327 log_err("Failed to set SO_PASSCRED"); in client() 332 log_err("Failed to set SO_PASSPIDFD"); in client() 339 log_err("cmsg_check failed"); in client() 349 log_err("Failed to get SO_PEERCRED"); in client() [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | buildid.sh | 136 log_err=$(mktemp /tmp/perf.log.err.XXX) 140 ${perf} record --buildid-all -o ${data} "$@" 1>${log_out} 2>${log_err} 143 echo "see log: ${log_err}" 150 rm -f ${log_out} ${log_err}
|
/linux/samples/bpf/ |
H A D | test_current_task_under_cgroup_user.c | 66 log_err("Adding target cgroup to map"); in main()
|
/linux/fs/smb/client/ |
H A D | smb2proto.h | 23 extern int map_smb2_to_linux_error(char *buf, bool log_err);
|
H A D | smb2maperror.c | 2440 map_smb2_to_linux_error(char *buf, bool log_err) in map_smb2_to_linux_error() argument 2456 if (log_err && (smb2err != STATUS_MORE_PROCESSING_REQUIRED) && in map_smb2_to_linux_error()
|