Home
last modified time | relevance | path

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

12345678910>>...14

/linux/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 …]
/linux/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 …]
/linux/tools/testing/selftests/mm/
A Dhugetlb-madvise.c102 perror("mmap"); in main()
108 perror("munmap"); in main()
144 perror("mmap"); in main()
164 perror("madvise"); in main()
182 perror("mmap"); in main()
189 perror("madvise"); in main()
211 perror("mmap"); in main()
221 perror("madvise"); in main()
270 perror("mmap"); in main()
310 perror("mmap"); in main()
[all …]
A Dksm_tests.c65 perror("fopen"); in ksm_write_sysfs()
69 perror("fprintf"); in ksm_write_sysfs()
84 perror("fopen"); in ksm_read_sysfs()
88 perror("fscanf"); in ksm_read_sysfs()
134 perror("fopen"); in ksm_print_procfs()
205 perror("mmap"); in allocate_memory()
210 perror("mprotect"); in allocate_memory()
248 perror("madvise"); in ksm_merge_pages()
253 perror("prctl"); in ksm_merge_pages()
272 perror("madvise"); in ksm_unmerge_pages()
[all …]
A Dhugetlb-read-hwpoison.c82 perror(PREFIX ERROR_PREFIX "seek failed"); in seek_read_hugepage_filemap()
92 perror(PREFIX ERROR_PREFIX "read failed"); in seek_read_hugepage_filemap()
123 perror(PREFIX ERROR_PREFIX "read failed"); in read_hugepage_filemap()
145 perror(PREFIX ERROR_PREFIX "ftruncate failed"); in test_hugetlb_read()
152 perror(PREFIX ERROR_PREFIX "mmap for primary mapping failed"); in test_hugetlb_read()
165 perror(PREFIX ERROR_PREFIX "ftruncate back to 0 failed"); in test_hugetlb_read()
182 perror(PREFIX ERROR_PREFIX "ftruncate failed"); in test_hugetlb_read_hwpoison()
204 perror(PREFIX ERROR_PREFIX "MADV_HWPOISON failed"); in test_hugetlb_read_hwpoison()
231 perror(PREFIX ERROR_PREFIX "ftruncate back to 0 failed"); in test_hugetlb_read_hwpoison()
244 perror(PREFIX ERROR_PREFIX "could not open hugetlbfs file"); in create_hugetlbfs_file()
[all …]
/linux/samples/seccomp/
A Duser-trap.c56 perror("sendmsg"); in send_fd()
80 perror("recvmsg"); in recv_fd()
160 perror("seek"); in handle_req()
166 perror("read"); in handle_req()
171 perror("seek"); in handle_req()
177 perror("read"); in handle_req()
217 perror("fork"); in main()
246 perror("mkdir"); in main()
267 perror("mount"); in main()
288 perror("fork"); in main()
[all …]
/linux/tools/testing/vsock/
A Dvsock_test.c126 perror("bind"); in test_stream_bind_only_server()
145 perror("connect"); in test_stream_client_close_client()
159 perror("accept"); in test_stream_client_close_server()
180 perror("connect"); in test_stream_server_close_client()
201 perror("accept"); in test_stream_server_close_server()
246 perror("accept"); in test_stream_multiconn_server()
305 perror("accept"); in test_msg_peek_server()
441 perror("accept"); in test_seqpacket_msg_bounds_server()
865 perror("poll"); in test_stream_poll_rcvlowat_client()
881 perror("poll"); in test_stream_poll_rcvlowat_client()
[all …]
A Dutil.c117 perror("socket"); in vsock_bind_connect()
122 perror("bind"); in vsock_bind_connect()
134 perror("connect"); in vsock_bind_connect()
161 perror("socket"); in vsock_connect()
209 perror("socket"); in vsock_listen()
214 perror("bind"); in vsock_listen()
219 perror("listen"); in vsock_listen()
322 perror("send"); in send_buf()
329 perror("send"); in send_buf()
374 perror("recv"); in recv_buf()
[all …]
/linux/tools/testing/selftests/ptp/
A Dtestptp.c337 perror("clock_adjtime"); in main()
354 perror("clock_adjtime"); in main()
366 perror("clock_adjtime"); in main()
374 perror("clock_gettime"); in main()
384 perror("clock_settime"); in main()
393 perror("clock_settime"); in main()
403 perror("clock_settime"); in main()
434 perror("read"); in main()
529 perror("calloc"); in main()
564 perror("calloc"); in main()
[all …]
/linux/Documentation/translations/zh_CN/dev-tools/
A Dkcov.rst81 perror("open"), exit(1);
84 perror("ioctl"), exit(1);
89 perror("mmap"), exit(1);
92 perror("ioctl"), exit(1);
105 perror("ioctl"), exit(1);
108 perror("munmap"), exit(1);
110 perror("close"), exit(1);
170 perror("open"), exit(1);
172 perror("ioctl"), exit(1);
180 perror("mmap"), exit(1);
[all …]
/linux/samples/hidraw/
A Dhid-example.c60 perror("Unable to open device"); in main()
71 perror("HIDIOCGRDESCSIZE"); in main()
79 perror("HIDIOCGRDESC"); in main()
90 perror("HIDIOCGRAWNAME"); in main()
97 perror("HIDIOCGRAWPHYS"); in main()
104 perror("HIDIOCGRAWINFO"); in main()
120 perror("HIDIOCSFEATURE"); in main()
128 perror("HIDIOCGFEATURE"); in main()
143 perror("write"); in main()
151 perror("read"); in main()
/linux/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()
/linux/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 …]
/linux/arch/alpha/kernel/
A Derr_titan.c234 port ? 'A' : 'G', perror); in titan_parse_p_perror()
239 if (perror & TITAN__PCHIP_PERROR__NDS) in titan_parse_p_perror()
242 if (perror & TITAN__PCHIP_PERROR__DPE) in titan_parse_p_perror()
244 if (perror & TITAN__PCHIP_PERROR__TA) in titan_parse_p_perror()
246 if (perror & TITAN__PCHIP_PERROR__APE) in titan_parse_p_perror()
248 if (perror & TITAN__PCHIP_PERROR__SGE) in titan_parse_p_perror()
254 if (perror & TITAN__PCHIP_PERROR__PERR) in titan_parse_p_perror()
256 if (perror & TITAN__PCHIP_PERROR__SERR) in titan_parse_p_perror()
258 if (perror & TITAN__PCHIP_PERROR__LOST) in titan_parse_p_perror()
265 if (perror & TITAN__PCHIP_PERROR__DAC) in titan_parse_p_perror()
[all …]
/linux/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 …]
/linux/tools/testing/selftests/thermal/intel/workload_hint/
A Dworkload_hint_test.c35 perror("Unable to open workload type feature enable file\n"); in workload_hint_exit()
40 perror("Can' disable workload hints\n"); in workload_hint_exit()
75 perror("Unable to open workload notification delay\n"); in main()
80 perror("Can't set delay\n"); in main()
97 perror("Unable to open workload type feature enable file\n"); in main()
102 perror("Can' enable workload hints\n"); in main()
113 perror("Unable to open workload type file\n"); in main()
133 perror("poll error"); in main()
/linux/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()
/linux/arch/powerpc/boot/
A Dmktree.c56 perror("stat"); in main()
83 perror("zImage open"); in main()
88 perror("bootfile open"); in main()
120 perror("boot-image write"); in main()
126 perror("zImage read"); in main()
133 perror("boot-image write"); in main()
142 perror("rewrite seek"); in main()
146 perror("boot-image rewrite"); in main()
/linux/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 …]
/linux/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()
/linux/samples/pfsm/
A Dpfsm-wakeup.c40 perror("Failed to open RTC device."); in main()
47 perror("Failed to open PFSM device."); in main()
55 perror("Failed to read RTC date/time."); in main()
76 perror("Failed to set RTC alarm."); in main()
83 perror("Failed to enable alarm interrupts."); in main()
98 perror("Failed to set RETENTION state."); in main()
106 perror("Failed to get RTC alarm."); in main()
/linux/arch/um/os-Linux/
A Dmain.c32 perror("getrlimit"); in set_stklim()
38 perror("setrlimit"); in set_stklim()
88 perror("couldn't putenv"); in setup_env_path()
96 perror("couldn't malloc to set a new PATH"); in setup_env_path()
101 perror("couldn't putenv to set a new PATH"); in setup_env_path()
119 perror("Mallocing argv"); in main()
125 perror("Mallocing an arg"); in main()
178 perror("Failed to exec kernel"); in main()
/linux/tools/testing/selftests/powerpc/tm/
A Dtm-signal-pagefault.c97 perror("poll() failed"); in fault_handler_thread()
108 perror("read() failed"); in fault_handler_thread()
131 perror("ioctl-UFFDIO_COPY failed"); in fault_handler_thread()
150 perror("userfaultfd() failed"); in setup_uf_mem()
156 perror("ioctl-UFFDIO_API failed"); in setup_uf_mem()
168 perror("mmap() failed"); in setup_uf_mem()
181 perror("ioctl-UFFDIO_REGISTER"); in setup_uf_mem()
243 perror("sigaltstack() failed"); in tm_signal_pagefault()
250 perror("sigaction() failed"); in tm_signal_pagefault()
/linux/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()
/linux/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()

Completed in 63 milliseconds

12345678910>>...14