| /Linux-v5.10/samples/timers/ |
| D | hpet_example.c | 59 fprintf(stderr, "-hpet: requires command\n"); in main() 68 fprintf(stderr, "-hpet: executing %s\n", in main() 74 fprintf(stderr, "do_hpet: command %s not implemented\n", argv[0]); in main() 85 fprintf(stderr, "hpet_open_close: device-name\n"); in hpet_open_close() 91 fprintf(stderr, "hpet_open_close: open failed\n"); in hpet_open_close() 105 fprintf(stderr, "hpet_info: device-name\n"); in hpet_info() 111 fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]); in hpet_info() 116 fprintf(stderr, "hpet_info: failed to get info\n"); in hpet_info() 120 fprintf(stderr, "hpet_info: hi_irqfreq 0x%lx hi_flags 0x%lx ", in hpet_info() 122 fprintf(stderr, "hi_hpet %d hi_timer %d\n", in hpet_info() [all …]
|
| /Linux-v5.10/tools/testing/selftests/net/ |
| D | devlink_port_split.py | 30 p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True) 31 stdout, stderr = p.communicate() 32 stdout, stderr = stdout.decode(), stderr.decode() 34 if stderr != "" and not should_fail: 37 print(stderr) 38 return stdout, stderr 56 stdout, stderr = run_command(cmd) 57 assert stderr == "" 78 stdout, stderr = run_command(cmd) 79 assert stderr == "" [all …]
|
| D | psock_fanout.c | 161 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 …]
|
| D | txtimestamp.c | 146 fprintf(stderr, "ERROR: key %d, expected %d\n", in validate_key() 164 fprintf(stderr, "ERROR: %lu us expected between %d and %d\n", in validate_timestamp() 173 fprintf(stderr, "%lu ns", ts_delta); in __print_ts_delta_formatted() 175 fprintf(stderr, "%lu us", ts_delta / NSEC_PER_USEC); in __print_ts_delta_formatted() 187 fprintf(stderr, " %s: %lu s %lu ns (seq=%u, len=%u)", in __print_timestamp() 191 fprintf(stderr, " %s: %lu s %lu us (seq=%u, len=%u)", in __print_timestamp() 197 fprintf(stderr, " (USR +"); in __print_timestamp() 199 fprintf(stderr, ")"); in __print_timestamp() 202 fprintf(stderr, "\n"); in __print_timestamp() 248 fprintf(stderr, " %s: count=%d", name, te->count); in print_timing_event() [all …]
|
| /Linux-v5.10/samples/uhid/ |
| D | uhid-example.c | 165 fprintf(stderr, "Cannot write to uhid: %m\n"); in uhid_write() 168 fprintf(stderr, "Wrong size written to uhid: %zd != %zu\n", in uhid_write() 221 fprintf(stderr, "LED output report received with flags %x\n", in handle_output() 233 fprintf(stderr, "Read HUP on uhid-cdev\n"); in event() 236 fprintf(stderr, "Cannot read uhid-cdev: %m\n"); in event() 239 fprintf(stderr, "Invalid size read from uhid-dev: %zd != %zu\n", in event() 246 fprintf(stderr, "UHID_START from uhid-dev\n"); in event() 249 fprintf(stderr, "UHID_STOP from uhid-dev\n"); in event() 252 fprintf(stderr, "UHID_OPEN from uhid-dev\n"); in event() 255 fprintf(stderr, "UHID_CLOSE from uhid-dev\n"); in event() [all …]
|
| /Linux-v5.10/tools/testing/selftests/vm/ |
| D | userfaultfd.c | 129 fprintf(stderr, "\nUsage: ./userfaultfd <test type> <MiB> <bounces> " in usage() 131 fprintf(stderr, "Supported <test type>: anon, hugetlb, " in usage() 133 fprintf(stderr, "Examples:\n\n"); in usage() 134 fprintf(stderr, "%s", examples); in usage() 184 fprintf(stderr, "out of memory\n"); in anon_allocate_area() 286 fprintf(stderr, "shared memory mmap failed\n"); in shmem_allocate_area() 350 fprintf(stderr, "clear WP failed for address 0x%Lx\n", start); in wp_range() 373 fprintf(stderr, "srandom_r error\n"); in locking_thread() 385 fprintf(stderr, "random_r 1 error\n"); in locking_thread() 391 fprintf(stderr, "random_r 2 error\n"); in locking_thread() [all …]
|
| /Linux-v5.10/tools/testing/selftests/timers/ |
| D | rtcpie.c | 42 fprintf(stderr, "usage: rtctest [rtcdev] [d]\n"); in main() 58 fprintf(stderr, "\nNo periodic IRQ support\n"); in main() 64 fprintf(stderr, "\nPeriodic IRQ rate is %ldHz.\n", old_pie_rate); in main() 66 fprintf(stderr, "Counting 20 interrupts at:"); in main() 67 fflush(stderr); in main() 76 fprintf(stderr, in main() 84 fprintf(stderr, "\n%ldHz:\t", tmp); in main() 85 fflush(stderr); in main() 106 fprintf(stderr, "\nPIE delta error: %ld.%06ld should be close to 0.%06ld\n", in main() 113 fprintf(stderr, " %d",i); in main() [all …]
|
| /Linux-v5.10/tools/testing/selftests/filesystems/ |
| D | devpts_pts.c | 107 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 …]
|
| /Linux-v5.10/tools/testing/selftests/powerpc/nx-gzip/ |
| D | gunz_test.c | 120 NXPRT(fprintf(stderr, "%d: %s addr %p len %x\n", __LINE__, addr, in nx_append_dde() 186 NXPRT(fprintf(stderr, "%s dde_count %d request len ", __func__, in nx_touch_pages_dde() 188 NXPRT(fprintf(stderr, "0x%lx\n", buf_sz)); in nx_touch_pages_dde() 195 NXPRT(fprintf(stderr, "touch direct ddebc 0x%x ddead %p\n", in nx_touch_pages_dde() 223 NXPRT(fprintf(stderr, "touch loop len 0x%x ddead %p total ", in nx_touch_pages_dde() 225 NXPRT(fprintf(stderr, "0x%lx\n", total)); in nx_touch_pages_dde() 231 NXPRT(fprintf(stderr, "touch loop break len 0x%x ", in nx_touch_pages_dde() 233 NXPRT(fprintf(stderr, "ddead %p\n", (void *)buf_addr)); in nx_touch_pages_dde() 305 fprintf(stderr, "usage: %s <fname> or stdin\n", argv[0]); in decompress_file() 306 fprintf(stderr, " writes to stdout or <fname>.nx.gunzip\n"); in decompress_file() [all …]
|
| /Linux-v5.10/tools/testing/selftests/arm64/signal/ |
| D | test_signals_utils.c | 63 fprintf(stderr, "==>> completed. SKIP.\n"); in default_result() 65 fprintf(stderr, "==>> completed. PASS(1)\n"); in default_result() 94 fprintf(stderr, in handle_signal_unsupported() 97 fprintf(stderr, in handle_signal_unsupported() 124 fprintf(stderr, in handle_signal_ok() 170 fprintf(stderr, in handle_signal_copyctx() 180 fprintf(stderr, "Handled SIG_UNSUPP\n"); in default_handler() 183 fprintf(stderr, "Handled SIG_TRIG\n"); in default_handler() 186 fprintf(stderr, "Handled SIG_OK\n"); in default_handler() 189 fprintf(stderr, "Handled SIG_COPYCTX\n"); in default_handler() [all …]
|
| /Linux-v5.10/tools/testing/selftests/net/mptcp/ |
| D | mptcp_connect.c | 62 fprintf(stderr, "Usage: mptcp_connect [-6] [-u] [-s MPTCP|TCP] [-p port] [-m mode]" in die_usage() 64 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage() 65 fprintf(stderr, "\t-t num -- set poll timeout to num\n"); in die_usage() 66 fprintf(stderr, "\t-S num -- set SO_SNDBUF to num\n"); in die_usage() 67 fprintf(stderr, "\t-R num -- set SO_RCVBUF to num\n"); in die_usage() 68 fprintf(stderr, "\t-p num -- use port num\n"); in die_usage() 69 fprintf(stderr, "\t-s [MPTCP|TCP] -- use mptcp(default) or tcp sockets\n"); in die_usage() 70 fprintf(stderr, "\t-m [poll|mmap|sendfile] -- use poll(default)/mmap+write/sendfile\n"); in die_usage() 71 fprintf(stderr, "\t-u -- check mptcp ulp\n"); in die_usage() 72 fprintf(stderr, "\t-w num -- wait num sec before closing the socket\n"); in die_usage() [all …]
|
| /Linux-v5.10/tools/testing/selftests/android/ion/ |
| D | ionutils.c | 19 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 …]
|
| D | ipcsocket.c | 19 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 …]
|
| /Linux-v5.10/tools/testing/selftests/ia64/ |
| D | aliasing-test.c | 91 …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 …]
|
| /Linux-v5.10/tools/testing/selftests/uevent/ |
| D | uevent_filtering.c | 95 fprintf(stderr, "%s - Failed to open uevent socket\n", strerror(errno)); in uevent_listener() 102 fprintf(stderr, "%s - Failed to set socket options\n", strerror(errno)); in uevent_listener() 112 fprintf(stderr, "%s - Failed to bind socket\n", strerror(errno)); in uevent_listener() 118 fprintf(stderr, "%s - Failed to retrieve socket name\n", strerror(errno)); in uevent_listener() 123 fprintf(stderr, "Invalid socket address size\n"); in uevent_listener() 130 fprintf(stderr, in uevent_listener() 140 fprintf(stderr, in uevent_listener() 150 fprintf(stderr, "Failed to synchronize with parent process\n"); in uevent_listener() 160 fprintf(stderr, "%s - Failed to receive uevent\n", strerror(errno)); in uevent_listener() 174 fprintf(stderr, "Received unexpected uevent:\n"); in uevent_listener() [all …]
|
| /Linux-v5.10/tools/testing/selftests/tmpfs/ |
| D | bug-link-o-tmpfile.c | 32 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()
|
| /Linux-v5.10/tools/iio/ |
| D | iio_generic_buffer.c | 214 fprintf(stderr, "Enabling/disabling channels: can't open %s\n", in enable_disable_all_channels() 228 fprintf(stderr, "Failed to enable/disable %s\n", in enable_disable_all_channels() 243 fprintf(stderr, "Usage: generic_buffer [options]...\n" in print_usage() 275 fprintf(stderr, "Failed to disable trigger: %s\n", in cleanup() 284 fprintf(stderr, "Failed to disable buffer: %s\n", in cleanup() 292 fprintf(stderr, "Failed to disable all channels\n"); in cleanup() 299 fprintf(stderr, "Caught signal %d\n", signum); in sig_handler() 427 fprintf(stderr, "Device not set\n"); in main() 432 fprintf(stderr, "Only one of --device-num or --device-name needs to be set\n"); in main() 439 fprintf(stderr, "Failed to find the %s\n", device_name); in main() [all …]
|
| /Linux-v5.10/tools/testing/selftests/exec/ |
| D | recursion-depth.c | 31 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()
|
| /Linux-v5.10/tools/perf/ui/gtk/ |
| D | util.c | 38 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()
|
| /Linux-v5.10/tools/power/acpi/tools/acpidump/ |
| D | apdump.c | 38 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 …]
|
| D | apfiles.c | 35 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()
|
| /Linux-v5.10/tools/firmware/ |
| D | ihex2fw.c | 63 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 …]
|
| /Linux-v5.10/tools/testing/selftests/bpf/benchs/ |
| D | bench_ringbufs.c | 61 fprintf(stderr, "Invalid batch count."); in parse_arg() 71 fprintf(stderr, "Invalid perfbuf sample rate."); in parse_arg() 99 fprintf(stderr, "rb-libbpf benchmark doesn't support multi-consumer!\n"); in bufs_validate() 104 fprintf(stderr, "back-to-back mode makes sense only for single-producer case!\n"); in bufs_validate() 143 fprintf(stderr, "failed to open skeleton\n"); in ringbuf_setup_skeleton() 157 fprintf(stderr, "failed to load skeleton\n"); in ringbuf_setup_skeleton() 179 fprintf(stderr, "failed to create ringbuf\n"); in ringbuf_libbpf_setup() 185 fprintf(stderr, "failed to attach program!\n"); in ringbuf_libbpf_setup() 198 fprintf(stderr, "ringbuf polling failed!\n"); in ringbuf_libbpf_consumer() 239 fprintf(stderr, "failed to create epoll fd: %d\n", -errno); in ringbuf_custom_setup() [all …]
|
| /Linux-v5.10/tools/power/x86/intel-speed-select/ |
| D | isst-config.c | 249 fprintf(stderr, "Can't create file:%s\n", pathname); in store_cpu_topology() 253 fprintf(stderr, "Caching topology information\n"); in store_cpu_topology() 276 fprintf(stderr, "Can't write to:%s\n", pathname); in store_cpu_topology() 362 fprintf(stderr, "This system is not configured for CPU 0 online/offline\n"); in set_cpu_online_offline() 363 fprintf(stderr, "Ignoring online request for CPU 0 as this is already online\n"); in set_cpu_online_offline() 454 fprintf(stderr, "No valid CPU in the list\n"); in for_each_online_target_cpu_in_set() 476 fprintf(stderr, "Can't get max cpu number\n"); in set_max_cpu_num() 533 fprintf(stderr, "Failed to get package id, CPU %d may be offline\n", i); in set_cpu_present_cpu_mask() 721 fprintf(stderr, "Check presence of kernel modules: isst_if_mmio\n"); in isst_send_mmio_command() 810 fprintf(stderr, "Check presence of kernel modules: isst_if_mbox_pci or isst_if_mbox_msr\n"); in isst_send_mbox_command() [all …]
|
| /Linux-v5.10/drivers/tty/vt/ |
| D | conmakehash.c | 26 fprintf(stderr, "Usage: \n" in usage() 65 fprintf(stderr, "ERROR: Only 255 unicodes/glyph permitted!\n"); in addpair() 119 fprintf(stderr, "%s: Warning: line too long\n", tblname); in main() 142 fprintf(stderr, "Bad input line: %s\n", buffer); in main() 155 fprintf(stderr, "Bad input line: %s\n", buffer); in main() 165 fprintf(stderr, in main() 172 fprintf(stderr, in main() 197 fprintf(stderr, in main() 206 fprintf(stderr, in main() 213 fprintf(stderr, in main() [all …]
|