Home
last modified time | relevance | path

Searched refs:j_blocksize (Results 1 – 8 of 8) sorted by relevance

/external/e2fsprogs/e2fsck/
Drecovery.c80 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
154 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
187 tail = (struct journal_block_tail *)((char *)buf + j->j_blocksize - in jbd2_descr_block_csum_verify()
191 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_descr_block_csum_verify()
205 int nr = 0, size = journal->j_blocksize; in count_tags()
406 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_commit_block_csum_verify()
424 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
573 <= journal->j_blocksize - descr_csum_size) { in do_one_pass()
626 journal->j_blocksize); in do_one_pass()
[all …]
Drevoke.c357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
367 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
503 journal->j_blocksize); in jbd2_clear_buffer_revoked_flags()
610 if (offset + sz > journal->j_blocksize - csum_size) {
652 tail = (struct journal_revoke_tail *)(bh->b_data + j->j_blocksize -
655 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize);
Djournal.c316 journal->j_blocksize = ctx->fs->blocksize; in e2fsck_get_journal()
357 if (EXT2_I_SIZE(&j_inode->i_ext2) / journal->j_blocksize < in e2fsck_get_journal()
379 journal->j_blocksize; in e2fsck_get_journal()
504 if (!(bh = getblk(dev_journal, start, journal->j_blocksize))) { in e2fsck_get_journal()
665 if (jsb->s_blocksize != htonl(journal->j_blocksize)) { in e2fsck_journal_load()
/external/e2fsprogs/debugfs/
Drecovery.c80 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
154 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
187 tail = (struct journal_block_tail *)((char *)buf + j->j_blocksize - in jbd2_descr_block_csum_verify()
191 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_descr_block_csum_verify()
205 int nr = 0, size = journal->j_blocksize; in count_tags()
406 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_commit_block_csum_verify()
424 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
573 <= journal->j_blocksize - descr_csum_size) { in do_one_pass()
626 journal->j_blocksize); in do_one_pass()
[all …]
Ddo_journal.c82 bh = getblk(trans->journal->j_dev, 0, trans->journal->j_blocksize); in journal_commit_trans()
96 trans->journal->j_blocksize); in journal_commit_trans()
189 trans->journal->j_blocksize); in journal_add_revoke_to_trans()
205 if (offset + sz > trans->journal->j_blocksize - csum_size) { in journal_add_revoke_to_trans()
293 trans->journal->j_blocksize); in journal_add_blocks_to_trans()
300 trans->journal->j_blocksize); in journal_add_blocks_to_trans()
313 j = fread(data_bh->b_data, trans->journal->j_blocksize, 1, fp); in journal_add_blocks_to_trans()
323 (char *)jdb_buf + trans->journal->j_blocksize - csum_size) { in journal_add_blocks_to_trans()
418 bs = journal->j_blocksize; in journal_guess_blocks()
425 bs = journal->j_blocksize - 16; in journal_guess_blocks()
[all …]
Djournal.c316 journal->j_blocksize = fs->blocksize; in ext2fs_get_journal()
351 if (EXT2_I_SIZE(&j_inode->i_ext2) / journal->j_blocksize < in ext2fs_get_journal()
373 journal->j_blocksize; in ext2fs_get_journal()
492 bh = getblk(dev_journal, start, journal->j_blocksize); in ext2fs_get_journal()
620 if (jsb->s_blocksize != htonl(journal->j_blocksize)) in ext2fs_journal_load()
877 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_commit_block_csum_set()
889 tail = (struct journal_revoke_tail *)(bh->b_data + j->j_blocksize - in jbd2_revoke_csum_set()
892 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_revoke_csum_set()
904 tail = (struct journal_block_tail *)(bh->b_data + j->j_blocksize - in jbd2_descr_block_csum_set()
907 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_descr_block_csum_set()
Drevoke.c357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
367 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
503 journal->j_blocksize); in jbd2_clear_buffer_revoked_flags()
610 if (offset + sz > journal->j_blocksize - csum_size) {
652 tail = (struct journal_revoke_tail *)(bh->b_data + j->j_blocksize -
655 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize);
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h77 int j_blocksize; member