| /linux-6.15/fs/bcachefs/ |
| H A D | thread_with_file.c | 72 return stdio->input.buf.nr > seen || stdio->done; in stdio_redirect_has_more_input() 82 return stdio->output.buf.nr || stdio->done; in stdio_redirect_has_output() 89 return stdio->input.buf.nr < STDIO_REDIRECT_BUFSIZE || stdio->done; in stdio_redirect_has_input_space() 94 return stdio->output.buf.nr < STDIO_REDIRECT_BUFSIZE || stdio->done; in stdio_redirect_has_output_space() 109 thr->stdio.done = true; in thread_with_stdio_done() 110 wake_up(&thr->stdio.input.wait); in thread_with_stdio_done() 111 wake_up(&thr->stdio.output.wait); in thread_with_stdio_done() 161 darray_exit(&thr->stdio.input.buf); in thread_with_stdio_release() 349 if (stdio->done) in bch2_stdio_redirect_read() 381 if (stdio->done) in bch2_stdio_redirect_readline_timeout() [all …]
|
| H A D | error.c | 205 struct stdio_redirect *stdio = c->stdio; in bch2_fsck_ask_yn() local 208 stdio = NULL; in bch2_fsck_ask_yn() 210 if (!stdio) in bch2_fsck_ask_yn() 228 int r = bch2_stdio_redirect_readline_timeout(stdio, &line, t); in bch2_fsck_ask_yn()
|
| H A D | thread_with_file.h | 62 struct stdio_redirect stdio; member
|
| H A D | super.c | 88 struct stdio_redirect *stdio = bch2_fs_stdio_redirect(c); in bch2_print_str() local 90 if (unlikely(stdio)) { in bch2_print_str() 91 bch2_stdio_redirect_printf(stdio, true, "%s", str); in bch2_print_str() 99 static void bch2_print_maybe_redirect(struct stdio_redirect *stdio, const char *fmt, va_list args) in bch2_print_maybe_redirect() argument 102 if (unlikely(stdio)) { in bch2_print_maybe_redirect() 106 bch2_stdio_redirect_vprintf(stdio, true, fmt, args); in bch2_print_maybe_redirect() 115 struct stdio_redirect *stdio = (void *)(unsigned long)opts->stdio; in bch2_print_opts() local 119 bch2_print_maybe_redirect(stdio, fmt, args); in bch2_print_opts() 125 struct stdio_redirect *stdio = bch2_fs_stdio_redirect(c); in __bch2_print() local 129 bch2_print_maybe_redirect(stdio, fmt, args); in __bch2_print() [all …]
|
| H A D | bcachefs.h | 724 struct stdio_redirect *stdio; member 1237 struct stdio_redirect *stdio = c->stdio; in bch2_fs_stdio_redirect() local 1240 stdio = NULL; in bch2_fs_stdio_redirect() 1241 return stdio; in bch2_fs_stdio_redirect()
|
| H A D | fsck.c | 3029 static int bch2_fsck_offline_thread_fn(struct thread_with_stdio *stdio) in bch2_fsck_offline_thread_fn() argument 3031 struct fsck_thread *thr = container_of(stdio, struct fsck_thread, thr); in bch2_fsck_offline_thread_fn() 3043 bch2_stdio_redirect_printf(&stdio->stdio, false, "%s: errors fixed\n", c->name); in bch2_fsck_offline_thread_fn() 3047 bch2_stdio_redirect_printf(&stdio->stdio, false, "%s: still has errors\n", c->name); in bch2_fsck_offline_thread_fn() 3113 opt_set(thr->opts, stdio, (u64)(unsigned long)&thr->thr.stdio); in bch2_ioctl_fsck_offline() 3141 static int bch2_fsck_online_thread_fn(struct thread_with_stdio *stdio) in bch2_fsck_online_thread_fn() argument 3143 struct fsck_thread *thr = container_of(stdio, struct fsck_thread, thr); in bch2_fsck_online_thread_fn() 3147 c->stdio = &thr->thr.stdio; in bch2_fsck_online_thread_fn() 3167 c->stdio = NULL; in bch2_fsck_online_thread_fn()
|
| /linux-6.15/tools/perf/tests/shell/base_report/ |
| H A D | test_basic.sh | 53 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio > $LOGS_DIR/basic_basic.log 2> $LOGS_DIR/ba… 72 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --show-nr-samples > $LOGS_DIR/basic_nrsampl… 89 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio --header-only > $LOGS_DIR/basic_header.log 108 OLD_TIMESTAMP=`$CMD_PERF report --stdio --header-only -i $CURRENT_TEST_DIR/perf.data | grep "captur… 114 NEW_TIMESTAMP=`$CMD_PERF report --stdio --header-only -i $HEADER_TAR_DIR/perf.data | grep "captured… 127 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio --showcpuutilization > $LOGS_DIR/basic_cpuu… 144 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --pid=1 > $LOGS_DIR/basic_pid.log 2> $LOGS_… 174 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --symbol-filter=map > $LOGS_DIR/basic_symbo… 189 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data.1 --stdio --header-only > $LOGS_DIR/latency_header.… 200 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data.1 > $LOGS_DIR/latency_default.log 2> $LOGS_… [all …]
|
| /linux-6.15/tools/perf/Documentation/ |
| H A D | perf-annotate.txt | 80 --stdio:: Use the stdio interface. 84 --stdio-color=<mode>:: 87 Use '--stdio-color always' to generate color even when redirecting 88 to a pipe or file. Using just '--stdio-color' is equivalent to 92 present, as when piping to other commands, the stdio interface is 155 stdio or stdio2 (Default: 0). Note that this is about selection of 173 Currently it only works with --stdio option.
|
| H A D | perf-c2c.txt | 97 --stdio:: 98 Force the stdio output (see STDIO OUTPUT) 101 Display only statistic tables and force stdio mode. 174 display modes: stdio and tui (default). 187 (Both stdio and TUI modes follow the same fields output) 311 The stdio output displays data on standard output.
|
| H A D | perf-report.txt | 282 print_limit is only applied when stdio interface is used. It's to limit 335 --stdio:: Use the stdio interface. 337 --stdio-color:: 340 Use '--stdio-color always' to generate color even when redirecting 341 to a pipe or file. Using just '--stdio-color' is equivalent to 347 commands, the stdio interface is used. 475 --stdio output supports this feature. 478 Show only perf.data header (forces --stdio).
|
| H A D | perf-kvm.txt | 85 --stdio:: Use the stdio interface.
|
| /linux-6.15/tools/perf/tests/shell/lib/ |
| H A D | coresight.sh | 55 perf report --stdio --dump -i "$1" | \ 104 FOUND_TIDS=$(perf report --stdio --dump -i "$1" | \ 110 FOUND_TIDS=$(perf report --stdio --dump -i "$1" | \
|
| /linux-6.15/tools/perf/tests/shell/ |
| H A D | record+zstd_comp_decomp.sh | 28 …$perf_tool report -i "$trace_file" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.comp.output… 29 …$perf_tool report -i "$trace_file.decomp" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.deco…
|
| H A D | annotate.sh | 56 perf annotate --no-demangle -i "${perfdata}" --stdio 2> /dev/null > "${perfout}" 58 perf annotate --no-demangle -i - --stdio 2> /dev/null < "${perfdata}" > "${perfout}"
|
| H A D | test_arm_coresight.sh | 62 perf report --stdio -i ${perfdata} 2>&1 | \ 73 perf report --itrace=i20i --stdio -i ${perfdata} 2>&1 | \
|
| H A D | test_java_symbol.sh | 67 perf report --stdio -i ${PERF_INJ_DATA} 2>&1 | \
|
| H A D | test_arm_spe.sh | 64 perf report --stdio -i ${perfdata} 2>&1 | \
|
| /linux-6.15/arch/alpha/boot/ |
| H A D | Makefile | 107 OBJ_bootlx := $(obj)/head.o $(obj)/stdio.o $(obj)/main.o 108 OBJ_bootph := $(obj)/head.o $(obj)/stdio.o $(obj)/bootp.o 109 OBJ_bootpzh := $(obj)/head.o $(obj)/stdio.o $(obj)/bootpz.o $(obj)/misc.o
|
| /linux-6.15/tools/perf/ui/ |
| H A D | Build | 6 perf-ui-y += stdio/hist.o
|
| /linux-6.15/arch/um/kernel/ |
| H A D | config.c.in | 6 #include <stdio.h>
|
| /linux-6.15/tools/include/nolibc/ |
| H A D | Makefile | 48 stdio.h \
|
| /linux-6.15/Documentation/translations/zh_CN/accounting/ |
| H A D | psi.rst | 101 #include <stdio.h>
|
| /linux-6.15/Documentation/driver-api/tty/ |
| H A D | n_gsm.rst | 39 #include <stdio.h> 137 #include <stdio.h>
|
| /linux-6.15/tools/testing/selftests/nolibc/ |
| H A D | Makefile | 293 …display none -no-reboot -kernel "$(IMAGE)" -initrd initramfs.cpio -serial stdio $(QEMU_ARGS) > "$(… 298 …display none -no-reboot -kernel "$(IMAGE)" -initrd initramfs.cpio -serial stdio $(QEMU_ARGS) > "$(…
|
| /linux-6.15/Documentation/arch/riscv/ |
| H A D | cmodx.rst | 53 #include <stdio.h>
|