Home
last modified time | relevance | path

Searched refs:s_header (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/include/
Dimage-sparse.h31 sparse_header_t *s_header = (sparse_header_t *)buf; in is_sparse_image() local
33 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()
/external/e2fsprogs/lib/ext2fs/
Dmkjournal.c61 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()
Dkernel-jbd.h204 journal_header_t s_header; member
/external/e2fsprogs/e2fsck/
Djournal.c603 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()
Djfs_user.h205 ((jsb)->s_header.h_blocktype == ext2fs_cpu_to_be32(JFS_SUPERBLOCK_V2) && \
/external/u-boot/fs/ext4/
Dext4_journal.h60 struct journal_header_t s_header; member
/external/e2fsprogs/misc/
Ddumpe2fs.c390 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()
Dtune2fs.c221 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()
/external/e2fsprogs/debugfs/
Dlogdump.c369 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()
Djournal.c563 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()