Home
last modified time | relevance | path

Searched refs:perror (Results 1 - 25 of 595) sorted by relevance

12345678910>>...24

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c30 perror("bpf_prog_query"); in query_attached_prog_id()
52 perror("bpf_load_program"); in load_prog()
65 perror("bpf_obj_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_creat in test_link_create_link_create()
[all...]
H 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_creat in run_tests()
[all...]
/kernel/linux/linux-6.6/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_creat in test_link_create_link_create()
[all...]
/kernel/linux/linux-6.6/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("ptrac in write_tar_registers()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h66 perror("ptrace(PTRACE_ATTACH) failed"); in start_trace()
71 perror("waitpid() failed"); in start_trace()
83 perror("ptrace(PTRACE_DETACH) failed"); in stop_trace()
95 perror("ptrace(PTRACE_CONT) failed"); in cont_trace()
148 perror("malloc() failed"); in show_tar_registers()
156 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
164 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
172 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
194 perror("malloc() failed"); in write_tar_registers()
204 perror("ptrac in write_tar_registers()
[all...]
/kernel/linux/linux-6.6/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("accep in test_msg_peek_server()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dmlock2-tests.c34 perror("fopen"); in get_vm_area()
200 perror("test_mlock_locked mmap"); in test_mlock_lock()
209 perror("mlock2(0)"); in test_mlock_lock()
218 perror("munlock()"); in test_mlock_lock()
263 perror("test_mlock_locked mmap"); in test_mlock_onfault()
272 perror("mlock2(MLOCK_ONFAULT)"); in test_mlock_onfault()
285 perror("munlock()"); in test_mlock_onfault()
305 perror("test_mlock_locked mmap"); in test_lock_onfault_of_present()
316 perror("mlock2(MLOCK_ONFAULT)"); in test_lock_onfault_of_present()
342 perror("test_munlockal in test_munlockall()
[all...]
H 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("Faile in check_compaction()
[all...]
/kernel/linux/linux-5.10/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("for in main()
[all...]
/kernel/linux/linux-6.6/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("madvis 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_munlockal 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("kil in main()
[all...]
H 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("Faile in check_compaction()
[all...]
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("prct in ksm_merge_pages()
[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()
/kernel/linux/linux-6.6/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("for in main()
[all...]
/kernel/linux/linux-5.10/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_creat in bench_thread()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
H A Dposix_timers.c107 perror("Can't call gettimeofday()\n"); in check_itimer()
113 perror("Can't set timer\n"); in check_itimer()
126 perror("Can't call gettimeofday()\n"); in check_itimer()
158 perror("Can't create timer\n"); in check_timer_create()
165 perror("Can't call gettimeofday()\n"); in check_timer_create()
171 perror("Can't set timer\n"); in check_timer_create()
179 perror("Can't call gettimeofday()\n"); in check_timer_create()
230 perror("Can't create timer\n"); in check_timer_distribution()
235 perror("Can't set timer\n"); in check_timer_distribution()
241 perror("Ca in check_timer_distribution()
[all...]
/kernel/linux/linux-6.6/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_creat in bench_thread()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/
H A Dtestptp.c275 perror("PTP_CLOCK_GETCAPS"); in main()
302 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()
362 perror("PTP_EXTTS_REQUEST"); in main()
370 perror("read"); in main()
380 perror("PTP_EXTTS_REQUES in main()
[all...]
/kernel/linux/linux-5.10/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("rea in main()
[all...]
/kernel/linux/linux-6.6/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("rea in main()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A Dresctrlfs.c22 perror("/proc/mounts"); in find_resctrl_mount()
73 perror("# umount"); in remount_resctrlfs()
84 perror("# mount"); in remount_resctrlfs()
94 perror("# Unable to umount resctrl"); in umount_resctrlfs()
123 perror("Failed to open physical_package_id"); in get_resource_id()
128 perror("Could not get socket number or l3 id"); in get_resource_id()
157 perror("Invalid cache level"); in get_cache_size()
165 perror("Failed to open cache size"); in get_cache_size()
170 perror("Could not get cache_size"); in get_cache_size()
222 perror("Faile in get_cbm_mask()
[all...]
/kernel/linux/linux-6.6/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_REQUES in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrl_val.c159 perror("Failed to open imc counter type file"); in read_from_imc_dir()
164 perror("Could not get imc type"); in read_from_imc_dir()
178 perror("Failed to open imc config file"); in read_from_imc_dir()
183 perror("Could not get imc cas count read"); in read_from_imc_dir()
196 perror("Failed to open imc config file"); in read_from_imc_dir()
201 perror("Could not get imc cas count write"); in read_from_imc_dir()
265 perror("Unable find iMC counters!\n"); in num_of_imcs()
270 perror("Unable to open PMU directory!\n"); in num_of_imcs()
342 perror("Couldn't get read b/w through iMC"); in get_mem_bw_imc()
349 perror("Could in get_mem_bw_imc()
[all...]

Completed in 12 milliseconds

12345678910>>...24