Home
last modified time | relevance | path

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

/linux-6.12.1/fs/jbd2/ !
Drecovery.c78 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
96 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
152 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
190 j->j_blocksize - sizeof(struct jbd2_journal_block_tail)); in jbd2_descriptor_block_csum_verify()
193 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_descriptor_block_csum_verify()
207 int nr = 0, size = journal->j_blocksize; in count_tags()
441 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_commit_block_csum_verify()
454 tmpbuf = kzalloc(j->j_blocksize, GFP_KERNEL); in jbd2_commit_block_csum_verify_partial()
462 calculated = jbd2_chksum(j, j->j_csum_seed, tmpbuf, j->j_blocksize); in jbd2_commit_block_csum_verify_partial()
480 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
[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.c850 bh = __getblk(journal->j_dev, pblock, journal->j_blocksize); in jbd2_fc_get_buf()
974 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jbd2_journal_get_descriptor_buffer()
979 memset(bh->b_data, 0, journal->j_blocksize); in jbd2_journal_get_descriptor_buffer()
998 tail = (struct jbd2_journal_block_tail *)(bh->b_data + j->j_blocksize - in jbd2_descriptor_block_csum_set()
1001 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_descriptor_block_csum_set()
1314 sb->s_blocksize != cpu_to_be32(journal->j_blocksize)) { in journal_check_superblock()
1406 int space = journal->j_blocksize - sizeof(jbd2_journal_revoke_header_t); in journal_revoke_records_per_block()
1428 int tag_space = journal->j_blocksize - sizeof(journal_header_t); in jbd2_descriptor_blocks_per_trans()
1471 journal->j_blocksize); in journal_load_superblock()
1538 journal->j_blocksize = blocksize; in journal_init_common()
[all …]
Dcommit.c102 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_commit_block_csum_set()
/linux-6.12.1/fs/ext4/ !
Dfast_commit.c710 int bsize = sbi->s_journal->j_blocksize; in ext4_fc_reserve_space()
774 int off, bsize = sbi->s_journal->j_blocksize; in ext4_fc_write_tail()
1209 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit()
2077 end = start + journal->j_blocksize; in ext4_fc_replay_scan()
2216 end = start + journal->j_blocksize; in ext4_fc_replay()
/linux-6.12.1/include/linux/ !
Djbd2.h974 int j_blocksize; member