Home
last modified time | relevance | path

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

/third_party/e2fsprogs/lib/ext2fs/
Dkernel-jbd.h264 extern size_t journal_tag_bytes(journal_t *journal);
265 extern int jbd2_journal_has_csum_v2or3(journal_t *journal);
292 _INLINE_ int jbd2_has_feature_##name(journal_t *j); \
293 _INLINE_ int jbd2_has_feature_##name(journal_t *j) \
299 _INLINE_ void jbd2_set_feature_##name(journal_t *j); \
300 _INLINE_ void jbd2_set_feature_##name(journal_t *j) \
305 _INLINE_ void jbd2_clear_feature_##name(journal_t *j); \
306 _INLINE_ void jbd2_clear_feature_##name(journal_t *j) \
313 _INLINE_ int jbd2_has_feature_##name(journal_t *j); \
314 _INLINE_ int jbd2_has_feature_##name(journal_t *j) \
[all …]
Djfs_compat.h39 typedef struct journal_s journal_t; typedef
54 static inline __u32 jbd2_chksum(journal_t *j EXT2FS_ATTR((unused)), in jbd2_chksum()
/third_party/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,
Djournal.c47 static int ext2fs_journal_verify_csum_type(journal_t *j, in ext2fs_journal_verify_csum_type()
69 static int ext2fs_journal_sb_csum_verify(journal_t *j, in ext2fs_journal_sb_csum_verify()
83 static errcode_t ext2fs_journal_sb_csum_set(journal_t *j, in ext2fs_journal_sb_csum_set()
100 int jbd2_journal_bmap(journal_t *journal, unsigned long block, in jbd2_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 …]
Ddo_journal.c48 journal_t *journal;
57 static journal_t *current_journal = NULL;
413 static blk64_t journal_guess_blocks(journal_t *journal, blk64_t data_blocks, in journal_guess_blocks()
438 static errcode_t journal_open_trans(journal_t *journal, in journal_open_trans()
468 journal_t *journal; in journal_close_trans()
499 static errcode_t journal_write(journal_t *journal, in journal_write()
624 static int count_tags(journal_t *journal, char *buf) in count_tags()
651 static errcode_t journal_find_head(journal_t *journal) in journal_find_head()
768 static void update_journal_csum(journal_t *journal, int ver) in update_journal_csum()
811 static void update_uuid(journal_t *journal) in update_uuid()
[all …]
/third_party/e2fsprogs/e2fsck/
Djfs_user.h119 extern size_t journal_tag_bytes(journal_t *journal);
191 int jbd2_journal_bmap(journal_t *journal, unsigned long block,
238 static inline void jbd2_descriptor_block_csum_set(journal_t *j, in jbd2_descriptor_block_csum_set()
255 extern int jbd2_journal_recover (journal_t *journal);
256 extern int jbd2_journal_skip_recovery (journal_t *);
259 extern int jbd2_journal_init_revoke(journal_t *, int);
260 extern void jbd2_journal_destroy_revoke(journal_t *);
267 extern int jbd2_journal_set_revoke(journal_t *, unsigned long long, tid_t);
268 extern int jbd2_journal_test_revoke(journal_t *, unsigned long long, tid_t);
269 extern void jbd2_journal_clear_revoke(journal_t *);
Drevoke.c126 static void flush_descriptor(journal_t *, struct buffer_head *, int);
131 static inline int hash(journal_t *journal, unsigned long long block) in hash()
136 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash()
160 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record()
263 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke()
290 void jbd2_journal_destroy_revoke(journal_t *journal) in jbd2_journal_destroy_revoke()
330 journal_t *journal; in jbd2_journal_revoke()
426 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke()
484 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags()
513 void jbd2_journal_switch_revoke_table(journal_t *journal) in jbd2_journal_switch_revoke_table()
[all …]
Drecovery.c38 static int do_one_pass(journal_t *journal,
40 static int scan_revoke_records(journal_t *, struct buffer_head *,
66 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead()
128 static int jread(struct buffer_head **bhp, journal_t *journal, in jread()
173 static int jbd2_descriptor_block_csum_verify(journal_t *j, void *buf) in jbd2_descriptor_block_csum_verify()
196 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags()
235 static int fc_do_one_pass(journal_t *journal, in fc_do_one_pass()
283 int jbd2_journal_recover(journal_t *journal) in jbd2_journal_recover()
348 int jbd2_journal_skip_recovery(journal_t *journal) in jbd2_journal_skip_recovery()
376 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block()
[all …]
Djournal.c42 static int e2fsck_journal_verify_csum_type(journal_t *j, in e2fsck_journal_verify_csum_type()
64 static int e2fsck_journal_sb_csum_verify(journal_t *j, in e2fsck_journal_sb_csum_verify()
78 static errcode_t e2fsck_journal_sb_csum_set(journal_t *j, in e2fsck_journal_sb_csum_set()
95 int jbd2_journal_bmap(journal_t *journal, unsigned long block, in jbd2_journal_bmap()
278 static int ext4_fc_replay_scan(journal_t *j, struct buffer_head *bh, in ext4_fc_replay_scan()
848 static int ext4_fc_replay(journal_t *journal, struct buffer_head *bh, in ext4_fc_replay()
947 static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal) in e2fsck_get_journal()
957 journal_t *journal = NULL; in e2fsck_get_journal()
967 journal = e2fsck_allocate_memory(ctx, sizeof(journal_t), "journal"); in e2fsck_get_journal()
1241 static void clear_v2_journal_fields(journal_t *journal) in clear_v2_journal_fields()
[all …]