Searched refs:journal_fd (Results 1 – 2 of 2) sorted by relevance
/third_party/e2fsprogs/debugfs/ |
D | logdump.c | 88 int journal_fd = -1; in do_logdump() local 205 journal_fd = open(journal_fn, O_RDONLY, 0); in do_logdump() 206 if (journal_fd < 0) { in do_logdump() 212 journal_source.fd = journal_fd; in do_logdump() 260 journal_fd = open(journal_fn, O_RDONLY, 0); in do_logdump() 261 if (journal_fd < 0) { in do_logdump() 271 journal_source.fd = journal_fd; in do_logdump() 275 if (journal_fd >= 0) in do_logdump() 276 close(journal_fd); in do_logdump()
|
/third_party/glib/glib/ |
D | gmessages.c | 2161 static int journal_fd = -1; variable 2172 if ((journal_fd = socket (AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0)) < 0) in open_journal() 2176 if (fcntl (journal_fd, F_SETFD, FD_CLOEXEC) < 0) in open_journal() 2178 close (journal_fd); in open_journal() 2179 journal_fd = -1; in open_journal() 2373 if (journal_fd < 0) in journal_sendv() 2376 if (journal_fd < 0) in journal_sendv() 2391 if (sendmsg (journal_fd, &mh, MSG_NOSIGNAL) >= 0) in journal_sendv() 2434 if (sendmsg (journal_fd, &mh, MSG_NOSIGNAL) >= 0) in journal_sendv()
|