Lines Matching refs:jdb
336 struct journal_header_t *jdb; in recover_transaction() local
354 jdb = (struct journal_header_t *) temp_buff; in recover_transaction()
372 be32_to_cpu(jdb->h_sequence)) == 0) in recover_transaction()
405 struct journal_header_t *jdb = NULL; in ext4fs_check_journal_state() local
450 jdb = (struct journal_header_t *) temp_buff1; in ext4fs_check_journal_state()
452 if (be32_to_cpu(jdb->h_blocktype) == in ext4fs_check_journal_state()
454 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
481 } else if (be32_to_cpu(jdb->h_blocktype) == in ext4fs_check_journal_state()
483 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
502 } else if (be32_to_cpu(jdb->h_blocktype) == in ext4fs_check_journal_state()
504 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
510 ext4fs_push_revoke_blk((char *)jdb); in ext4fs_check_journal_state()
514 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
556 struct journal_header_t jdb; in update_descriptor_block() local
574 jdb.h_blocktype = cpu_to_be32(EXT3_JOURNAL_DESCRIPTOR_BLOCK); in update_descriptor_block()
575 jdb.h_magic = cpu_to_be32(EXT3_JOURNAL_MAGIC_NUMBER); in update_descriptor_block()
576 jdb.h_sequence = jsb->s_sequence; in update_descriptor_block()
583 memcpy(buf, &jdb, sizeof(struct journal_header_t)); in update_descriptor_block()
608 struct journal_header_t jdb; in update_commit_block() local
626 jdb.h_blocktype = cpu_to_be32(EXT3_JOURNAL_COMMIT_BLOCK); in update_commit_block()
627 jdb.h_magic = cpu_to_be32(EXT3_JOURNAL_MAGIC_NUMBER); in update_commit_block()
628 jdb.h_sequence = jsb->s_sequence; in update_commit_block()
634 memcpy(buf, &jdb, sizeof(struct journal_header_t)); in update_commit_block()