Home
last modified time | relevance | path

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

12

/external/e2fsprogs/misc/
De2label.c43 unsigned char s_magic[2]; member
70 if (sb.s_magic[0] + 256*sb.s_magic[1] != EXT2_SUPER_MAGIC) { in open_e2fs()
Dfindsuper.c214 if (ext2.s_magic != EXT2_SUPER_MAGIC) in main()
Dmke2fs.c1826 __u16 s_magic; in should_do_undo() local
1857 s_magic = ext2fs_swab16(super.s_magic); in should_do_undo()
1859 s_magic = super.s_magic; in should_do_undo()
1862 if (s_magic == EXT2_SUPER_MAGIC) in should_do_undo()
/external/grub/stage2/
Dfsys_reiserfs.c70 …char s_magic[16]; /* reiserfs magic string indicates that file system is reise… member
577 || (substring (REISER3FS_SUPER_MAGIC_STRING, super.s_magic) > 0 in reiserfs_mount()
578 && substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) > 0 in reiserfs_mount()
579 && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0) in reiserfs_mount()
591 if (substring (REISER3FS_SUPER_MAGIC_STRING, super.s_magic) > 0 in reiserfs_mount()
592 && substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) > 0 in reiserfs_mount()
593 && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0) in reiserfs_mount()
1225 if ((substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) <= 0 in reiserfs_embed()
1226 || substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) <= 0 in reiserfs_embed()
1227 || substring (REISER3FS_SUPER_MAGIC_STRING, super.s_magic) <= 0) in reiserfs_embed()
Dfsys_minix.c126 __u16 s_magic; member
176 switch (SUPERBLOCK->s_magic) in minix_mount()
Dfsys_jfs.c214 || (super.s_magic != JFS_MAGIC) in jfs_mount()
395 || (super.s_magic != JFS_MAGIC)) { in jfs_embed()
Dfsys_ext2fs.c72 __u16 s_magic; /* Magic signature */ member
265 || SUPERBLOCK->s_magic != EXT2_SUPER_MAGIC) in ext2fs_mount()
Djfs.h171 u32 s_magic; /* 4: magic number */ member
/external/e2fsprogs/ext2ed/
Dsuper_com.c52 switch (type_data.u.t_ext2_super_block.s_magic) { in type_ext2_super_block___show()
Dinit.c393 if (sb->s_magic == EXT2_SUPER_MAGIC) in set_file_system_info()
Dext2.descriptors134 __u16 s_magic; /* Magic signature */
/external/e2fsprogs/lib/ext2fs/
Dswapfs.c42 sb->s_magic = ext2fs_swab16(sb->s_magic); in ext2fs_swap_super()
Dopenfs.c193 if (fs->super->s_magic != EXT2_SUPER_MAGIC) { in ext2fs_open2()
Dinitialize.c148 super->s_magic = EXT2_SUPER_MAGIC; in ext2fs_initialize()
Dext2_fs.h515 __u16 s_magic; /* Magic signature */ member
/external/e2fsprogs/debugfs/
Dlogdump.c356 if (sb->s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in dump_journal()
361 (sb->s_magic == EXT2_SUPER_MAGIC) && in dump_journal()
/external/e2fsprogs/e2fsck/
Dutil.c499 if (sb->s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in get_backup_sb()
502 if ((sb->s_magic == EXT2_SUPER_MAGIC) && in get_backup_sb()
Djournal.c395 if (jsuper.s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC)) in e2fsck_get_journal()
398 if (jsuper.s_magic != EXT2_SUPER_MAGIC || in e2fsck_get_journal()
Dsuper.c930 if ((backup_sb->s_magic != EXT2_SUPER_MAGIC) || in check_backup_super_block()
/external/e2fsprogs/lib/e2p/
Dls.c199 fprintf(f, "Filesystem magic number: 0x%04X\n", sb->s_magic); in list_super2()
/external/kernel-headers/original/linux/
Dext2_fs.h357 __le16 s_magic; /* Magic signature */ member
Dext3_fs.h428 __le16 s_magic; /* Magic signature */ member
Dfs.h873 unsigned long s_magic; member
/external/e2fsprogs/lib/blkid/
Dprobe.h60 unsigned char s_magic[2]; member
/external/genext2fs/
Dgenext2fs.c459 udecl16(s_magic) /* Magic number indicating ex2fs */ \
2021 fs->sb.s_magic = EXT2_MAGIC_NUMBER; in init_fs()
2146 if(fs->sb.s_rev_level || (fs->sb.s_magic != EXT2_MAGIC_NUMBER)) in load_fs()

12