Home
last modified time | relevance | path

Searched refs:journal_t (Results 1 – 11 of 11) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dkernel-jbd.h278 extern size_t journal_tag_bytes(journal_t *journal);
279 extern int journal_has_csum_v2or3(journal_t *journal);
305 _INLINE_ int jfs_has_feature_##name(journal_t *j); \
306 _INLINE_ int jfs_has_feature_##name(journal_t *j) \
312 _INLINE_ void jfs_set_feature_##name(journal_t *j); \
313 _INLINE_ void jfs_set_feature_##name(journal_t *j) \
318 _INLINE_ void jfs_clear_feature_##name(journal_t *j); \
319 _INLINE_ void jfs_clear_feature_##name(journal_t *j) \
326 _INLINE_ int jfs_has_feature_##name(journal_t *j); \
327 _INLINE_ int jfs_has_feature_##name(journal_t *j) \
[all …]
Djfs_compat.h29 typedef struct journal_s journal_t; typedef
44 static inline __u32 jbd2_chksum(journal_t *j EXT2FS_ATTR((unused)), in jbd2_chksum()
/external/e2fsprogs/debugfs/
Djournal.h18 errcode_t ext2fs_open_journal(ext2_filsys fs, journal_t **j);
19 errcode_t ext2fs_close_journal(ext2_filsys fs, journal_t **j);
21 void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh);
22 void jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh);
23 void jbd2_descr_block_csum_set(journal_t *j, struct buffer_head *bh);
24 void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag,
Drevoke.c124 static void write_one_revoke_record(journal_t *, transaction_t *,
128 static void flush_descriptor(journal_t *, struct buffer_head *, int, int);
134 static inline int hash(journal_t *journal, unsigned long long block) in hash()
141 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash()
170 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record()
269 int journal_init_revoke(journal_t *journal, int hash_size) in journal_init_revoke()
295 void journal_destroy_revoke(journal_t *journal) in journal_destroy_revoke()
335 journal_t *journal; in journal_revoke()
425 journal_t *journal = handle->h_transaction->t_journal; in journal_cancel_revoke()
483 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags()
[all …]
Djournal.c49 static int ext2fs_journal_verify_csum_type(journal_t *j, in ext2fs_journal_verify_csum_type()
71 static int ext2fs_journal_sb_csum_verify(journal_t *j, in ext2fs_journal_sb_csum_verify()
85 static errcode_t ext2fs_journal_sb_csum_set(journal_t *j, in ext2fs_journal_sb_csum_set()
102 int journal_bmap(journal_t *journal, blk64_t block, unsigned long long *phys) in journal_bmap()
290 static errcode_t ext2fs_get_journal(ext2_filsys fs, journal_t **ret_journal) in ext2fs_get_journal()
299 journal_t *journal = NULL; in ext2fs_get_journal()
306 retval = ext2fs_get_memzero(sizeof(journal_t), &journal); in ext2fs_get_journal()
541 static void clear_v2_journal_fields(journal_t *journal) in clear_v2_journal_fields()
551 static errcode_t ext2fs_journal_load(journal_t *journal) in ext2fs_journal_load()
643 static void ext2fs_journal_release(ext2_filsys fs, journal_t *journal, in ext2fs_journal_release()
[all …]
Drecovery.c42 static int do_one_pass(journal_t *journal,
44 static int scan_revoke_records(journal_t *, struct buffer_head *,
70 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead()
153 static int jread(struct buffer_head **bhp, journal_t *journal, in jread()
198 static int jbd2_descr_block_csum_verify(journal_t *j, in jbd2_descr_block_csum_verify()
222 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags()
269 int journal_recover(journal_t *journal) in journal_recover()
334 int journal_skip_recovery(journal_t *journal) in journal_skip_recovery()
362 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block()
375 static int calc_chksums(journal_t *journal, struct buffer_head *bh, in calc_chksums()
[all …]
Ddo_journal.c48 journal_t *journal;
57 static journal_t *current_journal = NULL;
411 static blk64_t journal_guess_blocks(journal_t *journal, blk64_t data_blocks, in journal_guess_blocks()
436 static errcode_t journal_open_trans(journal_t *journal, in journal_open_trans()
466 journal_t *journal; in journal_close_trans()
497 static errcode_t journal_write(journal_t *journal, in journal_write()
620 static int count_tags(journal_t *journal, char *buf) in count_tags()
647 static errcode_t journal_find_head(journal_t *journal) in journal_find_head()
763 static void update_journal_csum(journal_t *journal, int ver) in update_journal_csum()
806 static void update_uuid(journal_t *journal) in update_uuid()
[all …]
/external/e2fsprogs/e2fsck/
Drevoke.c124 static void write_one_revoke_record(journal_t *, transaction_t *,
128 static void flush_descriptor(journal_t *, struct buffer_head *, int, int);
134 static inline int hash(journal_t *journal, unsigned long long block) in hash()
141 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash()
170 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record()
269 int journal_init_revoke(journal_t *journal, int hash_size) in journal_init_revoke()
295 void journal_destroy_revoke(journal_t *journal) in journal_destroy_revoke()
335 journal_t *journal; in journal_revoke()
425 journal_t *journal = handle->h_transaction->t_journal; in journal_cancel_revoke()
483 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags()
[all …]
Djfs_user.h111 extern size_t journal_tag_bytes(journal_t *journal);
183 int journal_bmap(journal_t *journal, blk64_t block, unsigned long long *phys);
229 extern int journal_recover (journal_t *journal);
230 extern int journal_skip_recovery (journal_t *);
233 extern int journal_init_revoke(journal_t *, int);
234 extern void journal_destroy_revoke(journal_t *);
238 extern int journal_set_revoke(journal_t *, unsigned long long, tid_t);
239 extern int journal_test_revoke(journal_t *, unsigned long long, tid_t);
240 extern void journal_clear_revoke(journal_t *);
Drecovery.c42 static int do_one_pass(journal_t *journal,
44 static int scan_revoke_records(journal_t *, struct buffer_head *,
70 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead()
153 static int jread(struct buffer_head **bhp, journal_t *journal, in jread()
198 static int jbd2_descr_block_csum_verify(journal_t *j, in jbd2_descr_block_csum_verify()
222 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags()
269 int journal_recover(journal_t *journal) in journal_recover()
334 int journal_skip_recovery(journal_t *journal) in journal_skip_recovery()
362 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block()
375 static int calc_chksums(journal_t *journal, struct buffer_head *bh, in calc_chksums()
[all …]
Djournal.c44 static int e2fsck_journal_verify_csum_type(journal_t *j, in e2fsck_journal_verify_csum_type()
66 static int e2fsck_journal_sb_csum_verify(journal_t *j, in e2fsck_journal_sb_csum_verify()
80 static errcode_t e2fsck_journal_sb_csum_set(journal_t *j, in e2fsck_journal_sb_csum_set()
97 int journal_bmap(journal_t *journal, blk64_t block, unsigned long long *phys) in journal_bmap()
278 static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal) in e2fsck_get_journal()
288 journal_t *journal = NULL; in e2fsck_get_journal()
298 journal = e2fsck_allocate_memory(ctx, sizeof(journal_t), "journal"); in e2fsck_get_journal()
568 static void clear_v2_journal_fields(journal_t *journal) in clear_v2_journal_fields()
585 static errcode_t e2fsck_journal_load(journal_t *journal) in e2fsck_journal_load()
694 journal_t *journal) in e2fsck_journal_reset_super()
[all …]