Home
last modified time | relevance | path

Searched refs:log_err (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/samples/bpf/
Dtest_cgrp2_attach2.c56 log_err("Loading program"); in prog_load()
88 log_err("Attaching prog to /foo"); in test_foo_bar()
108 log_err("Attaching prog to /foo/bar"); in test_foo_bar()
116 log_err("Detaching program from /foo/bar"); in test_foo_bar()
126 log_err("Attaching prog to /foo/bar"); in test_foo_bar()
131 log_err("Detaching program from /foo"); in test_foo_bar()
141 log_err("Attaching prog to /foo/bar"); in test_foo_bar()
147 log_err("Unexpected success attaching prog to /foo/bar"); in test_foo_bar()
152 log_err("Detaching program from /foo/bar"); in test_foo_bar()
158 log_err("Unexpected success in double detach from /foo"); in test_foo_bar()
[all …]
Dtest_current_task_under_cgroup_user.c40 log_err("Adding target cgroup to map"); in main()
/Linux-v4.19/tools/testing/selftests/bpf/
Dcgroup_helpers.c52 log_err("unshare"); in setup_cgroup_environment()
57 log_err("mount fakeroot"); in setup_cgroup_environment()
62 log_err("mount cgroup2"); in setup_cgroup_environment()
70 log_err("mkdir cgroup work dir"); in setup_cgroup_environment()
81 log_err("Removing cgroup: %s", filename); in nftwfunc()
97 log_err("Opening Cgroup Procs: %s", cgroup_procs_path); in join_cgroup_from_top()
102 log_err("Joining Cgroup"); in join_cgroup_from_top()
168 log_err("mkdiring cgroup %s .. %s", path, cgroup_path); in create_and_get_cgroup()
174 log_err("Opening Cgroup"); in create_and_get_cgroup()
207 log_err("calloc"); in get_cgroup_id()
[all …]
Dtest_socket_cookie.c28 log_err("Failed to create server socket"); in start_server()
38 log_err("Failed to bind server socket"); in start_server()
43 log_err("Failed to listen on server socket"); in start_server()
64 log_err("Failed to create client socket"); in connect_to_server()
69 log_err("Failed to get server addr"); in connect_to_server()
74 log_err("Fail to connect to server"); in connect_to_server()
98 log_err("Map not found in BPF object"); in validate_map()
106 log_err("Can't get cookie key from map"); in validate_map()
112 log_err("Can't get cookie value from map"); in validate_map()
118 log_err("Can't get client local addr"); in validate_map()
[all …]
Dtest_skb_cgroup_id_user.c36 log_err("Invalid IPv6: %s", ip); in mk_dst_addr()
42 log_err("Failed to get index of iface: %s", iface); in mk_dst_addr()
61 log_err("Failed to create UDP socket"); in send_packet()
67 log_err("Failed to send datagram"); in send_packet()
90 log_err("Failed to get fd by prog id %d", prog_id); in get_map_fd_by_prog_id()
98 log_err("Failed to get info by prog fd %d", prog_fd); in get_map_fd_by_prog_id()
103 log_err("No maps found for prog fd %d", prog_fd); in get_map_fd_by_prog_id()
109 log_err("Failed to get fd by map id %d", map_ids[0]); in get_map_fd_by_prog_id()
134 log_err("Failed to lookup key %d", level); in check_ancestor_cgroup_ids()
138 log_err("%llx (actual) != %llx (expected), level: %u\n", in check_ancestor_cgroup_ids()
Dtest_sock_addr.c488 log_err("Unsupported address family"); in mk_sockaddr()
501 log_err("Invalid IPv4: %s", ip); in mk_sockaddr()
511 log_err("Invalid IPv6: %s", ip); in mk_sockaddr()
534 log_err(">>> Loading program error.\n" in load_insns()
562 log_err("Invalid IPv4: %s", SERV4_IP); in bind4_prog_load()
627 log_err("Invalid IPv6: %s", SERV6_IP); in bind6_prog_load()
700 log_err(">>> Loading program (%s) error.\n", path); in load_path()
733 log_err("Invalid IPv4: %s", SRC4_REWRITE_IP); in sendmsg4_rw_asm_prog_load()
791 log_err("Invalid IPv6: %s", SRC6_REWRITE_IP); in sendmsg6_rw_dst_asm_prog_load()
912 log_err("Failed to create server socket"); in start_server()
[all …]
Dcgroup_helpers.h8 #define log_err(MSG, ...) fprintf(stderr, "(%s:%d: errno: %s) " MSG "\n", \ macro
/Linux-v4.19/fs/cifs/
Dsmb2proto.h36 extern int map_smb2_to_linux_error(char *buf, bool log_err);
Dsmb2maperror.c2452 map_smb2_to_linux_error(char *buf, bool log_err) in map_smb2_to_linux_error() argument
2466 if (log_err && (smb2err != STATUS_MORE_PROCESSING_REQUIRED) && in map_smb2_to_linux_error()