Home | History | Annotate | Download | only in debugfs

Lines Matching defs:file

2  * logdump.c --- dump the contents of the journal out to a file
8 * This file may be redistributed under the terms of the GNU Public
50 ext2_file_t file;
53 static void dump_journal(char *, FILE *, struct journal_source *);
55 static void dump_descriptor_block(FILE *, struct journal_source *,
59 static void dump_revoke_block(FILE *, char *, journal_superblock_t *,
62 static void dump_metadata_block(FILE *, struct journal_source *,
67 static void do_hexdump (FILE *, char *, int);
79 FILE *out_file;
94 journal_source.file = 0;
192 /* Set up to read journal from a regular file somewhere */
224 com_err(argv[0], retval, "while opening ext2 file");
228 journal_source.file = journal_file;
292 retval = ext2fs_file_lseek(source->file, offset,
299 retval = ext2fs_file_read(source->file, buf, size, got);
331 static void dump_journal(char *cmdname, FILE *out_file,
462 static void dump_descriptor_block(FILE *out_file,
520 static void dump_revoke_block(FILE *out_file, char *buf,
554 static void show_extent(FILE *out_file, int start_extent, int end_extent,
562 static void show_indirect(FILE *out_file, const char *name, __u32 where)
569 static void dump_metadata_block(FILE *out_file, struct journal_source *source,
673 static void do_hexdump (FILE *out_file, char *buf, int blocksize)