Home
last modified time | relevance | path

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

12345678910>>...13

/linux/tools/testing/selftests/powerpc/ptrace/
A Dptrace.h71 perror("waitpid() failed"); in start_trace()
95 perror("ptrace(PTRACE_CONT) failed"); in cont_trace()
148 perror("malloc() failed"); in show_tar_registers()
194 perror("malloc() failed"); in write_tar_registers()
237 perror("malloc() failed"); in show_tm_checkpointed_state()
285 perror("malloc() failed"); in write_ckpt_tar_registers()
422 perror("malloc() failed"); in show_gpr()
447 perror("malloc() failed"); in write_gpr()
476 perror("malloc() failed"); in show_ckpt_gpr()
505 perror("malloc() failed\n"); in write_ckpt_gpr()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector_reattach.c30 perror("bpf_prog_query"); in query_attached_prog_id()
52 perror("bpf_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 …]
A Dsockmap_ktls.c18 perror("socket"); in tcp_server()
24 perror("listen"); in tcp_server()
51 perror("getsockopt"); in test_sockmap_ktls_disconnect_after_delete()
57 perror("socket"); in test_sockmap_ktls_disconnect_after_delete()
63 perror("connect"); in test_sockmap_ktls_disconnect_after_delete()
69 perror("bpf_map_update_elem"); in test_sockmap_ktls_disconnect_after_delete()
75 perror("setsockopt(TCP_ULP)"); in test_sockmap_ktls_disconnect_after_delete()
81 perror("bpf_map_delete_elem"); in test_sockmap_ktls_disconnect_after_delete()
87 perror("disconnect"); in test_sockmap_ktls_disconnect_after_delete()
102 perror("bpf_map_create"); in run_tests()
/linux/samples/seccomp/
A Duser-trap.c54 perror("sendmsg"); in send_fd()
77 perror("recvmsg"); in recv_fd()
156 perror("seek"); in handle_req()
162 perror("read"); in handle_req()
167 perror("seek"); in handle_req()
173 perror("read"); in handle_req()
213 perror("fork"); in main()
242 perror("mkdir"); in main()
263 perror("mount"); in main()
284 perror("fork"); in main()
[all …]
/linux/tools/testing/selftests/vm/
A Dmlock2-tests.c34 perror("fopen"); in get_vm_area()
209 perror("mlock2(0)"); in test_mlock_lock()
218 perror("munlock()"); in test_mlock_lock()
285 perror("munlock()"); in test_mlock_onfault()
355 perror("munlockall()"); in test_munlockall()
381 perror("munlockall()"); in test_munlockall()
397 perror("munlockall()"); in test_munlockall()
422 perror("mmap()"); in test_vma_management()
454 perror("munlock()"); in test_vma_management()
473 perror("munlock()"); in test_vma_management()
[all …]
A Dcompaction_test.c36 perror("Failed to read meminfo\n"); in read_memory_info()
47 perror("Failed to read meminfo\n"); in read_memory_info()
65 perror("Failed to open\n" in prereq()
71 perror("Failed to read from\n" in prereq()
97 perror("Failed to open /proc/sys/vm/nr_hugepages"); in check_compaction()
102 perror("Failed to read from /proc/sys/vm/nr_hugepages"); in check_compaction()
108 perror("Failed to write 0 to /proc/sys/vm/nr_hugepages\n"); in check_compaction()
117 perror("Failed to write 100000 to /proc/sys/vm/nr_hugepages\n"); in check_compaction()
124 perror("Failed to re-read from /proc/sys/vm/nr_hugepages\n"); in check_compaction()
147 perror("Failed to write value to /proc/sys/vm/nr_hugepages\n"); in check_compaction()
[all …]
A Dhugepage-mremap.c62 perror("userfaultfd"); in register_region_with_uffd()
69 perror("ioctl-UFFDIO_API"); in register_region_with_uffd()
82 perror("mmap"); in register_region_with_uffd()
97 perror("ioctl-UFFDIO_REGISTER"); in register_region_with_uffd()
109 perror("Open failed"); in main()
119 perror("mmap1"); in main()
129 perror("mmap3"); in main()
138 perror("mmap2"); in main()
147 perror("mremap"); in main()
A Dksm_tests.c60 perror("fopen"); in ksm_write_sysfs()
64 perror("fprintf"); in ksm_write_sysfs()
78 perror("fopen"); in ksm_read_sysfs()
82 perror("fscanf"); in ksm_read_sysfs()
143 perror("mmap"); in allocate_memory()
148 perror("mprotect"); in allocate_memory()
169 perror("clock_gettime"); in ksm_do_scan()
184 perror("madvise"); in ksm_merge_pages()
265 perror("clock_gettime"); in check_ksm_merge()
297 perror("clock_gettime"); in check_ksm_unmerge()
[all …]
/linux/tools/testing/selftests/resctrl/
A Dresctrlfs.c20 perror("/proc/mounts"); in find_resctrl_mount()
78 perror("# mount"); in remount_resctrlfs()
89 perror("# Unable to umount resctrl"); in umount_resctrlfs()
152 perror("Invalid cache level"); in get_cache_size()
165 perror("Could not get cache_size"); in get_cache_size()
344 perror("wrong\n"); in run_benchmark()
390 perror("Unable to create group"); in create_grp()
477 perror("# writing to resctrlfs"); in write_bm_pid_to_resctrl()
676 perror("pipe"); in filter_dmesg()
684 perror("executing dmesg"); in filter_dmesg()
[all …]
A Dresctrl_val.c164 perror("Could not get imc type"); in read_from_imc_dir()
265 perror("Unable find iMC counters!\n"); in num_of_imcs()
419 perror("Could not get resource_id"); in initialize_mem_bw_resctrl()
452 perror("Failed to open total bw file"); in get_mem_bw_resctrl()
500 perror("Cannot open results file"); in print_results_bw()
507 perror("Could not log results."); in print_results_bw()
545 perror("# Unable to resource_id"); in initialize_llc_occu_resctrl()
623 perror("# Unable to create pipe"); in resctrl_val()
634 perror("# Unable to fork"); in resctrl_val()
682 perror("# sigaction"); in resctrl_val()
[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/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/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/ptp/
A Dtestptp.c302 perror("clock_adjtime"); in main()
314 perror("clock_adjtime"); in main()
322 perror("clock_gettime"); in main()
332 perror("clock_settime"); in main()
341 perror("clock_settime"); in main()
351 perror("clock_settime"); in main()
370 perror("read"); in main()
418 perror("clock_gettime"); in main()
462 perror("PTP_ENABLE_PPS"); in main()
477 perror("calloc"); in main()
[all …]
/linux/tools/testing/selftests/net/
A Dtcp_mmap.c170 perror("mmap"); in child_thread()
176 perror("mmap"); in child_thread()
271 perror("setsockopt SO_RCVBUF"); in apply_rcvsnd_buf()
333 perror("accept"); in do_accept()
340 perror("pthread_create"); in do_accept()
444 perror("socket"); in main()
459 perror("bind"); in main()
463 perror("listen"); in main()
471 perror("mmap"); in main()
477 perror("socket"); in main()
[all …]
/linux/tools/testing/vsock/
A Dvsock_test.c119 perror("bind"); in test_stream_bind_only_server()
138 perror("connect"); in test_stream_client_close_client()
152 perror("accept"); in test_stream_client_close_server()
173 perror("connect"); in test_stream_server_close_client()
194 perror("accept"); in test_stream_server_close_server()
239 perror("accept"); in test_stream_multiconn_server()
261 perror("connect"); in test_stream_msg_peek_client()
275 perror("accept"); in test_stream_msg_peek_server()
292 perror("connect"); in test_seqpacket_msg_bounds_client()
313 perror("accept"); in test_seqpacket_msg_bounds_server()
[all …]
/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/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()
93 perror("Can't open file"); in main()
/linux/arch/um/os-Linux/
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()
/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/arch/alpha/boot/tools/
A Dobjstrip.c93 perror("open"); in main()
101 perror("open"); in main()
119 perror("fstat"); in main()
134 perror("boot-block write"); in main()
144 perror("read"); in main()
172 perror("read"); in main()
229 perror("lseek"); in main()
246 perror("read"); in main()
252 perror("write"); in main()
277 perror("write"); in main()
/linux/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c178 perror("unable to read event from ep0"); in handle_ep0()
229 perror("malloc"); in main()
237 perror("unable to open ep0"); in main()
241 perror("unable do write descriptors"); in main()
245 perror("unable to write strings"); in main()
263 perror("unable to setup aio"); in main()
269 perror("unable to open eventfd"); in main()
289 perror("select"); in main()
305 perror("unable to read eventfd"); in main()
336 perror("unable to submit request"); in main()
[all …]
/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()

Completed in 60 milliseconds

12345678910>>...13