Home
last modified time | relevance | path

Searched refs:s_magic (Results 1 – 20 of 20) sorted by relevance

/third_party/e2fsprogs/misc/
De2label.c44 unsigned char s_magic[2]; member
71 if (sb.s_magic[0] + 256*sb.s_magic[1] != EXT2_SUPER_MAGIC) { in open_e2fs()
Dfindsuper.c217 if (ext2.s_magic != EXT2_SUPER_MAGIC) in main()
De2undo.c196 sb->s_magic = ~sb->s_magic; in check_filesystem()
Dmke2fs.c2695 __u16 s_magic; in should_do_undo() local
2726 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()
/third_party/e2fsprogs/ext2ed/
Dsuper_com.c53 switch (type_data.u.t_ext2_super_block.s_magic) { in type_ext2_super_block___show()
Dinit.c387 if (sb->s_magic == EXT2_SUPER_MAGIC) in set_file_system_info()
Dext2.descriptors134 __u16 s_magic; /* Magic signature */
/third_party/e2fsprogs/lib/ext2fs/
Dtst_super_size.c70 check_field(s_magic, 2); in main()
Dundo_io.c228 super.s_magic = ~super.s_magic; in write_undo_indexes()
523 sb->s_magic = ~sb->s_magic; in check_filesystem()
Dswapfs.c44 sb->s_magic = ext2fs_swab16(sb->s_magic); in ext2fs_swap_super()
Dopenfs.c256 if (fs->super->s_magic != EXT2_SUPER_MAGIC) in ext2fs_open2()
Dinitialize.c159 super->s_magic = EXT2_SUPER_MAGIC; in ext2fs_initialize()
Dext2_fs.h669 __u16 s_magic; /* Magic signature */ member
/third_party/e2fsprogs/debugfs/
Dlogdump.c374 if (sb->s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in dump_journal()
379 (sb->s_magic == EXT2_SUPER_MAGIC) && in dump_journal()
Djournal.c456 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()
/third_party/e2fsprogs/e2fsck/
Dutil.c598 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()
Djournal.c1132 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()
Dsuper.c1153 if ((backup_sb->s_magic != EXT2_SUPER_MAGIC) || in check_backup_super_block()
/third_party/e2fsprogs/lib/e2p/
Dls.c246 fprintf(f, "Filesystem magic number: 0x%04X\n", sb->s_magic); in list_super2()
/third_party/e2fsprogs/lib/blkid/
Dprobe.h62 unsigned char s_magic[2]; member