Lines Matching refs:console_fd
49 static int console_fd = STDERR_FILENO; variable
85 console_fd = safe_close_above_stdio(console_fd); in log_close_console()
91 console_fd = STDERR_FILENO; in log_open_console()
95 if (console_fd < 3) { in log_open_console()
102 console_fd = fd_move_above_stdio(fd); in log_open_console()
361 console_fd = kmsg_fd = syslog_fd = journal_fd = -1; in log_forget_fds()
390 if (console_fd < 0) in write_to_console()
430 if (writev(console_fd, iovec, n) < 0) { in write_to_console()
439 if (console_fd < 0) in write_to_console()
442 if (writev(console_fd, iovec, n) < 0) in write_to_console()
1495 if (console_fd >= 3) in log_dup_console()
1498 copy = fcntl(console_fd, F_DUPFD_CLOEXEC, 3); in log_dup_console()
1502 console_fd = copy; in log_dup_console()