Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/tools/testing/selftests/timers/
Drtcpie.c50 fprintf(stderr, "usage: rtctest [rtcdev] [d]\n"); in main()
66 fprintf(stderr, "\nNo periodic IRQ support\n"); in main()
72 fprintf(stderr, "\nPeriodic IRQ rate is %ldHz.\n", old_pie_rate); in main()
74 fprintf(stderr, "Counting 20 interrupts at:"); in main()
75 fflush(stderr); in main()
84 fprintf(stderr, in main()
92 fprintf(stderr, "\n%ldHz:\t", tmp); in main()
93 fflush(stderr); in main()
114 fprintf(stderr, "\nPIE delta error: %ld.%06ld should be close to 0.%06ld\n", in main()
121 fprintf(stderr, " %d",i); in main()
[all …]
/tools/testing/selftests/tmpfs/
Dbug-link-o-tmpfile.c32 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
35 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
39 fprintf(stderr, "error: mount '/', errno %d\n", errno); in main()
45 fprintf(stderr, "error: mount tmpfs, errno %d\n", errno); in main()
51 fprintf(stderr, "error: open 1, errno %d\n", errno); in main()
55 fprintf(stderr, "error: linkat, errno %d\n", errno); in main()
62 fprintf(stderr, "error: open 2, errno %d\n", errno); in main()
/tools/testing/selftests/exec/
Drecursion-depth.c31 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
34 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
38 fprintf(stderr, "error: mount '/', errno %d\n", errno); in main()
43 fprintf(stderr, "error: mount ramfs, errno %d\n", errno); in main()
51 fprintf(stderr, "error: creat, errno %d\n", errno); in main()
56 fprintf(stderr, "error: write, errno %d\n", errno); in main()
65 fprintf(stderr, "error: execve, rv %d, errno %d\n", rv, errno); in main()
/tools/testing/selftests/filesystems/
Ddevpts_pts.c107 fprintf(stderr, "Failed to open \"%s\": %s\n", ptmx, in do_tiocgptpeer()
118 fprintf(stderr, "Failed to unlock terminal\n"); in do_tiocgptpeer()
127 fprintf(stderr, "TIOCGPTPEER is not supported. " in do_tiocgptpeer()
131 fprintf(stderr, in do_tiocgptpeer()
147 fprintf(stderr, "Failed to setup terminal\n"); in do_tiocgptpeer()
153 fprintf(stderr, "Failed to retrieve pathname of pts " in do_tiocgptpeer()
160 fprintf(stderr, "Received invalid contents for " in do_tiocgptpeer()
166 fprintf(stderr, "Contents of \"/proc/<pid>/fd/%d\" " in do_tiocgptpeer()
196 fprintf(stderr, "Failed to unmount \"/dev/pts\": %s\n", in verify_non_standard_devpts_mount()
205 fprintf(stderr, "Failed to create temporary mountpoint: %s\n", in verify_non_standard_devpts_mount()
[all …]
/tools/testing/selftests/vm/
Duserfaultfd.c120 fprintf(stderr, "\nUsage: ./userfaultfd <test type> <MiB> <bounces> " in usage()
122 fprintf(stderr, "Supported <test type>: anon, hugetlb, " in usage()
124 fprintf(stderr, "Examples:\n\n"); in usage()
125 fprintf(stderr, "%s", examples); in usage()
146 fprintf(stderr, "mmap of anonymous memory failed"); in anon_allocate_area()
182 fprintf(stderr, "mmap of hugetlbfs file failed\n"); in hugetlb_allocate_area()
239 fprintf(stderr, "shared memory mmap failed\n"); in shmem_allocate_area()
305 fprintf(stderr, "srandom_r error\n"), exit(1); in locking_thread()
315 fprintf(stderr, "random_r 1 error\n"), exit(1); in locking_thread()
319 fprintf(stderr, "random_r 2 error\n"), exit(1); in locking_thread()
[all …]
/tools/testing/selftests/net/
Dpsock_fanout.c161 fprintf(stderr, "bpf verifier:\n%s\n", log_buf); in sock_fanout_set_ebpf()
228 fprintf(stderr, "info: count=%d,%d, expect=%d,%d\n", in sock_fanout_read()
233 fprintf(stderr, "warning: incorrect queue lengths\n"); in sock_fanout_read()
243 fprintf(stderr, "test: control single socket\n"); in test_control_single()
247 fprintf(stderr, "ERROR: opened socket with dual rollover\n"); in test_control_single()
257 fprintf(stderr, "test: control multiple sockets\n"); in test_control_group()
261 fprintf(stderr, "ERROR: failed to open HASH socket\n"); in test_control_group()
266 fprintf(stderr, "ERROR: joined group with wrong flag defrag\n"); in test_control_group()
271 fprintf(stderr, "ERROR: joined group with wrong flag ro\n"); in test_control_group()
275 fprintf(stderr, "ERROR: joined group with wrong mode\n"); in test_control_group()
[all …]
Dreuseaddr_conflict.c91 fprintf(stderr, "Opening 127.0.0.1:%d\n", PORT); in main()
95 fprintf(stderr, "Opening INADDR_ANY:%d\n", PORT); in main()
99 fprintf(stderr, "Opening in6addr_any:%d\n", PORT); in main()
103 fprintf(stderr, "Opening INADDR_ANY:%d\n", PORT); in main()
108 fprintf(stderr, "Opening INADDR_ANY:%d after closing ipv6 socket\n", PORT); in main()
112 fprintf(stderr, "Success\n"); in main()
/tools/perf/ui/gtk/
Dutil.c38 fprintf(stderr, "Error:\n"); in perf_gtk__error()
39 vfprintf(stderr, format, args); in perf_gtk__error()
40 fprintf(stderr, "\n"); in perf_gtk__error()
63 fprintf(stderr, "Warning:\n"); in perf_gtk__warning_info_bar()
64 vfprintf(stderr, format, args); in perf_gtk__warning_info_bar()
65 fprintf(stderr, "\n"); in perf_gtk__warning_info_bar()
84 fprintf(stderr, "Warning:\n"); in perf_gtk__warning_statusbar()
85 vfprintf(stderr, format, args); in perf_gtk__warning_statusbar()
86 fprintf(stderr, "\n"); in perf_gtk__warning_statusbar()
/tools/testing/selftests/android/ion/
Dionutils.c19 fprintf(stderr, "<%s>: Invalid buffer...\n", __func__); in write_buffer()
36 fprintf(stderr, "<%s>: Invalid buffer...\n", __func__); in read_buffer()
57 fprintf(stderr, "<%s>: Invalid ion info\n", __func__); in ion_export_buffer_fd()
64 fprintf(stderr, "<%s>: Failed to open ion client: %s\n", in ion_export_buffer_fd()
75 fprintf(stderr, "<%s>: Failed: ION_IOC_HEAP_QUERY: %s\n", in ion_export_buffer_fd()
89 fprintf(stderr, "<%s>: ERROR: heap type does not exists\n", in ion_export_buffer_fd()
101 fprintf(stderr, "<%s>: Failed: ION_IOC_ALLOC: %s\n", in ion_export_buffer_fd()
111 fprintf(stderr, "<%s>: Invalid map data, fd: %d, len: %ld\n", in ion_export_buffer_fd()
120 fprintf(stderr, "<%s>: Failed: mmap: %s\n", in ion_export_buffer_fd()
157 fprintf(stderr, "<%s>: Invalid ion info\n", __func__); in ion_import_buffer_fd()
[all …]
Dipcsocket.c19 fprintf(stderr, "<%s>: Invalid socket name.\n", __func__); in opensocket()
25 fprintf(stderr, "<%s>: Failed socket: <%s>\n", in opensocket()
33 fprintf(stderr, "<%s>: Failed setsockopt: <%s>\n", in opensocket()
54 fprintf(stderr, "<%s>: Failed bind: <%s>\n", in opensocket()
61 fprintf(stderr, "<%s>: Failed listen: <%s>\n", in opensocket()
72 fprintf(stderr, "<%s>: Failed accept: <%s>\n", in opensocket()
90 fprintf(stderr, "<%s>: Failed connect: <%s>\n", in opensocket()
117 fprintf(stderr, "<%s>: socketdata is NULL\n", __func__); in sendtosocket()
129 fprintf(stderr, "<%s>: Failed select: <%s>\n", in sendtosocket()
152 fprintf(stderr, "<%s>: Failed sendmsg: <%s>\n", in sendtosocket()
[all …]
Dionapp_import.c32 fprintf(stderr, "No exporter exists...\n"); in main()
41 fprintf(stderr, "Failed: socket_receive_fd\n"); in main()
48 fprintf(stderr, "ERROR: improper buf fd\n"); in main()
59 fprintf(stderr, "Failed: ion_use_buffer_fd\n"); in main()
/tools/testing/selftests/ia64/
Daliasing-test.c91 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree()
93 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree()
95 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree()
182 fprintf(stderr, "PASS: %s read %d bytes\n", path2, rc); in scan_rom()
184 fprintf(stderr, "PASS: %s not readable\n", path2); in scan_rom()
211 fprintf(stderr, "PASS: /dev/mem 0x0-0xa0000 is readable\n"); in main()
213 fprintf(stderr, "FAIL: /dev/mem 0x0-0xa0000 not accessible\n"); in main()
223 fprintf(stderr, "PASS: /dev/mem 0xa0000-0xc0000 is mappable\n"); in main()
225 fprintf(stderr, "FAIL: /dev/mem 0xa0000-0xc0000 not accessible\n"); in main()
228 fprintf(stderr, "PASS: /dev/mem 0xc0000-0x100000 is readable\n"); in main()
[all …]
/tools/power/acpi/tools/acpidump/
Dapfiles.c35 fprintf(stderr, in ap_is_existing_file()
79 fprintf(stderr, "Could not open output file: %s\n", pathname); in ap_open_output_file()
140 fprintf(stderr, in ap_write_to_binary_file()
150 fprintf(stderr, "Could not open output file: %s\n", filename); in ap_write_to_binary_file()
156 fprintf(stderr, "Error writing binary output file: %s\n", in ap_write_to_binary_file()
191 fprintf(stderr, "Could not open input file: %s\n", pathname); in ap_get_table_from_file()
199 fprintf(stderr, in ap_get_table_from_file()
208 fprintf(stderr, in ap_get_table_from_file()
218 fprintf(stderr, "Could not read input file: %s\n", pathname); in ap_get_table_from_file()
Dapdump.c38 fprintf(stderr, in ap_is_valid_header()
47 fprintf(stderr, "Table length (0x%8.8X) is invalid\n", in ap_is_valid_header()
85 fprintf(stderr, "%4.4s: Warning: wrong checksum in table\n", in ap_is_valid_checksum()
209 fprintf(stderr, in ap_dump_all_tables()
214 fprintf(stderr, in ap_dump_all_tables()
258 fprintf(stderr, "%s: Could not convert to a physical address\n", in ap_dump_table_by_address()
266 fprintf(stderr, "Could not get table at 0x%8.8X%8.8X, %s\n", in ap_dump_table_by_address()
300 fprintf(stderr, in ap_dump_table_by_name()
332 fprintf(stderr, in ap_dump_table_by_name()
377 fprintf(stderr, in ap_dump_table_from_file()
[all …]
Dapmain.c109 fprintf(stderr, "Too many table options (max %d)\n", in ap_insert_action()
155 fprintf(stderr, in ap_do_options()
180 fprintf(stderr, in ap_do_options()
206 fprintf(stderr, in ap_do_options()
212 fprintf(stderr, in ap_do_options()
228 fprintf(stderr, ACPI_COMMON_SIGNON(AP_UTILITY_NAME)); in ap_do_options()
340 fprintf(stderr, in main()
357 fprintf(stderr, in main()
/tools/testing/selftests/uevent/
Duevent_filtering.c96 fprintf(stderr, "%s - Failed to open uevent socket\n", strerror(errno)); in uevent_listener()
103 fprintf(stderr, "%s - Failed to set socket options\n", strerror(errno)); in uevent_listener()
113 fprintf(stderr, "%s - Failed to bind socket\n", strerror(errno)); in uevent_listener()
119 fprintf(stderr, "%s - Failed to retrieve socket name\n", strerror(errno)); in uevent_listener()
124 fprintf(stderr, "Invalid socket address size\n"); in uevent_listener()
131 fprintf(stderr, in uevent_listener()
141 fprintf(stderr, in uevent_listener()
151 fprintf(stderr, "Failed to synchronize with parent process\n"); in uevent_listener()
161 fprintf(stderr, "%s - Failed to receive uevent\n", strerror(errno)); in uevent_listener()
175 fprintf(stderr, "Received unexpected uevent:\n"); in uevent_listener()
[all …]
/tools/firmware/
Dihex2fw.c63 fprintf(stderr, "ihex2fw: Convert ihex files into binary " in usage()
65 fprintf(stderr, "usage: ihex2fw [<options>] <src.HEX> <dst.fw>\n"); in usage()
66 fprintf(stderr, " -w: wide records (16-bit length)\n"); in usage()
67 fprintf(stderr, " -s: sort records by address\n"); in usage()
68 fprintf(stderr, " -j: include records for CS:IP/EIP address\n"); in usage()
103 fprintf(stderr, "Failed to open source file: %s", in main()
122 fprintf(stderr, "Failed to open destination file: %s", in main()
153 fprintf(stderr, "Can't find valid record at line %d\n", line); in process_ihex()
165 fprintf(stderr, "out of memory for records\n"); in process_ihex()
173 fprintf(stderr, "Not enough data to read complete record at line %d\n", in process_ihex()
[all …]
/tools/iio/
Diio_generic_buffer.c224 fprintf(stderr, "Enabling/disabling channels: can't open %s\n", in enable_disable_all_channels()
238 fprintf(stderr, "Failed to enable/disable %s\n", in enable_disable_all_channels()
253 fprintf(stderr, "Usage: generic_buffer [options]...\n" in print_usage()
285 fprintf(stderr, "Failed to disable trigger: %s\n", in cleanup()
294 fprintf(stderr, "Failed to disable buffer: %s\n", in cleanup()
302 fprintf(stderr, "Failed to disable all channels\n"); in cleanup()
309 fprintf(stderr, "Caught signal %d\n", signum); in sig_handler()
437 fprintf(stderr, "Device not set\n"); in main()
442 fprintf(stderr, "Only one of --device-num or --device-name needs to be set\n"); in main()
449 fprintf(stderr, "Failed to find the %s\n", device_name); in main()
[all …]
/tools/testing/selftests/bpf/
Dxdping.c64 fprintf(stderr, "Expected %d samples, got %d.\n", count, i); in get_stats()
75 fprintf(stderr, in show_usage()
112 fprintf(stderr, in main()
122 fprintf(stderr, "Could not get interface %s\n", in main()
153 fprintf(stderr, "-N or -S can be specified, not both.\n"); in main()
161 fprintf(stderr, "Could not resolve %s\n", argv[optind]); in main()
177 fprintf(stderr, "load of %s failed\n", filename); in main()
187 fprintf(stderr, "could not find xdping program"); in main()
195 fprintf(stderr, "Could not find ping map"); in main()
207 fprintf(stderr, "Link set xdp fd failed for %s\n", ifname); in main()
[all …]
/tools/power/x86/intel-speed-select/
Disst-config.c689 fprintf(stderr, \
733 fprintf(stderr, in dump_isst_config()
735 fprintf(stderr, in dump_isst_config()
737 fprintf(stderr, "Optional: -l|--level : Specify tdp level\n"); in dump_isst_config()
738 fprintf(stderr, in dump_isst_config()
771 fprintf(stderr, "Option is set to online/offline\n"); in set_tdp_level_for_cpu()
781 fprintf(stderr, "online cpu %d\n", i); in set_tdp_level_for_cpu()
784 fprintf(stderr, "offline cpu %d\n", i); in set_tdp_level_for_cpu()
796 fprintf(stderr, "Set Config TDP level\n"); in set_tdp_level()
797 fprintf(stderr, in set_tdp_level()
[all …]
/tools/testing/selftests/powerpc/dscr/
Ddscr_inherit_exec_test.c29 fprintf(stderr, "Parent DSCR %ld was not inherited " in do_exec()
35 fprintf(stderr, "Parent DSCR %ld was not inherited " in do_exec()
73 fprintf(stderr, "Child didn't exit cleanly\n"); in dscr_inherit_exec()
78 fprintf(stderr, "Child didn't exit cleanly\n"); in dscr_inherit_exec()
100 fprintf(stderr, "Usage: %s\n", argv[0]); in main()
Ddscr_inherit_test.c53 fprintf(stderr, "Child didn't exit cleanly\n"); in dscr_inherit()
58 fprintf(stderr, "Child didn't exit cleanly\n"); in dscr_inherit()
64 fprintf(stderr, "Kernel DSCR should be %ld " in dscr_inherit()
71 fprintf(stderr, "User DSCR should be %ld " in dscr_inherit()
/tools/gpio/
Dgpio-event-mon.c47 fprintf(stderr, "Failed to open %s\n", chrdev_name); in monitor_device()
59 fprintf(stderr, "Failed to issue GET EVENT " in monitor_device()
69 fprintf(stderr, "Failed to issue GPIOHANDLE GET LINE " in monitor_device()
84 fprintf(stderr, "nothing available\n"); in monitor_device()
88 fprintf(stderr, "Failed to read event (%d)\n", in monitor_device()
95 fprintf(stderr, "Reading event failed\n"); in monitor_device()
126 fprintf(stderr, "Usage: gpio-event-mon [options]...\n" in print_usage()
/tools/lib/subcmd/
Dparse-options.c23 fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason); in opterror()
25 fprintf(stderr, " Error: option `no-%s' %s", opt->long_name, reason); in opterror()
27 fprintf(stderr, " Error: option `%s' %s", opt->long_name, reason); in opterror()
41 fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason); in optwarning()
43 fprintf(stderr, " Warning: option `no-%s' %s", opt->long_name, reason); in optwarning()
45 fprintf(stderr, " Warning: option `%s' %s", opt->long_name, reason); in optwarning()
453 fprintf(stderr, in parse_long_opt()
479 fprintf(stderr, " Error: did you mean `--%s` (with two dashes ?)\n", arg); in check_typos()
487 fprintf(stderr, " Error: did you mean `--%s` (with two dashes ?)\n", arg); in check_typos()
699 fputc('\n', stderr); in print_option_help()
[all …]
/tools/perf/ui/
Dutil.c11 fprintf(stderr, "Error:\n"); in perf_stdio__error()
12 vfprintf(stderr, format, args); in perf_stdio__error()
18 fprintf(stderr, "Warning:\n"); in perf_stdio__warning()
19 vfprintf(stderr, format, args); in perf_stdio__warning()

12345678910>>...12