/third_party/e2fsprogs/tests/f_jnl_32bit/ |
D | expect.0 | 4 FS block 2 logged at journal block 2 (flags 0x8) 8 FS block 82 logged at journal block 5 (flags 0x0) 9 FS block 2 logged at journal block 6 (flags 0x2) 10 FS block 99 logged at journal block 7 (flags 0x2) 11 FS block 66 logged at journal block 8 (flags 0x2) 12 FS block 81 logged at journal block 9 (flags 0x2) 13 FS block 98 logged at journal block 10 (flags 0x2) 14 FS block 68 logged at journal block 11 (flags 0x2) 15 FS block 83 logged at journal block 12 (flags 0x2) 16 FS block 354 logged at journal block 13 (flags 0x2) [all …]
|
/third_party/e2fsprogs/tests/f_jnl_64bit/ |
D | expect.0 | 98 FS block 802 logged at journal block 69 (flags 0x0) 99 FS block 803 logged at journal block 70 (flags 0x2) 100 FS block 131 logged at journal block 71 (flags 0x2) 101 FS block 2 logged at journal block 72 (flags 0x2) 102 FS block 1 logged at journal block 73 (flags 0x2) 103 FS block 147 logged at journal block 74 (flags 0x2) 104 FS block 783 logged at journal block 75 (flags 0x2) 105 FS block 130 logged at journal block 76 (flags 0x2) 106 FS block 807 logged at journal block 77 (flags 0x2) 107 FS block 808 logged at journal block 78 (flags 0x2) [all …]
|
/third_party/e2fsprogs/debugfs/ |
D | do_journal.c | 48 journal_t *journal; member 82 bh = getblk(trans->journal->j_dev, 0, trans->journal->j_blocksize); in journal_commit_trans() 91 if (jbd2_has_feature_checksum(trans->journal)) { in journal_commit_trans() 95 cbh = getblk(trans->journal->j_dev, 0, in journal_commit_trans() 96 trans->journal->j_blocksize); in journal_commit_trans() 103 err = jbd2_journal_bmap(trans->journal, cblk, in journal_commit_trans() 135 jbd2_commit_block_csum_set(trans->journal, bh); in journal_commit_trans() 136 err = jbd2_journal_bmap(trans->journal, trans->block, &bh->b_blocknr); in journal_commit_trans() 183 if (jbd2_journal_has_csum_v2or3(trans->journal)) in journal_add_revoke_to_trans() 188 bh = getblk(trans->journal->j_dev, curr_blk, in journal_add_revoke_to_trans() [all …]
|
D | journal.c | 100 int jbd2_journal_bmap(journal_t *journal, unsigned long block, in jbd2_journal_bmap() argument 107 struct inode *inode = journal->j_inode; in jbd2_journal_bmap() 299 journal_t *journal = NULL; in ext2fs_get_journal() local 306 retval = ext2fs_get_memzero(sizeof(journal_t), &journal); in ext2fs_get_journal() 319 journal->j_dev = dev_journal; in ext2fs_get_journal() 320 journal->j_fs_dev = dev_fs; in ext2fs_get_journal() 321 journal->j_inode = NULL; in ext2fs_get_journal() 322 journal->j_blocksize = fs->blocksize; in ext2fs_get_journal() 357 if (EXT2_I_SIZE(&j_inode->i_ext2) / journal->j_blocksize < in ext2fs_get_journal() 378 journal->j_total_len = EXT2_I_SIZE(&j_inode->i_ext2) / in ext2fs_get_journal() [all …]
|
/third_party/e2fsprogs/e2fsck/ |
D | revoke.c | 131 static inline int hash(journal_t *journal, unsigned long long block) in hash() argument 133 return hash_64(block, journal->j_revoke->hash_shift); in hash() 136 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash() argument 151 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash() 152 spin_lock(&journal->j_revoke_lock); in insert_revoke_hash() 154 spin_unlock(&journal->j_revoke_lock); in insert_revoke_hash() 160 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record() argument 166 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record() 168 spin_lock(&journal->j_revoke_lock); in find_revoke_record() 172 spin_unlock(&journal->j_revoke_lock); in find_revoke_record() [all …]
|
D | recovery.c | 38 static int do_one_pass(journal_t *journal, 66 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead() argument 76 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead() 77 if (max > journal->j_total_len) in do_readahead() 78 max = journal->j_total_len; in do_readahead() 86 err = jbd2_journal_bmap(journal, next, &blocknr); in do_readahead() 94 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead() 128 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() argument 137 if (offset >= journal->j_total_len) { in jread() 142 err = jbd2_journal_bmap(journal, offset, &blocknr); in jread() [all …]
|
D | journal.c | 95 int jbd2_journal_bmap(journal_t *journal, unsigned long block, in jbd2_journal_bmap() argument 102 struct inode *inode = journal->j_inode; in jbd2_journal_bmap() 848 static int ext4_fc_replay(journal_t *journal, struct buffer_head *bh, in ext4_fc_replay() argument 851 e2fsck_t ctx = journal->j_fs_dev->k_ctx; in ext4_fc_replay() 859 return ext4_fc_replay_scan(journal, bh, off, expected_tid); in ext4_fc_replay() 889 end = (__u8 *)bh->b_data + journal->j_blocksize - 1; in ext4_fc_replay() 957 journal_t *journal = NULL; in e2fsck_get_journal() local 967 journal = e2fsck_allocate_memory(ctx, sizeof(journal_t), "journal"); in e2fsck_get_journal() 968 if (!journal) { in e2fsck_get_journal() 983 journal->j_dev = dev_journal; in e2fsck_get_journal() [all …]
|
/third_party/python/Lib/sqlite3/test/ |
D | backup.py | 67 journal = [] 70 journal.append(status) 76 self.assertEqual(len(journal), 2) 77 self.assertEqual(journal[0], sqlite.SQLITE_OK) 78 self.assertEqual(journal[1], sqlite.SQLITE_DONE) 81 journal = [] 84 journal.append(remaining) 90 self.assertEqual(len(journal), 1) 91 self.assertEqual(journal[0], 0) 94 journal = [] [all …]
|
/third_party/e2fsprogs/tests/f_ext_journal/ |
D | script | 1 FSCK_OPT="-fy -j journal.img" 2 SECOND_FSCK_OPT="-fy -j journal.img" 4 gunzip < $test_dir/journal.gz > journal.img 8 rm -f journal.img
|
/third_party/e2fsprogs/tests/f_jnl_etb_alloc_fail/ |
D | expect.1 | 1 Superblock has an invalid journal (inode 8). 4 *** journal has been deleted *** 6 Superblock has_journal flag is clear, but a journal is present. 25 Recreate journal? yes 27 Creating journal (1024 blocks): Could not allocate block in ext2 filesystem: while trying to create…
|
/third_party/e2fsprogs/tests/j_corrupt_sb_magic/ |
D | expect | 1 Superblock has an invalid journal (inode 8). 4 *** journal has been deleted *** 6 Superblock has_journal flag is clear, but a journal is present. 25 Recreate journal? yes 27 Creating journal (1024 blocks): Done. 29 *** journal has been regenerated ***
|
/third_party/e2fsprogs/tests/f_miss_journal/ |
D | expect.1 | 1 Superblock has an invalid journal (inode 8). 4 *** journal has been deleted *** 20 Recreate journal? yes 22 Creating journal (1024 blocks): Done. 24 *** journal has been regenerated ***
|
/third_party/e2fsprogs/tests/f_badjourblks/ |
D | expect.1 | 1 Superblock has an invalid journal (inode 8). 4 *** journal has been deleted *** 22 Recreate journal? yes 24 Creating journal (1024 blocks): Done. 26 *** journal has been regenerated ***
|
/third_party/e2fsprogs/tests/f_badjour_indblks/ |
D | expect.1 | 1 Superblock has an invalid journal (inode 8). 4 *** journal has been deleted *** 24 Recreate journal? yes 26 Creating journal (1024 blocks): Done. 28 *** journal has been regenerated ***
|
/third_party/e2fsprogs/tests/j_short_trans_open_recover/ |
D | expect | 7 Creating journal (4096 blocks): done 17 debugfs write journal 22 No magic number at block 7: end of journal. 23 debugfs can't recover open journal 26 Please close the journal before recovering it. 28 test_filesys: recovering journal
|
/third_party/e2fsprogs/tests/f_bad_local_jnl/ |
D | expect.1 | 1 Found invalid V2 journal superblock fields (from V1 journal). 2 Clearing fields beyond the V1 journal superblock... 4 Backing up journal inode block information.
|
/third_party/e2fsprogs/tests/j_long_trans/ |
D | expect | 7 Creating journal (8192 blocks): done 17 debugfs write journal 55 No magic number at block 4134: end of journal. 56 test_filesys: recovering journal 57 Superblock has an invalid journal (inode 8). 60 *** journal has been deleted *** 101 Recreate journal? yes 103 Creating journal (8192 blocks): Done. 105 *** journal has been regenerated ***
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | kernel-jbd.h | 264 extern size_t journal_tag_bytes(journal_t *journal); 265 extern int jbd2_journal_has_csum_v2or3(journal_t *journal); 385 _INLINE_ size_t journal_tag_bytes(journal_t *journal) in JBD2_FEATURE_COMPAT_FUNCS() 389 if (jbd2_has_feature_csum3(journal)) in JBD2_FEATURE_COMPAT_FUNCS() 394 if (jbd2_has_feature_csum2(journal)) in JBD2_FEATURE_COMPAT_FUNCS() 397 if (jbd2_has_feature_64bit(journal)) in JBD2_FEATURE_COMPAT_FUNCS() 403 _INLINE_ int jbd2_journal_has_csum_v2or3(journal_t *journal) in jbd2_journal_has_csum_v2or3() argument 405 if (jbd2_has_feature_csum2(journal) || jbd2_has_feature_csum3(journal)) in jbd2_journal_has_csum_v2or3()
|
/third_party/e2fsprogs/tests/t_ext_jnl_fail/ |
D | expect | 4 Zeroing journal device: 5 tune2fs external journal 6 Cannot modify a journal device.
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 626 struct f2fs_journal *journal; in f2fs_write_check_point_pack() local 794 journal = &sum->journal; in f2fs_write_check_point_pack() 795 journal->n_nats = cpu_to_le16(1 + c.quota_inum + c.lpf_inum); in f2fs_write_check_point_pack() 796 journal->nat_j.entries[0].nid = sb->root_ino; in f2fs_write_check_point_pack() 797 journal->nat_j.entries[0].ne.version = 0; in f2fs_write_check_point_pack() 798 journal->nat_j.entries[0].ne.ino = sb->root_ino; in f2fs_write_check_point_pack() 799 journal->nat_j.entries[0].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack() 806 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack() 807 journal->nat_j.entries[i].ne.version = 0; in f2fs_write_check_point_pack() 808 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack() [all …]
|
/third_party/e2fsprogs/tests/j_short_revoke_trans/ |
D | expect | 7 Creating journal (4096 blocks): done 17 debugfs write journal 24 No magic number at block 9: end of journal. 25 test_filesys: recovering journal
|
/third_party/e2fsprogs/tests/j_short_trans_64bit/ |
D | expect | 7 Creating journal (4096 blocks): done 18 debugfs write journal 24 No magic number at block 7: end of journal. 25 test_filesys: recovering journal
|
/third_party/e2fsprogs/tests/j_short_trans_old_csum/ |
D | expect | 7 Creating journal (4096 blocks): done 18 debugfs write journal 24 No magic number at block 7: end of journal. 25 test_filesys: recovering journal
|
/third_party/e2fsprogs/tests/j_short_revoke_trans_mcsum_64bit/ |
D | expect | 7 Creating journal (4096 blocks): done 18 debugfs write journal 26 No magic number at block 13: end of journal. 27 test_filesys: recovering journal
|
/third_party/e2fsprogs/tests/t_replay_and_set/ |
D | expect | 8 Creating journal (4096 blocks): done 18 debugfs write journal 19 set the label on a dirty-journal fs 20 Recovering journal.
|