Lines Matching refs:be32_to_cpu
218 max = be32_to_cpu(header->r_count); in print_revoke_blks()
222 blocknr = be32_to_cpu(*((__be32 *)(revk_blk + offset))); in print_revoke_blks()
304 if (sequence_no < be32_to_cpu(header->r_header.h_sequence)) { in check_blknr_for_revoke()
306 max = be32_to_cpu(header->r_count); in check_blknr_for_revoke()
309 blocknr = be32_to_cpu(*((__be32 *) in check_blknr_for_revoke()
364 flags = be32_to_cpu(tag->flags); in recover_transaction()
369 debug("\t\ttag %u\n", be32_to_cpu(tag->block)); in recover_transaction()
371 if (check_blknr_for_revoke(be32_to_cpu(tag->block), in recover_transaction()
372 be32_to_cpu(jdb->h_sequence)) == 0) in recover_transaction()
378 put_ext4((uint64_t)((uint64_t)be32_to_cpu(tag->block) * (uint64_t)fs->blksz), in recover_transaction()
436 if (be32_to_cpu(jsb->s_start) == 0) in ext4fs_check_journal_state()
444 i = be32_to_cpu(jsb->s_first); 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()
455 be32_to_cpu(jsb->s_sequence)) { in ext4fs_check_journal_state()
473 flags = be32_to_cpu(tag->flags); in ext4fs_check_journal_state()
477 debug("\t\ttag %u\n", be32_to_cpu(tag->block)); 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()
484 be32_to_cpu(jsb->s_sequence)) { in ext4fs_check_journal_state()
494 cpu_to_be32(be32_to_cpu( 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()
505 be32_to_cpu(jsb->s_sequence)) { in ext4fs_check_journal_state()
514 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
515 be32_to_cpu(jsb->s_sequence)) { in ext4fs_check_journal_state()
526 jsb->s_sequence = cpu_to_be32(be32_to_cpu(jsb->s_sequence) + 1); in ext4fs_check_journal_state()