Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 129) sorted by relevance

123456

/tools/testing/selftests/net/
Dreuseport_bpf_numa.c50 error(1, 0, "Unsupported family %d", family); in build_rcv_group()
56 error(1, errno, "failed to create receive socket"); in build_rcv_group()
61 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_group()
64 error(1, errno, "failed to bind receive socket"); in build_rcv_group()
67 error(1, errno, "failed to listen on receive port"); in build_rcv_group()
96 error(1, errno, "ebpf error. log:\n%s\n", bpf_log_buf); in attach_bpf()
100 error(1, errno, "failed to set SO_ATTACH_REUSEPORT_EBPF"); in attach_bpf()
136 error(1, 0, "Unsupported family %d", family); in send_from_node()
140 error(1, errno, "failed to pin to node"); in send_from_node()
144 error(1, errno, "failed to create send socket"); in send_from_node()
[all …]
Dreuseport_bpf_cpu.c56 error(1, 0, "Unsupported family %d", family); in build_rcv_group()
62 error(1, errno, "failed to create receive socket"); in build_rcv_group()
67 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_group()
70 error(1, errno, "failed to bind receive socket"); in build_rcv_group()
73 error(1, errno, "failed to listen on receive port"); in build_rcv_group()
91 error(1, errno, "failed to set SO_ATTACH_REUSEPORT_CBPF"); in attach_bpf()
126 error(1, 0, "Unsupported family %d", family); in send_from_cpu()
132 error(1, errno, "failed to pin to cpu"); in send_from_cpu()
136 error(1, errno, "failed to create send socket"); in send_from_cpu()
139 error(1, errno, "failed to bind send socket"); in send_from_cpu()
[all …]
Dreuseport_dualstack.c52 error(1, 0, "Unsupported family %d", family); in build_rcv_fd()
58 error(1, errno, "failed to create receive socket"); in build_rcv_fd()
63 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_fd()
66 error(1, errno, "failed to bind receive socket"); in build_rcv_fd()
69 error(1, errno, "failed to listen on receive port"); in build_rcv_fd()
88 error(1, errno, "failed to create send socket"); in send_from_v4()
91 error(1, errno, "failed to bind send socket"); in send_from_v4()
94 error(1, errno, "failed to connect send socket"); in send_from_v4()
97 error(1, errno, "failed to send message"); in send_from_v4()
110 error(1, errno, "epoll_wait failed"); in receive_once()
[all …]
Dreuseport_bpf.c68 error(1, 0, "Unsupported family %d", family); in new_any_sockaddr()
89 error(1, 0, "Unsupported family %d", family); in new_loopback_sockaddr()
124 error(1, errno, "ebpf error. log:\n%s\n", bpf_log_buf); in attach_ebpf()
128 error(1, errno, "failed to set SO_ATTACH_REUSEPORT_EBPF"); in attach_ebpf()
149 error(1, errno, "failed to set SO_ATTACH_REUSEPORT_CBPF"); in attach_cbpf()
162 error(1, errno, "failed to create recv %d", i); in build_recv_group()
167 error(1, errno, "failed to set SO_REUSEPORT on %d", i); in build_recv_group()
173 error(1, errno, "failed to bind recv socket %d", i); in build_recv_group()
179 error(1, errno, in build_recv_group()
182 error(1, errno, "failed to listen on socket"); in build_recv_group()
[all …]
Dmsg_zerocopy.c124 error(1, 0, "setaffinity %d", cpu); in do_setcpu()
135 error(1, errno, "setsockopt %d.%d: %d", level, optname, val); in do_setsockopt()
149 error(1, errno, "poll"); in do_poll()
160 error(1, errno, "accept"); in do_accept()
162 error(1, errno, "close listen sock"); in do_accept()
183 error(1, errno, "send"); in do_sendmsg()
276 error(1, 0, "ipv4 parse error: %s", str_addr); in setup_sockaddr()
284 error(1, 0, "ipv6 parse error: %s", str_addr); in setup_sockaddr()
287 error(1, 0, "illegal domain"); in setup_sockaddr()
297 error(1, errno, "socket t"); in do_setup_tx()
[all …]
Dreuseaddr_conflict.c94 error(1, errno, "Couldn't open listen socket"); in main()
98 error(1, 0, "Was allowed to create an ipv4 reuseport on a already bound non-reuseport socket"); in main()
102 error(1, errno, "Couldn't open ipv6 reuseport"); in main()
106 error(1, 0, "Was allowed to create an ipv4 reuseport on a already bound non-reuseport socket"); in main()
111error(1, 0, "Was allowed to create an ipv4 reuseport on an already bound non-reuseport socket with… in main()
/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh149 error=-12
162 error=$OPTARG
179 if ! [ "$error" -ge -4095 -a "$error" -lt 0 ]; then
236 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/cpu
242 /sbin/modprobe -q -r cpu-notifier-error-inject
243 /sbin/modprobe -q cpu-notifier-error-inject priority=$priority
251 echo $msg cpu-notifier-error-inject module is not available >&2
261 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_DOWN_PREPARE/error
269 echo $error > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_UP_PREPARE/error
277 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_UP_PREPARE/error
[all …]
/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh134 error=-12
142 error=$OPTARG
161 if ! [ "$error" -ge -4095 -a "$error" -lt 0 ]; then
227 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/memory
233 /sbin/modprobe -q -r memory-notifier-error-inject
234 /sbin/modprobe -q memory-notifier-error-inject priority=$priority
242 echo $msg memory-notifier-error-inject module is not available >&2
253 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_OFFLINE/error
263 echo $error > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_ONLINE/error
271 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_ONLINE/error
[all …]
/tools/virtio/virtio-trace/
Dtrace-agent.c37 goto error; in get_total_cpus()
40 goto error; in get_total_cpus()
45 error: in get_total_cpus()
91 goto error; in parse_size()
94 goto error; in parse_size()
102 error: in parse_size()
119 goto error; in make_path()
132 goto error; in make_path()
137 error: in make_path()
163 goto error; in agent_info_init()
[all …]
Dtrace-agent-ctl.c41 goto error; in rw_ctl_init()
46 error: in rw_ctl_init()
75 goto error; in wait_order()
84 error: in wait_order()
111 goto error; in rw_ctl_loop()
135 error: in rw_ctl_loop()
Dtrace-agent-rw.c54 goto error; in rw_thread_init()
63 goto error; in rw_thread_init()
71 goto error; in rw_thread_init()
80 goto error; in rw_thread_init()
89 error: in rw_thread_init()
134 goto error; in rw_thread_main()
157 goto error; in rw_thread_main()
175 error: in rw_thread_main()
/tools/testing/selftests/efivarfs/
Dopen-unlink.c18 int error; in set_immutable() local
26 error = errno; in set_immutable()
28 errno = error; in set_immutable()
38 error = errno; in set_immutable()
40 errno = error; in set_immutable()
49 int error; in get_immutable() local
57 error = errno; in get_immutable()
59 errno = error; in get_immutable()
/tools/hv/
Dhv_vss_daemon.c79 int error = 0, root_seen = 0, save_errno = 0; in vss_operate() local
111 error |= vss_do_freeze(ent->mnt_dir, cmd); in vss_operate()
112 if (error && operation == VSS_OP_FREEZE) in vss_operate()
119 error |= vss_do_freeze("/", cmd); in vss_operate()
120 if (error && operation == VSS_OP_FREEZE) in vss_operate()
140 return error; in vss_operate()
154 int error; in main() local
246 error = HV_S_OK; in main()
251 error = vss_operate(op); in main()
254 error ? "failed" : "succeeded"); in main()
[all …]
Dhv_fcopy_daemon.c38 int error = HV_E_FAIL; in hv_start_fcopy() local
77 error = HV_ERROR_ALREADY_EXISTS; in hv_start_fcopy()
89 error = 0; in hv_start_fcopy()
91 return error; in hv_start_fcopy()
143 int error; in main() local
223 error = hv_start_fcopy(&buffer.start); in main()
226 error = hv_copy_data(&buffer.copy); in main()
229 error = hv_copy_finished(); in main()
232 error = hv_copy_cancel(); in main()
236 error = HV_E_FAIL; in main()
[all …]
Dhv_kvp_daemon.c868 int error = 0; in kvp_get_ip_info() local
940 error = kvp_process_ip_address( in kvp_get_ip_info()
947 if (error) in kvp_get_ip_info()
985 error = kvp_process_ip_address(curp->ifa_addr, in kvp_get_ip_info()
989 if (error) in kvp_get_ip_info()
997 return error; in kvp_get_ip_info()
1092 int error = 0; in process_ip_string() local
1159 error = kvp_write_file(f, str, sub_str, addr); in process_ip_string()
1160 if (error) in process_ip_string()
1161 return error; in process_ip_string()
[all …]
/tools/testing/selftests/networking/timestamping/
Drxtimestamp.c164 error(1, errno, "Failed to sendmsg"); in do_send()
194 error(1, errno, "Failed to recvmsg"); in do_recv()
196 error(1, 0, "Only received %d bytes of payload.", r); in do_recv()
199 error(1, 0, "Message was truncated."); in do_recv()
204 error(1, 0, "Unexpected cmsg_level %d", in do_recv()
217 error(0, 0, "ts[1] should not be set."); in do_recv()
221 error(1, 0, "Unexpected cmsg_type %d", cmsg->cmsg_type); in do_recv()
229 error(0, 0, "Expected " #field " to be set."); \ in do_recv()
231 error(0, 0, \ in do_recv()
253 error(1, errno, "Failed to enable SO_REUSEADDR"); in config_so_flags()
[all …]
Dtxtimestamp.c134 error(1, 0, "unknown timestamp type: %u", in print_timestamp()
176 error(1, errno, "poll"); in __poll()
241 error(1, 0, "malloc"); in recv_errmsg()
258 error(1, errno, "recvmsg"); in recv_errmsg()
290 error(1, 0, "malloc"); in do_test()
294 error(1, errno, "socket"); in do_test()
299 error(1, 0, "setsockopt no nagle"); in do_test()
303 error(1, errno, "connect ipv4"); in do_test()
306 error(1, errno, "connect ipv6"); in do_test()
314 error(1, errno, "setsockopt pktinfo ipv6"); in do_test()
[all …]
/tools/iio/
Diio_generic_buffer.c372 goto error; in main()
387 goto error; in main()
399 goto error; in main()
416 goto error; in main()
422 goto error; in main()
431 goto error; in main()
436 goto error; in main()
442 goto error; in main()
455 goto error; in main()
460 goto error; in main()
[all …]
/tools/perf/util/
Dgenelf.c269 goto error; in jit_write_elf()
278 goto error; in jit_write_elf()
295 goto error; in jit_write_elf()
301 goto error; in jit_write_elf()
314 goto error; in jit_write_elf()
332 goto error; in jit_write_elf()
341 goto error; in jit_write_elf()
347 goto error; in jit_write_elf()
360 goto error; in jit_write_elf()
377 goto error; in jit_write_elf()
[all …]
Ddemangle-java.c104 goto error; in __demangle_java_sym()
109 goto error; in __demangle_java_sym()
115 goto error; in __demangle_java_sym()
121 goto error; in __demangle_java_sym()
132 goto error; in __demangle_java_sym()
141 error: in __demangle_java_sym()
186 goto error; in java_demangle_sym()
196 goto error; in java_demangle_sym()
199 error: in java_demangle_sym()
/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi_mismatched_ops.c53 error("futex_wait\n", errno); in blocking_child()
86 error("pthread_create\n", errno); in main()
111 error("futex_wake\n", errno); in main()
114 error("futex_wake did not wake the child\n", 0); in main()
118 error("futex_cmp_requeue_pi\n", errno); in main()
125 error("futex_cmp_requeue_pi found no waiters\n", 0); in main()
Dfutex_requeue_pi_signal_restart.c65 error("pthread_attr_setinheritsched\n", ret); in create_rt_thread()
71 error("pthread_attr_setschedpolicy\n", ret); in create_rt_thread()
78 error("pthread_attr_setschedparam\n", ret); in create_rt_thread()
84 error("pthread_create\n", ret); in create_rt_thread()
155 error("sigaction\n", errno); in main()
163 error("Creating waiting thread failed", res); in main()
197 error("FUTEX_CMP_REQUEUE_PI failed\n", errno); in main()
Dfutex_requeue_pi.c86 error("pthread_attr_setinheritsched\n", ret); in create_rt_thread()
92 error("pthread_attr_setschedpolicy\n", ret); in create_rt_thread()
99 error("pthread_attr_setschedparam\n", ret); in create_rt_thread()
105 error("pthread_create\n", ret); in create_rt_thread()
138 error("futex_wait_requeue_pi\n", errno); in waiterfn()
173 error("FUTEX_CMP_REQUEUE_PI failed\n", errno); in broadcast_wakerfn()
179 error("max broadcast iterations (%d) reached with %d/%d tasks woken or requeued\n", in broadcast_wakerfn()
234 error("FUTEX_CMP_REQUEUE_PI failed\n", errno); in signal_wakerfn()
244 error("max signaling iterations (%d) reached, giving up on pending waiters.\n", in signal_wakerfn()
275 error("third_party_blocker() futex error", 0); in third_party_blocker()
[all …]
/tools/power/acpi/tools/ec/
Dec_access.c179 int error; in read_ec_val() local
181 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val()
182 if (error != byte_offset) in read_ec_val()
185 error = read(fd, &buf, 1); in read_ec_val()
186 if (error != 1) in read_ec_val()
195 int error; in write_ec_val() local
197 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
198 if (error != byte_offset) in write_ec_val()
201 error = write(fd, &value, 1); in write_ec_val()
202 if (error != 1) in write_ec_val()
/tools/perf/jvmti/
Djvmti_agent.c69 goto error; in get_e_machine()
73 goto error; in get_e_machine()
77 goto error; in get_e_machine()
81 error: in get_e_machine()
298 goto error; in jvmti_open()
305 goto error; in jvmti_open()
320 goto error; in jvmti_open()
323 error: in jvmti_open()
463 goto error; in jvmti_write_debug_info()
471 goto error; in jvmti_write_debug_info()
[all …]

123456