Lines Matching refs:journal_source
47 struct journal_source struct
54 static void dump_journal(char *, FILE *, struct journal_source *); argument
56 static void dump_descriptor_block(FILE *, struct journal_source *,
63 static void dump_metadata_block(FILE *, struct journal_source *,
91 struct journal_source journal_source; in do_logdump() local
94 journal_source.where = JOURNAL_IS_INTERNAL; in do_logdump()
95 journal_source.fd = 0; in do_logdump()
96 journal_source.file = 0; in do_logdump()
210 journal_source.where = JOURNAL_IS_EXTERNAL; in do_logdump()
211 journal_source.fd = journal_fd; in do_logdump()
238 journal_source.where = JOURNAL_IS_INTERNAL; in do_logdump()
239 journal_source.file = journal_file; in do_logdump()
261 journal_source.where = JOURNAL_IS_EXTERNAL; in do_logdump()
262 journal_source.fd = journal_fd; in do_logdump()
265 dump_journal(argv[0], out_file, &journal_source); in do_logdump()
267 if (journal_source.where == JOURNAL_IS_INTERNAL) in do_logdump()
284 static int read_journal_block(const char *cmd, struct journal_source *source, in read_journal_block()
344 struct journal_source *source) in dump_journal()
500 struct journal_source *source, in dump_descriptor_block()
617 static void dump_metadata_block(FILE *out_file, struct journal_source *source, in dump_metadata_block()