• Home
  • Raw
  • Download

Lines Matching refs:jsb

74 #define WRAP(jsb, blocknr, maxlen)					\  argument
76 blocknr -= (maxlen - be32_to_cpu((jsb)->s_first));
355 journal_superblock_t *jsb; in dump_journal() local
371 jsb = (journal_superblock_t *) buf; in dump_journal()
378 if ((be32_to_cpu(jsb->s_header.h_magic) != JBD2_MAGIC_NUMBER) && in dump_journal()
406 jsb = (journal_superblock_t *) jsb_buffer; in dump_journal()
407 if (be32_to_cpu(jsb->s_header.h_magic) != JBD2_MAGIC_NUMBER) { in dump_journal()
412 blocksize = be32_to_cpu(jsb->s_blocksize); in dump_journal()
418 be32_to_cpu(jsb->s_blocksize), blocksize); in dump_journal()
421 transaction = be32_to_cpu(jsb->s_sequence); in dump_journal()
422 blocknr = be32_to_cpu(jsb->s_start); in dump_journal()
439 maxlen = be32_to_cpu(jsb->s_maxlen); in dump_journal()
490 dump_descriptor_block(out_file, source, buf, jsb, in dump_journal()
498 WRAP(jsb, blocknr, maxlen); in dump_journal()
502 dump_revoke_block(out_file, buf, jsb, in dump_journal()
506 WRAP(jsb, blocknr, maxlen); in dump_journal()
517 blocknr = maxlen - jbd2_journal_get_num_fc_blks(jsb) + 1; in dump_journal()
533 static inline size_t journal_super_tag_bytes(journal_superblock_t *jsb) in journal_super_tag_bytes() argument
537 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JBD2_FEATURE_INCOMPAT_CSUM_V3)) in journal_super_tag_bytes()
542 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JBD2_FEATURE_INCOMPAT_CSUM_V2)) in journal_super_tag_bytes()
545 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JBD2_FEATURE_INCOMPAT_64BIT)) in journal_super_tag_bytes()
645 journal_superblock_t *jsb, in dump_descriptor_block() argument
657 tag_size = journal_super_tag_bytes(jsb); in dump_descriptor_block()
661 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JBD2_FEATURE_INCOMPAT_CSUM_V3) || in dump_descriptor_block()
662 JSB_HAS_INCOMPAT_FEATURE(jsb, JBD2_FEATURE_INCOMPAT_CSUM_V2)) in dump_descriptor_block()
670 WRAP(jsb, blocknr, maxlen); in dump_descriptor_block()
690 dump_metadata_block(out_file, source, jsb, in dump_descriptor_block()
695 WRAP(jsb, blocknr, maxlen); in dump_descriptor_block()
704 journal_superblock_t *jsb EXT2FS_ATTR((unused)), in dump_revoke_block()
718 if (be32_to_cpu(jsb->s_feature_incompat) & JBD2_FEATURE_INCOMPAT_64BIT) in dump_revoke_block()
724 if (max > be32_to_cpu(jsb->s_blocksize)) { in dump_revoke_block()
727 max = be32_to_cpu(jsb->s_blocksize); in dump_revoke_block()
768 journal_superblock_t *jsb EXT2FS_ATTR((unused)), in dump_metadata_block()