Lines Matching refs:jsb

70 #define WRAP(jsb, blocknr)					\  argument
71 if (blocknr >= be32_to_cpu((jsb)->s_maxlen)) \
72 blocknr -= (be32_to_cpu((jsb)->s_maxlen) - \
73 be32_to_cpu((jsb)->s_first));
344 journal_superblock_t *jsb; in dump_journal() local
357 jsb = (journal_superblock_t *) buf; in dump_journal()
364 if ((be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) && in dump_journal()
386 jsb = (journal_superblock_t *) jsb_buffer; in dump_journal()
387 if (be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) { in dump_journal()
392 blocksize = be32_to_cpu(jsb->s_blocksize); in dump_journal()
393 transaction = be32_to_cpu(jsb->s_sequence); in dump_journal()
394 blocknr = be32_to_cpu(jsb->s_start); in dump_journal()
443 dump_descriptor_block(out_file, source, buf, jsb, in dump_journal()
451 WRAP(jsb, blocknr); in dump_journal()
455 dump_revoke_block(out_file, buf, jsb, in dump_journal()
459 WRAP(jsb, blocknr); in dump_journal()
470 static inline size_t journal_super_tag_bytes(journal_superblock_t *jsb) in journal_super_tag_bytes() argument
474 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JFS_FEATURE_INCOMPAT_CSUM_V3)) in journal_super_tag_bytes()
479 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JFS_FEATURE_INCOMPAT_CSUM_V2)) in journal_super_tag_bytes()
482 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JFS_FEATURE_INCOMPAT_64BIT)) in journal_super_tag_bytes()
491 journal_superblock_t *jsb, in dump_descriptor_block() argument
502 tag_size = journal_super_tag_bytes(jsb); in dump_descriptor_block()
506 if (JSB_HAS_INCOMPAT_FEATURE(jsb, JFS_FEATURE_INCOMPAT_CSUM_V3) || in dump_descriptor_block()
507 JSB_HAS_INCOMPAT_FEATURE(jsb, JFS_FEATURE_INCOMPAT_CSUM_V2)) in dump_descriptor_block()
515 WRAP(jsb, blocknr); in dump_descriptor_block()
535 dump_metadata_block(out_file, source, jsb, in dump_descriptor_block()
540 WRAP(jsb, blocknr); in dump_descriptor_block()
549 journal_superblock_t *jsb EXT2FS_ATTR((unused)), in dump_revoke_block()
563 if (be32_to_cpu(jsb->s_feature_incompat) & JFS_FEATURE_INCOMPAT_64BIT) in dump_revoke_block()
607 journal_superblock_t *jsb EXT2FS_ATTR((unused)), in dump_metadata_block()