Searched refs:s_header (Results 1 – 10 of 10) sorted by relevance
31 sparse_header_t *s_header = (sparse_header_t *)buf; in is_sparse_image() local33 if ((le32_to_cpu(s_header->magic) == SPARSE_HEADER_MAGIC) && in is_sparse_image()34 (le16_to_cpu(s_header->major_version) == 1)) in is_sparse_image()
61 jsb->s_header.h_magic = htonl(JFS_MAGIC_NUMBER); in ext2fs_create_journal_superblock()63 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V1); in ext2fs_create_journal_superblock()65 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V2); in ext2fs_create_journal_superblock()395 if ((jsb->s_header.h_magic != (unsigned) ntohl(JFS_MAGIC_NUMBER)) || in ext2fs_add_journal_device()396 (jsb->s_header.h_blocktype != (unsigned) ntohl(JFS_SUPERBLOCK_V2))) in ext2fs_add_journal_device()
204 journal_header_t s_header; member
603 if (jsb->s_header.h_magic != htonl(JFS_MAGIC_NUMBER)) in e2fsck_journal_load()606 switch (ntohl(jsb->s_header.h_blocktype)) { in e2fsck_journal_load()708 if (jsb->s_header.h_magic != htonl(JFS_MAGIC_NUMBER) || in e2fsck_journal_reset_super()709 jsb->s_header.h_blocktype != htonl(JFS_SUPERBLOCK_V1)) { in e2fsck_journal_reset_super()710 jsb->s_header.h_magic = htonl(JFS_MAGIC_NUMBER); in e2fsck_journal_reset_super()711 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V2); in e2fsck_journal_reset_super()
205 ((jsb)->s_header.h_blocktype == ext2fs_cpu_to_be32(JFS_SUPERBLOCK_V2) && \
60 struct journal_header_t s_header; member
390 if (be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) { in print_inline_journal_information()413 if ((jsb->s_header.h_magic != (unsigned) ntohl(JFS_MAGIC_NUMBER)) || in print_journal_information()414 (jsb->s_header.h_blocktype != in print_journal_information()
221 if ((jsb->s_header.h_magic != (unsigned)ntohl(JFS_MAGIC_NUMBER)) || in get_journal_sb()222 (jsb->s_header.h_blocktype != (unsigned)ntohl(JFS_SUPERBLOCK_V2))) { in get_journal_sb()
369 if ((be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) && in dump_journal()398 if (be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) { in dump_journal()
563 if (jsb->s_header.h_magic != htonl(JFS_MAGIC_NUMBER)) in ext2fs_journal_load()566 switch (ntohl(jsb->s_header.h_blocktype)) { in ext2fs_journal_load()