Home
last modified time | relevance | path

Searched refs:perror (Results 1 – 25 of 253) sorted by relevance

1234567891011

/tools/testing/selftests/landlock/
A Dsandbox-and-launch.c42 perror("Failed to create ruleset"); in main()
47 perror("Failed to call prctl()"); in main()
52 perror("Failed to restrict self"); in main()
57 perror("Failed to close ruleset"); in main()
64 perror("Failed to write to the second argument"); in main()
70 perror("Failed to write to the third argument"); in main()
80 perror("Failed to execute the provided binary"); in main()
A Dwait-pipe-sandbox.c28 perror("Failed to write to first argument"); in sync_with()
34 perror("Failed to write to the second argument"); in sync_with()
79 perror("Failed to create the layer2 ruleset"); in main()
84 perror("Failed to restrict self"); in main()
108 perror("Failed to create the layer3 ruleset"); in main()
113 perror("Failed to restrict self"); in main()
/tools/testing/selftests/mm/
A Dhugetlb-madvise.c99 perror("mmap"); in main()
105 perror("munmap"); in main()
141 perror("mmap"); in main()
161 perror("madvise"); in main()
179 perror("mmap"); in main()
186 perror("madvise"); in main()
208 perror("mmap"); in main()
218 perror("madvise"); in main()
267 perror("mmap"); in main()
307 perror("mmap"); in main()
[all …]
/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector_reattach.c30 perror("bpf_prog_query"); in query_attached_prog_id()
52 perror("bpf_test_load_program"); in load_prog()
118 perror("bpf_prog_detach"); in test_prog_attach_prog_attach()
170 perror("bpf_prog_detach"); in test_prog_attach_link_create()
233 perror("bpf_prog_detach"); in test_prog_attach_detach_query()
276 perror("bpf_link_update"); in test_link_update_no_old_prog()
301 perror("bpf_link_update"); in test_link_update_replace_old_prog()
326 perror("bpf_link_update"); in test_link_update_same_prog()
468 perror("bpf_link_update"); in test_link_update_netns_gone()
489 perror("stat(netns)"); in test_link_get_info()
[all …]
/tools/testing/selftests/powerpc/ptrace/
A Dptrace.h75 perror("waitpid() failed"); in start_trace()
152 perror("malloc() failed"); in show_tar_registers()
198 perror("malloc() failed"); in write_tar_registers()
241 perror("malloc() failed"); in show_tm_checkpointed_state()
289 perror("malloc() failed"); in write_ckpt_tar_registers()
426 perror("malloc() failed"); in show_gpr()
460 perror("malloc() failed"); in peek_fprs()
515 perror("malloc() failed"); in write_gpr()
544 perror("malloc() failed"); in show_ckpt_gpr()
573 perror("malloc() failed\n"); in write_ckpt_gpr()
[all …]
A Dchild.h66 perror("Semaphore initialization failed"); in init_child_sync()
72 perror("Semaphore initialization failed"); in init_child_sync()
92 perror("Error waiting for child"); in wait_child()
106 perror("Error prodding child"); in prod_child()
120 perror("Error waiting for parent"); in wait_parent()
134 perror("Error prodding parent"); in prod_parent()
/tools/testing/selftests/powerpc/security/
A Duaccess_flush.c40 perror("Unable to read powerpc/rfi_flush debugfs file"); in uaccess_flush_test()
45 perror("Unable to read powerpc/entry_flush debugfs file"); in uaccess_flush_test()
50 perror("Unable to read powerpc/entry_flush debugfs file"); in uaccess_flush_test()
56 perror("error writing to powerpc/rfi_flush debugfs file"); in uaccess_flush_test()
63 perror("error writing to powerpc/entry_flush debugfs file"); in uaccess_flush_test()
123 perror("error writing to powerpc/uaccess_flush debugfs file"); in uaccess_flush_test()
138 perror("unable to restore original value of powerpc/rfi_flush debugfs file"); in uaccess_flush_test()
143 perror("unable to restore original value of powerpc/entry_flush debugfs file"); in uaccess_flush_test()
148 perror("unable to restore original value of powerpc/uaccess_flush debugfs file"); in uaccess_flush_test()
A Dentry_flush.c38 perror("Unable to read powerpc/rfi_flush debugfs file"); in entry_flush_test()
43 perror("Unable to read powerpc/entry_flush debugfs file"); in entry_flush_test()
49 perror("error writing to powerpc/rfi_flush debugfs file"); in entry_flush_test()
109 perror("error writing to powerpc/entry_flush debugfs file"); in entry_flush_test()
124 perror("unable to restore original value of powerpc/rfi_flush debugfs file"); in entry_flush_test()
129 perror("unable to restore original value of powerpc/entry_flush debugfs file"); in entry_flush_test()
/tools/testing/selftests/powerpc/benchmarks/
A Dfork.c41 perror("sched_setaffinity"); in set_cpu()
52 perror("fork"); in start_process_on()
80 perror("execve"); in run_exec()
90 perror("fork"); in bench_fork()
100 perror("waitpid"); in bench_fork()
112 perror("fork"); in bench_vfork()
122 perror("waitpid"); in bench_vfork()
144 perror("pthread_attr_init"); in bench_thread()
164 perror("pthread_create"); in bench_thread()
170 perror("pthread_join"); in bench_thread()
[all …]
/tools/testing/selftests/thermal/intel/workload_hint/
A Dworkload_hint_test.c35 perror("Unable to open workload type feature enable file"); in workload_hint_exit()
40 perror("Can't disable workload hints"); in workload_hint_exit()
73 perror("Unable to open workload notification delay"); in main()
78 perror("Can't set delay"); in main()
95 perror("Unable to open workload type feature enable file"); in main()
100 perror("Can't enable workload hints"); in main()
111 perror("Unable to open workload type file"); in main()
131 perror("poll error"); in main()
/tools/testing/selftests/powerpc/signal/
A Dsig_sc_double_restart.c88 perror("pipe"); in test_restart()
94 perror("fork"); in test_restart()
107 perror("sigaction"); in test_restart()
115 perror("sigaction"); in test_restart()
122 perror("dup"); in test_restart()
132 perror("read"); in test_restart()
150 perror("write"); in test_restart()
156 perror("wait"); in test_restart()
/tools/testing/vsock/
A Dvsock_test.c137 perror("connect"); in test_stream_client_close_client()
151 perror("accept"); in test_stream_client_close_server()
172 perror("connect"); in test_stream_server_close_client()
193 perror("accept"); in test_stream_server_close_server()
238 perror("accept"); in test_stream_multiconn_server()
297 perror("accept"); in test_msg_peek_server()
433 perror("accept"); in test_seqpacket_msg_bounds_server()
856 perror("poll"); in test_stream_poll_rcvlowat_client()
872 perror("poll"); in test_stream_poll_rcvlowat_client()
1527 perror("poll"); in test_stream_credit_update_test()
[all …]
/tools/testing/selftests/ptp/
A Dtestptp.c366 perror("clock_adjtime"); in main()
383 perror("clock_adjtime"); in main()
395 perror("clock_adjtime"); in main()
403 perror("clock_gettime"); in main()
413 perror("clock_settime"); in main()
422 perror("clock_settime"); in main()
432 perror("clock_settime"); in main()
465 perror("read"); in main()
562 perror("calloc"); in main()
597 perror("calloc"); in main()
[all …]
/tools/testing/selftests/kcmp/
A Dkcmp_test.c46 perror("Can't create file"); in main()
51 perror("Can't create pipe"); in main()
57 perror("epoll_create1 failed"); in main()
65 perror("epoll_ctl failed"); in main()
71 perror("dup2 failed"); in main()
76 perror("epoll_ctl failed"); in main()
83 perror("fork failed"); in main()
96 perror("Can't open file"); in main()
/tools/testing/selftests/thermal/intel/power_floor/
A Dpower_floor_test.c24 perror("Unable to open power floor enable file\n"); in power_floor_exit()
29 perror("Can' disable power floor notifications\n"); in power_floor_exit()
54 perror("Unable to open power floor enable file\n"); in main()
59 perror("Can't enable power floor notifications\n"); in main()
70 perror("Unable to power floor status file\n"); in main()
90 perror("poll error"); in main()
/tools/testing/selftests/drivers/net/
A Dnapi_id_helper.c45 perror("socket creation failed"); in main()
53 perror("setsockopt"); in main()
62 perror("bind failed"); in main()
67 perror("listen"); in main()
75 perror("accept"); in main()
83 perror("getsockopt"); in main()
/tools/testing/selftests/prctl/
A Ddisable-tsc-test.c50 perror("prctl"); in sigsegv_cb()
56 perror("prctl"); in sigsegv_cb()
72 perror("prctl"); in main()
80 perror("prctl"); in main()
87 perror("prctl"); in main()
/tools/testing/selftests/alsa/
A Dglobal-timer.c36 perror("Can't open the timer"); in bind_to_timer()
43 perror("Can't set timer params"); in bind_to_timer()
48 perror("Can't create a handler"); in bind_to_timer()
53 perror("Failed to start the timer"); in bind_to_timer()
72 perror("Usage: %s <device> <subdevice> <timeout>"); in main()
/tools/testing/selftests/perf_events/
A Dwatermark_signal.c71 perror("fork()"); in TEST()
92 perror("F_SETFL FASYNC"); in TEST()
97 perror("F_SETOWN getpid()"); in TEST()
102 perror("F_SETSIG SIGIO"); in TEST()
108 perror("mmap"); in TEST()
113 perror("PERF_EVENT_IOC_ENABLE"); in TEST()
118 perror("SIGCONT"); in TEST()
/tools/spi/
A Dspidev_fdx.c32 perror("read"); in do_read()
70 perror("SPI_IOC_MESSAGE"); in do_msg()
86 perror("SPI rd_mode"); in dumpstat()
90 perror("SPI rd_lsb_fist"); in dumpstat()
94 perror("SPI bits_per_word"); in dumpstat()
98 perror("SPI max_speed_hz"); in dumpstat()
145 perror("open"); in main()
/tools/testing/selftests/efivarfs/
A Dopen-unlink.c91 perror("open(O_WRONLY)"); in main()
97 perror("write"); in main()
105 perror("ioctl(FS_IOC_GETFLAGS)"); in main()
110 perror("ioctl(FS_IOC_SETFLAGS)"); in main()
117 perror("open"); in main()
122 perror("unlink"); in main()
/tools/testing/selftests/net/
A Dtcp_mmap.c193 perror("mmap"); in child_thread()
199 perror("mmap"); in child_thread()
389 perror("accept"); in do_accept()
396 perror("pthread_create"); in do_accept()
433 perror("open /dev/urandom"); in randomize()
522 perror("socket"); in main()
537 perror("bind"); in main()
541 perror("listen"); in main()
549 perror("mmap"); in main()
555 perror("socket"); in main()
[all …]
/tools/testing/selftests/bpf/
A Dunpriv_helpers.c23 perror("uname"); in open_config()
36 perror("gzopen /proc/config.gz"); in open_config()
55 perror("gzgets /proc/config.gz"); in config_contains()
80 perror("open /proc/cmdline"); in cmdline_contains()
85 perror("read /proc/cmdline"); in cmdline_contains()
125 perror("fopen /proc/sys/" UNPRIV_SYSCTL); in get_unpriv_disabled()
/tools/testing/selftests/timers/
A Drtcpie.c57 perror(rtc); in main()
69 perror("RTC_IRQP_READ ioctl"); in main()
88 perror("RTC_IRQP_SET ioctl"); in main()
98 perror("RTC_PIE_ON ioctl"); in main()
107 perror("read"); in main()
128 perror("RTC_PIE_OFF ioctl"); in main()
/tools/power/acpi/tools/pfrut/
A Dpfrut.c173 perror("Can not allocate uuid buffer\n"); in print_cap()
244 perror("Get telemetry data info failed."); in main()
253 perror("Get telemetry info failed."); in main()
315 perror("pfru update revid set failed"); in main()
328 perror("Can not open capsule file..."); in main()
336 perror("Can not fstat capsule file..."); in main()
347 perror("Failed to mmap capsule file."); in main()
360 perror("Failed to load capsule file"); in main()
397 perror("Get telemetry data info failed."); in main()
413 perror("log_buf allocate failed."); in main()
[all …]

Completed in 40 milliseconds

1234567891011