Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.3-rc2/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()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/testing/vsock/
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()
242 perror("accept"); in test_stream_multiconn_server()
278 perror("accept"); in test_stream_msg_peek_server()
342 perror("send"); in test_seqpacket_msg_bounds_client()
381 perror("accept"); in test_seqpacket_msg_bounds_server()
821 perror("poll"); in test_stream_poll_rcvlowat_client()
[all …]
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dhugetlb-madvise.c139 perror("mmap"); in main()
145 perror("munmap"); in main()
181 perror("mmap"); in main()
201 perror("madvise"); in main()
219 perror("mmap"); in main()
226 perror("madvise"); in main()
248 perror("mmap"); in main()
258 perror("madvise"); in main()
307 perror("mmap"); in main()
347 perror("mmap"); in main()
[all …]
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 Dmrelease_test.c38 perror("mmap failed, halting the test"); in alloc_noexit()
47 perror("write"); in alloc_noexit()
70 perror("process_mrelease with wrong flags"); in run_negative_tests()
107 perror("process_mrelease with wrong pidfd"); in main()
119 perror("pipe"); in main()
124 perror("fork"); in main()
145 perror("read"); in main()
153 perror("pidfd_open"); in main()
164 perror("kill"); in main()
181 perror("process_mrelease"); in main()
[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.c69 perror("userfaultfd"); in register_region_with_uffd()
76 perror("ioctl-UFFDIO_API"); in register_region_with_uffd()
89 perror("mmap"); in register_region_with_uffd()
104 perror("ioctl-UFFDIO_REGISTER"); in register_region_with_uffd()
130 perror("Open failed"); in main()
140 perror("mmap1"); in main()
150 perror("mmap3"); in main()
159 perror("mmap2"); in main()
168 perror("mremap"); in main()
A Dksm_tests.c53 perror("fopen"); in ksm_write_sysfs()
57 perror("fprintf"); in ksm_write_sysfs()
72 perror("fopen"); in ksm_read_sysfs()
76 perror("fscanf"); in ksm_read_sysfs()
141 perror("mmap"); in allocate_memory()
146 perror("mprotect"); in allocate_memory()
167 perror("clock_gettime"); in ksm_do_scan()
182 perror("madvise"); in ksm_merge_pages()
199 perror("madvise"); in ksm_unmerge_pages()
275 perror("clock_gettime"); in check_ksm_merge()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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()
683 perror("# sigaction"); in resctrl_val()
[all …]
/linux-6.3-rc2/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-6.3-rc2/tools/testing/selftests/ptp/
A Dtestptp.c307 perror("clock_adjtime"); in main()
324 perror("clock_adjtime"); in main()
332 perror("clock_gettime"); in main()
342 perror("clock_settime"); in main()
351 perror("clock_settime"); in main()
361 perror("clock_settime"); in main()
392 perror("read"); in main()
440 perror("clock_gettime"); in main()
472 perror("PTP_ENABLE_PPS"); in main()
487 perror("calloc"); in main()
[all …]
/linux-6.3-rc2/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-6.3-rc2/tools/testing/selftests/net/
A Dtcp_mmap.c171 perror("mmap"); in child_thread()
177 perror("mmap"); in child_thread()
272 perror("setsockopt SO_RCVBUF"); in apply_rcvsnd_buf()
334 perror("accept"); in do_accept()
341 perror("pthread_create"); in do_accept()
445 perror("socket"); in main()
460 perror("bind"); in main()
464 perror("listen"); in main()
472 perror("mmap"); in main()
478 perror("socket"); in main()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/power/acpi/tools/pfrut/
A Dpfrut.c161 perror("Can not allocate uuid buffer\n"); in print_cap()
230 perror("Get telemetry data info failed."); in main()
239 perror("Get telemetry info failed."); in main()
301 perror("pfru update revid set failed"); in main()
314 perror("Can not open capsule file..."); in main()
322 perror("Can not fstat capsule file..."); in main()
333 perror("Failed to mmap capsule file."); in main()
346 perror("Failed to load capsule file"); in main()
383 perror("Get telemetry data info failed."); in main()
399 perror("log_buf allocate failed."); in main()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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()

Completed in 41 milliseconds

12345678910>>...14