Searched refs:s_magic (Results 1 – 20 of 20) sorted by relevance
44 unsigned char s_magic[2]; member71 if (sb.s_magic[0] + 256*sb.s_magic[1] != EXT2_SUPER_MAGIC) { in open_e2fs()
217 if (ext2.s_magic != EXT2_SUPER_MAGIC) in main()
196 sb->s_magic = ~sb->s_magic; in check_filesystem()
2695 __u16 s_magic; in should_do_undo() local2726 s_magic = ext2fs_swab16(super.s_magic); in should_do_undo()2728 s_magic = super.s_magic; in should_do_undo()2731 if (s_magic == EXT2_SUPER_MAGIC) in should_do_undo()
53 switch (type_data.u.t_ext2_super_block.s_magic) { in type_ext2_super_block___show()
387 if (sb->s_magic == EXT2_SUPER_MAGIC) in set_file_system_info()
134 __u16 s_magic; /* Magic signature */
70 check_field(s_magic, 2); in main()
228 super.s_magic = ~super.s_magic; in write_undo_indexes()523 sb->s_magic = ~sb->s_magic; in check_filesystem()
44 sb->s_magic = ext2fs_swab16(sb->s_magic); in ext2fs_swap_super()
256 if (fs->super->s_magic != EXT2_SUPER_MAGIC) in ext2fs_open2()
159 super->s_magic = EXT2_SUPER_MAGIC; in ext2fs_initialize()
669 __u16 s_magic; /* Magic signature */ member
374 if (sb->s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in dump_journal()379 (sb->s_magic == EXT2_SUPER_MAGIC) && in dump_journal()
456 if (jsuper.s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in ext2fs_get_journal()459 if (jsuper.s_magic != EXT2_SUPER_MAGIC || in ext2fs_get_journal()
598 if (sb->s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in get_backup_sb()601 if ((sb->s_magic == EXT2_SUPER_MAGIC) && in get_backup_sb()
1132 if (jsuper.s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in e2fsck_get_journal()1135 if (jsuper.s_magic != EXT2_SUPER_MAGIC || in e2fsck_get_journal()
1153 if ((backup_sb->s_magic != EXT2_SUPER_MAGIC) || in check_backup_super_block()
246 fprintf(f, "Filesystem magic number: 0x%04X\n", sb->s_magic); in list_super2()
62 unsigned char s_magic[2]; member