| /linux/fs/bcachefs/ |
| 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() 307 stdio_buf_init(&thr->stdio.input); in bch2_thread_with_stdio_init() 349 if (stdio->done) in bch2_stdio_redirect_read() [all …]
|
| A D | chardev.c | 142 static int bch2_fsck_offline_thread_fn(struct thread_with_stdio *stdio) in bch2_fsck_offline_thread_fn() argument 144 struct fsck_thread *thr = container_of(stdio, struct fsck_thread, thr); in bch2_fsck_offline_thread_fn() 156 bch2_stdio_redirect_printf(&stdio->stdio, false, "%s: errors fixed\n", c->name); in bch2_fsck_offline_thread_fn() 160 bch2_stdio_redirect_printf(&stdio->stdio, false, "%s: still has errors\n", c->name); in bch2_fsck_offline_thread_fn() 226 opt_set(thr->opts, stdio, (u64)(unsigned long)&thr->thr.stdio); in bch2_ioctl_fsck_offline() 778 static int bch2_fsck_online_thread_fn(struct thread_with_stdio *stdio) in bch2_fsck_online_thread_fn() argument 780 struct fsck_thread *thr = container_of(stdio, struct fsck_thread, thr); in bch2_fsck_online_thread_fn() 784 c->stdio = &thr->thr.stdio; in bch2_fsck_online_thread_fn() 804 c->stdio = NULL; in bch2_fsck_online_thread_fn()
|
| A D | error.c | 104 struct stdio_redirect *stdio = c->stdio; in bch2_fsck_ask_yn() local 107 stdio = NULL; in bch2_fsck_ask_yn() 109 if (!stdio) in bch2_fsck_ask_yn() 127 int r = bch2_stdio_redirect_readline_timeout(stdio, &line, t); in bch2_fsck_ask_yn()
|
| A D | super.c | 95 struct stdio_redirect *stdio = bch2_fs_stdio_redirect(c); in bch2_print_str() local 97 if (unlikely(stdio)) { in bch2_print_str() 98 bch2_stdio_redirect_printf(stdio, true, "%s", str); in bch2_print_str() 106 static void bch2_print_maybe_redirect(struct stdio_redirect *stdio, const char *fmt, va_list args) in bch2_print_maybe_redirect() argument 109 if (unlikely(stdio)) { in bch2_print_maybe_redirect() 113 bch2_stdio_redirect_vprintf(stdio, true, fmt, args); in bch2_print_maybe_redirect() 122 struct stdio_redirect *stdio = (void *)(unsigned long)opts->stdio; in bch2_print_opts() local 126 bch2_print_maybe_redirect(stdio, fmt, args); in bch2_print_opts() 132 struct stdio_redirect *stdio = bch2_fs_stdio_redirect(c); in __bch2_print() local 136 bch2_print_maybe_redirect(stdio, fmt, args); in __bch2_print() [all …]
|
| A D | thread_with_file.h | 62 struct stdio_redirect stdio; member
|
| A D | bcachefs.h | 725 struct stdio_redirect *stdio; member 1232 struct stdio_redirect *stdio = c->stdio; in bch2_fs_stdio_redirect() local 1235 stdio = NULL; in bch2_fs_stdio_redirect() 1236 return stdio; in bch2_fs_stdio_redirect()
|
| /linux/tools/perf/tests/shell/base_report/ |
| 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_… 159 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --symbols=dummynonexistingsymbol > $LOGS_DI… 174 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --symbol-filter=map > $LOGS_DIR/basic_symbo…
|
| /linux/tools/perf/tests/shell/lib/ |
| 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/tools/perf/Documentation/ |
| 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
|
| 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.
|
| A D | perf-report.txt | 264 print_limit is only applied when stdio interface is used. It's to limit 317 --stdio:: Use the stdio interface. 319 --stdio-color:: 322 Use '--stdio-color always' to generate color even when redirecting 323 to a pipe or file. Using just '--stdio-color' is equivalent to 329 commands, the stdio interface is used. 449 --stdio output supports this feature. 452 Show only perf.data header (forces --stdio).
|
| A D | perf-kvm.txt | 85 --stdio:: Use the stdio interface.
|
| /linux/tools/perf/tests/shell/ |
| 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…
|
| A D | test_arm_coresight.sh | 62 perf report --stdio -i ${perfdata} 2>&1 | \ 73 perf report --itrace=i20i --stdio -i ${perfdata} 2>&1 | \
|
| A D | annotate.sh | 47 perf annotate -i "${perfdata}" --stdio 2> /dev/null > "${perfout}"
|
| A D | test_java_symbol.sh | 67 perf report --stdio -i ${PERF_INJ_DATA} 2>&1 | \
|
| A D | test_arm_spe.sh | 64 perf report --stdio -i ${perfdata} 2>&1 | \
|
| /linux/arch/alpha/boot/ |
| 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/tools/perf/ui/ |
| A D | Build | 6 perf-ui-y += stdio/hist.o
|
| /linux/arch/um/kernel/ |
| A D | config.c.in | 6 #include <stdio.h>
|
| /linux/tools/include/nolibc/ |
| A D | Makefile | 46 stdio.h \
|
| /linux/Documentation/translations/zh_CN/accounting/ |
| A D | psi.rst | 101 #include <stdio.h>
|
| /linux/Documentation/driver-api/tty/ |
| A D | n_gsm.rst | 39 #include <stdio.h> 137 #include <stdio.h>
|
| /linux/tools/testing/selftests/nolibc/ |
| A D | Makefile | 270 …display none -no-reboot -kernel "$(IMAGE)" -initrd initramfs.cpio -serial stdio $(QEMU_ARGS) > "$(… 275 …display none -no-reboot -kernel "$(IMAGE)" -initrd initramfs.cpio -serial stdio $(QEMU_ARGS) > "$(…
|
| /linux/Documentation/trace/ |
| A D | ring-buffer-map.rst | 54 #include <stdio.h>
|