Lines Matching refs:jdb

333 	struct journal_header_t *jdb;  in recover_transaction()  local
351 jdb = (struct journal_header_t *) temp_buff; in recover_transaction()
369 be32_to_cpu(jdb->h_sequence)) == 0) in recover_transaction()
402 struct journal_header_t *jdb = NULL; in ext4fs_check_journal_state() local
451 jdb = (struct journal_header_t *) temp_buff1; in ext4fs_check_journal_state()
453 if (be32_to_cpu(jdb->h_blocktype) == in ext4fs_check_journal_state()
455 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
482 } else if (be32_to_cpu(jdb->h_blocktype) == in ext4fs_check_journal_state()
484 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
503 } else if (be32_to_cpu(jdb->h_blocktype) == in ext4fs_check_journal_state()
505 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
511 ext4fs_push_revoke_blk((char *)jdb); in ext4fs_check_journal_state()
515 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
557 struct journal_header_t jdb; in update_descriptor_block() local
575 jdb.h_blocktype = cpu_to_be32(EXT3_JOURNAL_DESCRIPTOR_BLOCK); in update_descriptor_block()
576 jdb.h_magic = cpu_to_be32(EXT3_JOURNAL_MAGIC_NUMBER); in update_descriptor_block()
577 jdb.h_sequence = jsb->s_sequence; in update_descriptor_block()
584 memcpy(buf, &jdb, sizeof(struct journal_header_t)); in update_descriptor_block()
609 struct journal_header_t jdb; in update_commit_block() local
627 jdb.h_blocktype = cpu_to_be32(EXT3_JOURNAL_COMMIT_BLOCK); in update_commit_block()
628 jdb.h_magic = cpu_to_be32(EXT3_JOURNAL_MAGIC_NUMBER); in update_commit_block()
629 jdb.h_sequence = jsb->s_sequence; in update_commit_block()
635 memcpy(buf, &jdb, sizeof(struct journal_header_t)); in update_commit_block()