Home
last modified time | relevance | path

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

12345678910>>...18

/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h70 perror("ptrace(PTRACE_ATTACH) failed"); in start_trace()
75 perror("waitpid() failed"); in start_trace()
87 perror("ptrace(PTRACE_DETACH) failed"); in stop_trace()
99 perror("ptrace(PTRACE_CONT) failed"); in cont_trace()
152 perror("malloc() failed"); in show_tar_registers()
160 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
168 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
176 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
198 perror("malloc() failed"); in write_tar_registers()
208 perror("ptrace(PTRACE_SETREGSET) failed"); in write_tar_registers()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c30 perror("bpf_prog_query"); in query_attached_prog_id()
52 perror("bpf_test_load_program"); in load_prog()
65 perror("bpf_prog_get_info_by_fd"); in query_prog_id()
78 perror("unshare(CLONE_NEWNET)"); in unshare_net()
83 perror("open(/proc/self/ns/net)"); in unshare_net()
96 perror("bpf_prog_attach(prog1)"); in test_prog_attach_prog_attach()
104 perror("bpf_prog_attach(prog2) #1"); in test_prog_attach_prog_attach()
112 perror("bpf_prog_attach(prog2) #2"); in test_prog_attach_prog_attach()
118 perror("bpf_prog_detach"); in test_prog_attach_prog_attach()
129 perror("bpf_link_create(prog1)"); in test_link_create_link_create()
[all …]
/openbmc/linux/samples/seccomp/
H A Duser-trap.c54 perror("sendmsg"); in send_fd()
77 perror("recvmsg"); in recv_fd()
130 perror("open mem"); in handle_req()
156 perror("seek"); in handle_req()
162 perror("read"); in handle_req()
167 perror("seek"); in handle_req()
173 perror("read"); in handle_req()
185 perror("actual mount"); in handle_req()
207 perror("socketpair"); in main()
213 perror("fork"); in main()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dhugetlb-madvise.c105 perror("memfd_create() failed"); in main()
120 perror("mmap"); in main()
126 perror("munmap"); in main()
162 perror("mmap"); in main()
182 perror("madvise"); in main()
200 perror("mmap"); in main()
207 perror("madvise"); in main()
220 perror("fallocate"); in main()
229 perror("mmap"); in main()
239 perror("madvise"); in main()
[all …]
H A Dmlock2-tests.c34 perror("fopen"); in get_vm_area()
199 perror("test_mlock_locked mmap"); in test_mlock_lock()
208 perror("mlock2(0)"); in test_mlock_lock()
217 perror("munlock()"); in test_mlock_lock()
262 perror("test_mlock_locked mmap"); in test_mlock_onfault()
271 perror("mlock2(MLOCK_ONFAULT)"); in test_mlock_onfault()
284 perror("munlock()"); in test_mlock_onfault()
304 perror("test_mlock_locked mmap"); in test_lock_onfault_of_present()
315 perror("mlock2(MLOCK_ONFAULT)"); in test_lock_onfault_of_present()
341 perror("test_munlockall mmap"); in test_munlockall()
[all …]
H A Dmrelease_test.c30 perror("mmap failed, halting the test"); in alloc_noexit()
39 perror("write"); in alloc_noexit()
62 perror("process_mrelease with wrong flags"); in run_negative_tests()
71 perror("process_mrelease on a live process"); in run_negative_tests()
99 perror("process_mrelease with wrong pidfd"); in main()
111 perror("pipe"); in main()
116 perror("fork"); in main()
137 perror("read"); in main()
145 perror("pidfd_open"); in main()
156 perror("kill"); in main()
[all …]
H A Dhugepage-mremap.c70 perror("userfaultfd"); in register_region_with_uffd()
77 perror("ioctl-UFFDIO_API"); in register_region_with_uffd()
90 perror("mmap"); in register_region_with_uffd()
101 perror("ioctl-UFFDIO_REGISTER"); in register_region_with_uffd()
127 perror("Open failed"); in main()
137 perror("mmap1"); in main()
147 perror("mmap3"); in main()
156 perror("mmap2"); in main()
165 perror("mremap"); in main()
H 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()
231 perror("clock_gettime"); in ksm_do_scan()
248 perror("madvise"); in ksm_merge_pages()
253 perror("prctl"); in ksm_merge_pages()
[all …]
H 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()
189 perror(PREFIX ERROR_PREFIX "mmap for primary mapping 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()
[all …]
/openbmc/linux/tools/testing/vsock/
H A Dvsock_test.c122 perror("bind"); in test_stream_bind_only_server()
141 perror("connect"); in test_stream_client_close_client()
155 perror("accept"); in test_stream_client_close_server()
176 perror("connect"); in test_stream_server_close_client()
197 perror("accept"); in test_stream_server_close_server()
218 perror("connect"); in test_stream_multiconn_client()
242 perror("accept"); in test_stream_multiconn_server()
274 perror("connect"); in test_msg_peek_client()
286 perror("send"); in test_msg_peek_client()
313 perror("accept"); in test_msg_peek_server()
[all …]
/openbmc/openbmc/meta-security/recipes-mac/smack/tcp-smack-test/
H A Dtcp_server.c48 perror("Server: Argument missing please provide port and label for SMACK64IPIN"); in main()
59 perror("Server: Socket failure"); in main()
66 perror("Server: Unable to set attribute ipin 2"); in main()
77 perror("Server: Set timeout failed\n"); in main()
83 perror("Server: Bind failure "); in main()
94 perror("Server: Connection failed"); in main()
102 perror(" Server: Unable to set attribute ipin 2"); in main()
109 perror("Server: Error when reading from socket"); in main()
H A Dtcp_client.c52 perror("Client: Arguments missing, please provide socket labels"); in main()
62 perror("Client: Socket failure"); in main()
69 perror("Client: Unable to set attribute SMACK64IPOUT"); in main()
75 perror("Client: Unable to set attribute SMACK64IPIN"); in main()
86 perror("Client: Set timeout failed\n"); in main()
92 perror("Client: Connection failure"); in main()
100 perror("Client: Error sending data\n"); in main()
/openbmc/linux/tools/testing/selftests/ptp/
H A Dtestptp.c303 perror("PTP_CLOCK_GETCAPS"); in main()
332 perror("clock_adjtime"); in main()
349 perror("clock_adjtime"); in main()
361 perror("clock_adjtime"); in main()
369 perror("clock_gettime"); in main()
379 perror("clock_settime"); in main()
388 perror("clock_settime"); in main()
398 perror("clock_settime"); in main()
410 perror("PTP_PIN_SETFUNC"); in main()
421 perror("PTP_EXTTS_REQUEST"); in main()
[all …]
/openbmc/linux/samples/hidraw/
H 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()
/openbmc/linux/tools/testing/selftests/powerpc/benchmarks/
H 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()
155 perror("pthread_attr_setaffinity_np"); in bench_thread()
164 perror("pthread_create"); in bench_thread()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/security/
H 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()
/openbmc/linux/arch/alpha/kernel/
H A Derr_titan.c141 titan_parse_p_perror(int which, int port, u64 perror, int print) in titan_parse_p_perror() argument
189 if (!(perror & TITAN__PCHIP_PERROR__ERRMASK)) in titan_parse_p_perror()
192 cmd = EXTRACT(perror, TITAN__PCHIP_PERROR__CMD); in titan_parse_p_perror()
193 addr = EXTRACT(perror, TITAN__PCHIP_PERROR__ADDR) << 2; in titan_parse_p_perror()
220 if (((perror & TITAN__PCHIP_PERROR__NDS) || in titan_parse_p_perror()
221 ((perror & TITAN__PCHIP_PERROR__ERRMASK) == in titan_parse_p_perror()
234 port ? 'A' : 'G', perror); in titan_parse_p_perror()
235 if (perror & TITAN__PCHIP_PERROR__IPTPW) in titan_parse_p_perror()
237 if (perror & TITAN__PCHIP_PERROR__IPTPR) in titan_parse_p_perror()
239 if (perror & TITAN__PCHIP_PERROR__NDS) in titan_parse_p_perror()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtcp_mmap.c193 perror("mmap"); in child_thread()
199 perror("mmap"); in child_thread()
208 perror("cannot enable SHA computing"); in child_thread()
285 perror("Error: Cannot read SHA256\n"); in child_thread()
327 perror("setsockopt SO_RCVBUF"); in apply_rcvsnd_buf()
332 perror("setsockopt SO_SNDBUF"); in apply_rcvsnd_buf()
376 perror("setsockopt SO_RCVLOWAT"); in do_accept()
389 perror("accept"); in do_accept()
396 perror("pthread_create"); in do_accept()
433 perror("open /dev/urandom"); in randomize()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H 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()
/openbmc/linux/arch/powerpc/boot/
H 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()
/openbmc/linux/tools/power/acpi/tools/pfrut/
H A Dpfrut.c173 perror("Can not allocate uuid buffer\n"); in print_cap()
229 perror("Query Update Capability info failed."); in main()
242 perror("Get telemetry data info failed."); in main()
251 perror("Get telemetry info failed."); in main()
303 perror("Log information set failed.(log_level, log_type, log_revid)"); in main()
313 perror("pfru update revid set failed"); in main()
326 perror("Can not open capsule file..."); in main()
334 perror("Can not fstat capsule file..."); in main()
345 perror("Failed to mmap capsule file."); in main()
358 perror("Failed to load capsule file"); in main()
[all …]
/openbmc/linux/tools/testing/selftests/kcmp/
H 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()
/openbmc/openbmc/meta-security/recipes-mac/smack/udp-smack-test/
H A Dudp_server.c41 perror("Server: Argument missing, please provide port and label for SMACK64IPIN"); in main()
55 perror("Server: Socket error"); in main()
62 perror("Server: Unable to set attribute "); in main()
74 perror("Server: Set timeout failed\n"); in main()
80 perror("Server: Bind failure"); in main()
90 perror("Server: Error receiving"); in main()
/openbmc/linux/samples/pfsm/
H 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()
/openbmc/linux/arch/um/os-Linux/
H A Dmain.c31 perror("getrlimit"); in set_stklim()
37 perror("setrlimit"); in set_stklim()
87 perror("couldn't putenv"); in setup_env_path()
95 perror("couldn't malloc to set a new PATH"); in setup_env_path()
100 perror("couldn't putenv to set a new PATH"); in setup_env_path()
120 perror("Mallocing argv"); in main()
126 perror("Mallocing an arg"); in main()
179 perror("Failed to exec kernel"); in main()

12345678910>>...18