Home
last modified time | relevance | path

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

/Linux-v5.10/fs/jbd2/
Drecovery.c76 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
94 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
150 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
182 tail = (struct jbd2_journal_block_tail *)(buf + j->j_blocksize - in jbd2_descriptor_block_csum_verify()
186 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_descriptor_block_csum_verify()
200 int nr = 0, size = journal->j_blocksize; in count_tags()
430 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_commit_block_csum_verify()
448 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
614 <= journal->j_blocksize - descr_csum_size) { in do_one_pass()
667 journal->j_blocksize); in do_one_pass()
[all …]
Drevoke.c348 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in jbd2_journal_revoke()
358 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in jbd2_journal_revoke()
500 journal->j_blocksize); in jbd2_clear_buffer_revoked_flags()
603 if (offset + sz > journal->j_blocksize - csum_size) { in write_one_revoke_record()
Djournal.c896 bh = __getblk(journal->j_dev, pblock, journal->j_blocksize); in jbd2_fc_get_buf()
1022 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jbd2_journal_get_descriptor_buffer()
1027 memset(bh->b_data, 0, journal->j_blocksize); in jbd2_journal_get_descriptor_buffer()
1046 tail = (struct jbd2_journal_block_tail *)(bh->b_data + j->j_blocksize - in jbd2_descriptor_block_csum_set()
1049 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_descriptor_block_csum_set()
1349 journal->j_blocksize = blocksize; in journal_init_common()
1355 n = journal->j_blocksize / jbd2_min_tag_size(); in journal_init_common()
1363 bh = getblk_unmovable(journal->j_dev, start, journal->j_blocksize); in journal_init_common()
1716 int space = journal->j_blocksize - sizeof(jbd2_journal_revoke_header_t); in journal_revoke_records_per_block()
1759 sb->s_blocksize != cpu_to_be32(journal->j_blocksize)) { in journal_get_superblock()
Dcommit.c104 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_commit_block_csum_set()
Dtransaction.c70 int tag_space = journal->j_blocksize - sizeof(journal_header_t); in jbd2_descriptor_blocks_per_trans()
/Linux-v5.10/fs/ext4/
Dfast_commit.c592 int bsize = sbi->s_journal->j_blocksize; in ext4_fc_reserve_space()
658 int off, bsize = sbi->s_journal->j_blocksize; in ext4_fc_write_tail()
1075 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit()
1914 end = (__u8 *)bh->b_data + journal->j_blocksize - 1; in ext4_fc_replay_scan()
2044 end = (__u8 *)bh->b_data + journal->j_blocksize - 1; in ext4_fc_replay()
/Linux-v5.10/include/linux/
Djbd2.h970 int j_blocksize; member