Lines Matching refs:journal_fd
67 static int journal_fd = -1;
197 journal_fd = safe_close(journal_fd);
209 if (journal_fd >= 0)
212 journal_fd = create_log_socket(SOCK_DGRAM);
213 if (journal_fd < 0) {
214 r = journal_fd;
218 if (connect(journal_fd, &sa.sa, offsetof(struct sockaddr_un, sun_path) + strlen(sa.un.sun_path)) < 0) {
314 console_fd = kmsg_fd = syslog_fd = journal_fd = -1;
535 if (journal_fd < 0)
548 if (sendmsg(journal_fd, &mh, MSG_NOSIGNAL) < 0)
880 journal_fd >= 0) {
900 (void) sendmsg(journal_fd, &mh, MSG_NOSIGNAL);
1078 return syslog_fd < 0 && kmsg_fd < 0 && journal_fd < 0;