Home
last modified time | relevance | path

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

123

/fs/minix/
Dinode.c211 s->s_magic = ms->s_magic; in minix_fill_super()
212 if (s->s_magic == MINIX_SUPER_MAGIC) { in minix_fill_super()
217 } else if (s->s_magic == MINIX_SUPER_MAGIC2) { in minix_fill_super()
222 } else if (s->s_magic == MINIX2_SUPER_MAGIC) { in minix_fill_super()
228 } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { in minix_fill_super()
236 s->s_magic = m3s->s_magic; in minix_fill_super()
379 buf->f_type = sb->s_magic; in minix_statfs()
/fs/sysv/
Dsuper.c181 if (*(__le32 *)&sbd->s_magic == cpu_to_le32(0x2b5544)) in detect_xenix()
183 else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0x2b5544)) in detect_xenix()
207 if (*(__le32 *)&sbd->s_magic == cpu_to_le32(0xfd187e20)) in detect_sysv()
209 else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0xfd187e20)) in detect_sysv()
332 sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type; in complete_read_super()
/fs/squashfs/
Dsuper.c124 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super()
125 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
/fs/exofs/
Dsuper.c397 fscb->s_magic = cpu_to_le16(sb->s_magic); in exofs_sync_fs()
771 sb->s_magic = le16_to_cpu(fscb.s_magic); in exofs_fill_super()
777 if (sb->s_magic != EXOFS_SUPER_MAGIC) { in exofs_fill_super()
Dcommon.h96 __le16 s_magic; /* Magic signature */ member
/fs/jfs/
Djfs_superblock.h37 char s_magic[4]; /* 4: magic number */ member
/fs/autofs4/
Ddev-ioctl.c205 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount()
551 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
565 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
Dautofs_i.h139 return sb->s_magic != AUTOFS_SUPER_MAGIC ? in autofs4_sbi()
/fs/devpts/
Dinode.c143 if (inode->i_sb->s_magic == DEVPTS_SUPER_MAGIC) in pts_sb_from_inode()
385 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super()
671 if (pts_inode->i_sb->s_magic == DEVPTS_SUPER_MAGIC) in devpts_get_priv()
/fs/bfs/
Dinode.c342 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()
345 s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
351 s->s_magic = BFS_MAGIC; in bfs_fill_super()
/fs/omfs/
Domfs_fs.h27 __be32 s_magic; /* OMFS_MAGIC */ member
Dinode.c461 if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { in omfs_fill_super()
464 omfs_sb->s_magic); in omfs_fill_super()
467 sb->s_magic = OMFS_MAGIC; in omfs_fill_super()
/fs/sdcardfs/
Dmain.c307 sb->s_magic = SDCARDFS_SUPER_MAGIC; in sdcardfs_read_super()
424 if (sb->s_magic == SDCARDFS_SUPER_MAGIC && sb->s_fs_info) { in sdcardfs_kill_sb()
/fs/nilfs2/
Dsuper.c271 if (sbp[0]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super()
273 sbp[1]->s_magic == cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super()
281 sbp[1]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super()
880 sb->s_magic = le16_to_cpu(sbp->s_magic); in nilfs_store_magic_and_option()
/fs/qnx4/
Dinode.c133 buf->f_type = sb->s_magic; in qnx4_statfs()
201 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
/fs/configfs/
Dmount.c76 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
/fs/afs/
Dsuper.c320 sb->s_magic = AFS_FS_MAGIC; in afs_fill_super()
547 buf->f_type = dentry->d_sb->s_magic; in afs_statfs()
/fs/ext2/
Dsuper.c864 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super()
866 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
968 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super()
1019 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
Dext2.h434 __le16 s_magic; /* Magic signature */ member
637 A(EXT2_SB_MAGIC_OFFSET, s_magic); in verify_offsets()
/fs/freevxfs/
Dvxfs_super.c198 sbp->s_magic = rsbp->vs_magic; in vxfs_fill_super()
/fs/kernfs/
Dmount.c74 sb->s_magic = magic; in kernfs_fill_super()
/fs/ramfs/
Dinode.c227 sb->s_magic = RAMFS_MAGIC; in ramfs_fill_super()
/fs/
Dlibfs.c35 buf->f_type = dentry->d_sb->s_magic; in simple_statfs()
227 s->s_magic = magic; in mount_pseudo()
482 s->s_magic = magic; in simple_fill_super()
/fs/efivarfs/
Dsuper.c205 sb->s_magic = EFIVARFS_MAGIC; in efivarfs_fill_super()
/fs/hpfs/
Dsuper.c187 buf->f_type = s->s_magic; in hpfs_statfs()
621 s->s_magic = HPFS_SUPER_MAGIC; in hpfs_fill_super()

123