Home
last modified time | relevance | path

Searched refs:journal (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/e2fsprogs/tests/f_jnl_32bit/
Dexpect.04 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 …]
/external/e2fsprogs/tests/f_jnl_64bit/
Dexpect.098 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 …]
/external/e2fsprogs/debugfs/
Ddo_journal.c48 journal_t *journal; member
82 bh = getblk(trans->journal->j_dev, 0, trans->journal->j_blocksize); in journal_commit_trans()
91 if (jfs_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 = journal_bmap(trans->journal, cblk, in journal_commit_trans()
135 jbd2_commit_block_csum_set(trans->journal, bh); in journal_commit_trans()
136 err = journal_bmap(trans->journal, trans->block, &bh->b_blocknr); in journal_commit_trans()
183 if (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 …]
Drevoke.c134 static inline int hash(journal_t *journal, unsigned long long block) in hash() argument
136 struct jbd2_revoke_table_s *table = journal->j_revoke; in hash()
141 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash() argument
154 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
155 spin_lock(&journal->j_revoke_lock); in insert_revoke_hash()
157 spin_unlock(&journal->j_revoke_lock); in insert_revoke_hash()
170 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record() argument
176 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
178 spin_lock(&journal->j_revoke_lock); in find_revoke_record()
182 spin_unlock(&journal->j_revoke_lock); in find_revoke_record()
[all …]
Drecovery.c42 static int do_one_pass(journal_t *journal,
70 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead() argument
80 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
81 if (max > journal->j_maxlen) in do_readahead()
82 max = journal->j_maxlen; in do_readahead()
90 err = journal_bmap(journal, next, &blocknr); in do_readahead()
98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
153 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() argument
162 if (offset >= journal->j_maxlen) { in jread()
167 err = journal_bmap(journal, offset, &blocknr); in jread()
[all …]
Djournal.c102 int journal_bmap(journal_t *journal, blk64_t block, unsigned long long *phys) in journal_bmap() argument
108 struct inode *inode = journal->j_inode; in 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_maxlen = EXT2_I_SIZE(&j_inode->i_ext2) / in ext2fs_get_journal()
[all …]
/external/e2fsprogs/e2fsck/
Drevoke.c134 static inline int hash(journal_t *journal, unsigned long long block) in hash() argument
136 struct jbd2_revoke_table_s *table = journal->j_revoke; in hash()
141 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash() argument
154 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
155 spin_lock(&journal->j_revoke_lock); in insert_revoke_hash()
157 spin_unlock(&journal->j_revoke_lock); in insert_revoke_hash()
170 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record() argument
176 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
178 spin_lock(&journal->j_revoke_lock); in find_revoke_record()
182 spin_unlock(&journal->j_revoke_lock); in find_revoke_record()
[all …]
Drecovery.c42 static int do_one_pass(journal_t *journal,
70 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead() argument
80 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
81 if (max > journal->j_maxlen) in do_readahead()
82 max = journal->j_maxlen; in do_readahead()
90 err = journal_bmap(journal, next, &blocknr); in do_readahead()
98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
153 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() argument
162 if (offset >= journal->j_maxlen) { in jread()
167 err = journal_bmap(journal, offset, &blocknr); in jread()
[all …]
Djournal.c97 int journal_bmap(journal_t *journal, blk64_t block, unsigned long long *phys) in journal_bmap() argument
103 struct inode *inode = journal->j_inode; in journal_bmap()
288 journal_t *journal = NULL; in e2fsck_get_journal() local
298 journal = e2fsck_allocate_memory(ctx, sizeof(journal_t), "journal"); in e2fsck_get_journal()
299 if (!journal) { in e2fsck_get_journal()
314 journal->j_dev = dev_journal; in e2fsck_get_journal()
315 journal->j_fs_dev = dev_fs; in e2fsck_get_journal()
316 journal->j_inode = NULL; in e2fsck_get_journal()
317 journal->j_blocksize = ctx->fs->blocksize; in e2fsck_get_journal()
358 if (EXT2_I_SIZE(&j_inode->i_ext2) / journal->j_blocksize < in e2fsck_get_journal()
[all …]
/external/python/cpython3/Lib/sqlite3/test/
Dbackup.py59 journal = []
62 journal.append(status)
68 self.assertEqual(len(journal), 2)
69 self.assertEqual(journal[0], sqlite.SQLITE_OK)
70 self.assertEqual(journal[1], sqlite.SQLITE_DONE)
73 journal = []
76 journal.append(remaining)
82 self.assertEqual(len(journal), 1)
83 self.assertEqual(journal[0], 0)
86 journal = []
[all …]
/external/e2fsprogs/tests/f_ext_journal/
Dscript1 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
/external/e2fsprogs/tests/f_jnl_etb_alloc_fail/
Dexpect.11 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…
/external/e2fsprogs/tests/j_corrupt_sb_magic/
Dexpect1 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 ***
/external/e2fsprogs/tests/j_short_trans_open_recover/
Dexpect7 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
/external/e2fsprogs/tests/f_miss_journal/
Dexpect.11 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 ***
/external/e2fsprogs/tests/f_badjourblks/
Dexpect.11 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 ***
/external/e2fsprogs/tests/f_badjour_indblks/
Dexpect.11 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 ***
/external/e2fsprogs/tests/f_bad_local_jnl/
Dexpect.11 Found invalid V2 journal superblock fields (from V1 journal).
2 Clearing fields beyond the V1 journal superblock...
4 Backing up journal inode block information.
/external/e2fsprogs/tests/j_long_trans/
Dexpect7 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 ***
99 Recreate journal? yes
101 Creating journal (8192 blocks): Done.
103 *** journal has been regenerated ***
/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);
397 _INLINE_ size_t journal_tag_bytes(journal_t *journal) in JFS_FEATURE_COMPAT_FUNCS()
401 if (jfs_has_feature_csum3(journal)) in JFS_FEATURE_COMPAT_FUNCS()
406 if (jfs_has_feature_csum2(journal)) in JFS_FEATURE_COMPAT_FUNCS()
409 if (jfs_has_feature_64bit(journal)) in JFS_FEATURE_COMPAT_FUNCS()
415 _INLINE_ int journal_has_csum_v2or3(journal_t *journal) in journal_has_csum_v2or3() argument
417 if (jfs_has_feature_csum2(journal) || jfs_has_feature_csum3(journal)) in journal_has_csum_v2or3()
/external/f2fs-tools/mkfs/
Df2fs_format.c589 struct f2fs_journal *journal; in f2fs_write_check_point_pack() local
745 journal = &sum->journal; in f2fs_write_check_point_pack()
746 journal->n_nats = cpu_to_le16(1 + c.quota_inum + c.lpf_inum); in f2fs_write_check_point_pack()
747 journal->nat_j.entries[0].nid = sb->root_ino; in f2fs_write_check_point_pack()
748 journal->nat_j.entries[0].ne.version = 0; in f2fs_write_check_point_pack()
749 journal->nat_j.entries[0].ne.ino = sb->root_ino; in f2fs_write_check_point_pack()
750 journal->nat_j.entries[0].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack()
757 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
758 journal->nat_j.entries[i].ne.version = 0; in f2fs_write_check_point_pack()
759 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
[all …]
/external/e2fsprogs/tests/t_ext_jnl_fail/
Dexpect4 Zeroing journal device: 
5 tune2fs external journal
6 Cannot modify a journal device.
/external/e2fsprogs/tests/j_short_revoke_trans/
Dexpect7 Creating journal (4096 blocks): done
17 debugfs write journal
24 No magic number at block 9: end of journal.
25 test_filesys: recovering journal
/external/e2fsprogs/tests/j_short_trans/
Dexpect7 Creating journal (4096 blocks): done
17 debugfs write journal
22 No magic number at block 7: end of journal.
23 test_filesys: recovering journal
/external/e2fsprogs/tests/t_replay_and_set/
Dexpect8 Creating journal (4096 blocks): done
18 debugfs write journal
19 set the label on a dirty-journal fs
20 Recovering journal.

12345678910