/linux-6.1.9/tools/pci/ |
D | pcitest.c | 55 fprintf(stdout, "BAR%d:\t\t", test->barnum); in run_test() 57 fprintf(stdout, "TEST FAILED\n"); in run_test() 59 fprintf(stdout, "%s\n", result[ret]); in run_test() 64 fprintf(stdout, "SET IRQ TYPE TO %s:\t\t", irq[test->irqtype]); in run_test() 66 fprintf(stdout, "FAILED\n"); in run_test() 68 fprintf(stdout, "%s\n", result[ret]); in run_test() 73 fprintf(stdout, "GET IRQ TYPE:\t\t"); in run_test() 75 fprintf(stdout, "FAILED\n"); in run_test() 77 fprintf(stdout, "%s\n", irq[ret]); in run_test() 82 fprintf(stdout, "CLEAR IRQ:\t\t"); in run_test() [all …]
|
/linux-6.1.9/tools/gpio/ |
D | gpio-hammer.c | 55 fprintf(stdout, "Hammer lines ["); in hammer_device() 57 fprintf(stdout, "%d", lines[i]); in hammer_device() 59 fprintf(stdout, ", "); in hammer_device() 61 fprintf(stdout, "] on %s, initial states: [", device_name); in hammer_device() 63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); in hammer_device() 65 fprintf(stdout, ", "); in hammer_device() 67 fprintf(stdout, "]\n"); in hammer_device() 85 fprintf(stdout, "[%c] ", swirr[j]); in hammer_device() 90 fprintf(stdout, "["); in hammer_device() 92 fprintf(stdout, "%d: %d", lines[i], in hammer_device() [all …]
|
D | lsgpio.c | 81 fprintf(stdout, field_format, flagnames[i].name); in print_attributes() 88 fprintf(stdout, field_format, "both-edges"); in print_attributes() 90 fprintf(stdout, field_format, "rising-edge"); in print_attributes() 92 fprintf(stdout, field_format, "falling-edge"); in print_attributes() 96 fprintf(stdout, ", debounce_period=%dusec", in print_attributes() 127 fprintf(stdout, "GPIO chip: %s, \"%s\", %u GPIO lines\n", in list_device() 143 fprintf(stdout, "\tline %2d:", linfo.offset); in list_device() 145 fprintf(stdout, " \"%s\"", linfo.name); in list_device() 147 fprintf(stdout, " unnamed"); in list_device() 149 fprintf(stdout, " \"%s\"", linfo.consumer); in list_device() [all …]
|
D | gpio-event-mon.c | 72 fprintf(stdout, "Monitoring line %d on %s\n", lines[0], device_name); in monitor_device() 73 fprintf(stdout, "Initial line value: %d\n", in monitor_device() 76 fprintf(stdout, "Monitoring lines %d", lines[0]); in monitor_device() 78 fprintf(stdout, ", %d", lines[i]); in monitor_device() 79 fprintf(stdout, " and %d on %s\n", lines[i], device_name); in monitor_device() 80 fprintf(stdout, "Initial line values: %d", in monitor_device() 83 fprintf(stdout, ", %d", in monitor_device() 85 fprintf(stdout, " and %d\n", in monitor_device() 111 fprintf(stdout, "GPIO EVENT at %" PRIu64 " on line %d (%d|%d) ", in monitor_device() 116 fprintf(stdout, "rising edge"); in monitor_device() [all …]
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | devlink_port_split.py | 32 p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True) 33 stdout, stderr = p.communicate() 34 stdout, stderr = stdout.decode(), stderr.decode() 38 print(stdout) 40 return stdout, stderr 58 stdout, stderr = run_command(cmd) 60 ports = json.loads(stdout)['port'] 80 stdout, stderr = run_command(cmd) 82 values = list(json.loads(stdout)['port'].values())[0] 98 stdout, stderr = run_command(cmd) [all …]
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | netlink_dumper.h | 19 fprintf(stdout, "%s {", name); \ 28 fprintf(stdout, "{"); \ 36 fprintf(stdout, "}"); \ 50 fprintf(stdout, "\n"); \ 59 fprintf(stdout, fmt_str, name); \ 68 fprintf(stdout, "%s", endstr); \ 76 fprintf(stdout, fmt_str, val); \ 84 fprintf(stdout, fmt_str, str); \ 92 fprintf(stdout, "%s ", str); \
|
/linux-6.1.9/tools/testing/selftests/prctl/ |
D | disable-tsc-test.c | 47 fflush(stdout); in sigsegv_cb() 54 fflush(stdout); in sigsegv_cb() 69 fflush(stdout); in main() 77 fflush(stdout); in main() 84 fflush(stdout); in main() 90 fflush(stdout); in main() 92 fflush(stdout); in main()
|
/linux-6.1.9/tools/perf/util/hisi-ptt-decoder/ |
D | hisi-ptt-pkt-decoder.c | 96 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_print_pkt() 98 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_print_pkt() 100 color_fprintf(stdout, color, " "); in hisi_ptt_print_pkt() 101 color_fprintf(stdout, color, " %s\n", desc); in hisi_ptt_print_pkt() 130 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_4dw_print_dw0() 132 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_4dw_print_dw0() 134 color_fprintf(stdout, color, " "); in hisi_ptt_4dw_print_dw0() 136 color_fprintf(stdout, color, in hisi_ptt_4dw_print_dw0()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_progs.c | 34 fflush(stdout); in stdio_hijack_init() 37 stdout = open_memstream(log_buf, log_cnt); in stdio_hijack_init() 38 if (!stdout) { in stdio_hijack_init() 39 stdout = env.stdout; in stdio_hijack_init() 45 env.subtest_state->stdout = stdout; in stdio_hijack_init() 47 env.test_state->stdout = stdout; in stdio_hijack_init() 49 stderr = stdout; in stdio_hijack_init() 61 env.stdout = stdout; in stdio_hijack() 76 fflush(stdout); in stdio_restore_cleanup() 79 fclose(env.subtest_state->stdout); in stdio_restore_cleanup() [all …]
|
D | test_progs.h | 75 FILE *stdout; member 92 FILE *stdout; member 111 FILE *stdout; member 178 fprintf(stdout, "%s:FAIL:%d ", __func__, __LINE__); \ 179 fprintf(stdout, ##format); \ 187 fprintf(stdout, "%s:FAIL:%s ", __func__, tag); \ 188 fprintf(stdout, ##format); \ 190 fprintf(stdout, "%s:PASS:%s %d nsec\n", \ 202 fprintf(stdout, "%s:FAIL:%d\n", __func__, __LINE__); \
|
/linux-6.1.9/tools/testing/kunit/ |
D | kunit_parser.py | 19 from kunit_printer import stdout 59 stdout.print_with_timestamp(stdout.red('[ERROR]') + f' Test: {self.name}: {error_message}') 509 stdout.print_with_timestamp(format_test_divider(message, len(message))) 514 stdout.print_with_timestamp(stdout.yellow(m)) 531 return stdout.green('[PASSED] ') + test.name 533 return stdout.yellow('[SKIPPED] ') + test.name 535 return stdout.yellow('[NO TESTS RUN] ') + test.name 538 return stdout.red('[CRASHED] ') + test.name 540 return stdout.red('[FAILED] ') + test.name 552 stdout.print_with_timestamp(format_test_result(test)) [all …]
|
D | kunit.py | 26 from kunit_printer import stdout 75 stdout.print_with_timestamp('Configuring KUnit Kernel ...') 88 stdout.print_with_timestamp('Building KUnit Kernel ...') 160 stdout.print_with_timestamp('Starting KUnit Kernel ({}/{})...'.format(i+1, len(filter_globs))) 223 stdout.print_with_timestamp("Test results stored in %s" % 247 stdout.print_with_timestamp(( 465 stdout.print_with_timestamp(( 476 stdout.print_with_timestamp(( 491 stdout.print_with_timestamp((
|
D | kunit_kernel.py | 21 from kunit_printer import stdout 84 stdout=subprocess.DEVNULL) 129 stdout=subprocess.PIPE, 150 stdout=subprocess.PIPE, 340 assert process.stdout is not None # tell mypy it's set 356 for line in process.stdout: 362 output.write(process.stdout.read()) 364 process.stdout.close()
|
/linux-6.1.9/scripts/ |
D | checkkconfigsymbols.py | 123 COLOR = args.color and sys.stdout.isatty() 229 stdout = subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=False) 230 stdout = stdout.decode(errors='replace') 233 return stdout 247 stdout = execute(["git", "status", "--porcelain"]) 248 for line in stdout: 256 stdout = execute(["git", "rev-parse", "HEAD"]) 257 return stdout.strip('\n') 295 stdout = execute(["git", "ls-files"]) 296 if len(stdout) > 0 and stdout[-1] == "\n": [all …]
|
/linux-6.1.9/Documentation/networking/device_drivers/atm/ |
D | cxacru-cf.py | 39 sys.stdout.write("\n") 44 sys.stdout.write(" ") 45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0])) 48 sys.stdout.write("\n")
|
/linux-6.1.9/tools/perf/scripts/python/ |
D | compaction-times.py | 192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem)) 202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val)) 206 sys.stdout.write("total: %s\n" % chead.str()) 249 sys.stdout.write(usage) 250 sys.stdout.write("\n") 251 sys.stdout.write("-h display this help\n") 252 sys.stdout.write("-p display by process\n") 253 sys.stdout.write("-pv display by process (verbose)\n") 254 sys.stdout.write("-t display stall times only\n") 255 sys.stdout.write("-m display stats for migration\n") [all …]
|
/linux-6.1.9/tools/lib/perf/include/internal/ |
D | tests.h | 34 fprintf(stdout, "- running %s...", __FILE__); \ 42 fprintf(stdout, " FAILED (%d)\n", tests_failed); \ 44 fprintf(stdout, "OK\n"); \
|
/linux-6.1.9/arch/powerpc/platforms/powermac/ |
D | udbg_scc.c | 69 struct device_node *stdout = NULL, *escc = NULL, *macio = NULL; in udbg_scc_init() local 82 stdout = of_find_node_by_path(path); in udbg_scc_init() 84 if (ch == stdout) { in udbg_scc_init() 160 of_node_put(stdout); in udbg_scc_init()
|
/linux-6.1.9/tools/memory-model/scripts/ |
D | checkghlitmus.sh | 51 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr 59 sh > $T/judge.stdout 2> $T/judge.stderr 65 grep '!!!' $T/judge.stdout
|
/linux-6.1.9/tools/perf/ |
D | perf-read-vdso.c | 24 written = fwrite(start, 1, size, stdout); in main() 31 if (fflush(stdout)) in main()
|
D | builtin-buildid-list.c | 95 if (filename__fprintf_build_id(input_name, stdout) > 0) in perf_session__list_build_ids() 123 perf_session__fprintf_dsos_buildid(session, stdout, dso__skip_buildid, with_hits); in perf_session__list_build_ids() 154 return !(sysfs__fprintf_build_id(stdout) > 0); in cmd_buildid_list()
|
/linux-6.1.9/scripts/kconfig/tests/ |
D | conftest.py | 71 stdout=subprocess.PIPE, 87 self.stdout = ps.stdout.read().decode() 109 print(self.stdout)
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | legacy_serial.c | 395 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports() local 406 stdout = of_find_node_by_path(path); in find_legacy_serial_ports() 407 if (stdout) in find_legacy_serial_ports() 408 DBG("stdout is %pOF\n", stdout); in find_legacy_serial_ports() 421 if (index >= 0 && np == stdout) in find_legacy_serial_ports() 434 if (index >= 0 && np == stdout) in find_legacy_serial_ports() 468 if (index >= 0 && np == stdout) in find_legacy_serial_ports() 474 of_node_put(stdout); in find_legacy_serial_ports()
|
/linux-6.1.9/tools/include/nolibc/ |
D | stdio.h | 33 static __attribute__((unused)) FILE* const stdout = (FILE*)-2; variable 86 return fputc(c, stdout); in putchar() 138 if (fputs(s, stdout) == EOF) in puts() 295 ret = vfprintf(stdout, fmt, args); in printf()
|
/linux-6.1.9/tools/perf/util/ |
D | s390-sample-raw.c | 101 color_fprintf(stdout, color, " [%#08zx] Trailer:%c%c%c%c%c" in s390_cpumcfdg_dumptrail() 107 color_fprintf(stdout, color, "\t\t1:%lx 2:%lx 3:%lx TOD-Base:%#llx" in s390_cpumcfdg_dumptrail() 198 color_fprintf(stdout, color, " [%#08zx] Counterset:%d" in s390_cpumcfdg_dump() 203 color_fprintf(stdout, color, in s390_cpumcfdg_dump()
|