Home
last modified time | relevance | path

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

123

/fs/minix/
Dinode.c177 s->s_magic = ms->s_magic; in minix_fill_super()
178 if (s->s_magic == MINIX_SUPER_MAGIC) { in minix_fill_super()
183 } else if (s->s_magic == MINIX_SUPER_MAGIC2) { in minix_fill_super()
188 } else if (s->s_magic == MINIX2_SUPER_MAGIC) { in minix_fill_super()
194 } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { in minix_fill_super()
202 s->s_magic = m3s->s_magic; in minix_fill_super()
325 buf->f_type = dentry->d_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.c123 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super()
124 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
Dsquashfs_fs.h217 __le32 s_magic; member
/fs/jfs/
Djfs_superblock.h37 char s_magic[4]; /* 4: magic number */ member
Djfs_mount.c321 if (strncmp(j_sb->s_magic, JFS_MAGIC, 4) || in chkSuper()
/fs/omfs/
Domfs_fs.h25 __be32 s_magic; /* OMFS_MAGIC */ member
Dinode.c439 if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { in omfs_fill_super()
442 omfs_sb->s_magic); in omfs_fill_super()
445 sb->s_magic = OMFS_MAGIC; in omfs_fill_super()
/fs/devpts/
Dinode.c84 if (inode->i_sb->s_magic == DEVPTS_SUPER_MAGIC) in pts_sb_from_inode()
285 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super()
615 if (pts_inode->i_sb->s_magic == DEVPTS_SUPER_MAGIC) in devpts_get_tty()
/fs/bfs/
Dinode.c346 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()
349 s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
355 s->s_magic = BFS_MAGIC; in bfs_fill_super()
/fs/sysfs/
Dmount.c50 sb->s_magic = SYSFS_MAGIC; in sysfs_fill_super()
/fs/autofs4/
Ddev-ioctl.c228 if (sb->s_magic == AUTOFS_SUPER_MAGIC) { in autofs_dev_ioctl_find_super()
647 magic = nd.path.dentry->d_inode->i_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
667 magic = inode->i_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
/fs/configfs/
Dmount.c76 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
/fs/afs/
Dsuper.c311 sb->s_magic = AFS_FS_MAGIC; in afs_fill_super()
533 buf->f_type = dentry->d_sb->s_magic; in afs_statfs()
/fs/ext2/
Dsuper.c804 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super()
806 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
901 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super()
950 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
/fs/
Dlibfs.c26 buf->f_type = dentry->d_sb->s_magic; in simple_statfs()
221 s->s_magic = magic; in get_sb_pseudo()
425 s->s_magic = magic; in simple_fill_super()
/fs/9p/
Dvfs_super.c89 sb->s_magic = V9FS_MAGIC; in v9fs_fill_super()
/fs/freevxfs/
Dvxfs_super.c198 sbp->s_magic = rsbp->vs_magic; in vxfs_fill_super()
/fs/ramfs/
Dinode.c171 sb->s_magic = RAMFS_MAGIC; in ramfs_fill_super()
/fs/coda/
Dinode.c175 sb->s_magic = CODA_SUPER_MAGIC; in coda_fill_super()
/fs/qnx4/
Dinode.c288 buf->f_type = sb->s_magic; in qnx4_statfs()
381 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
/fs/hpfs/
Dsuper.c145 buf->f_type = s->s_magic; in hpfs_statfs()
526 s->s_magic = HPFS_SUPER_MAGIC; in hpfs_fill_super()
/fs/autofs/
Dinode.c162 s->s_magic = AUTOFS_SUPER_MAGIC; in autofs_fill_super()
/fs/efs/
Dsuper.c257 s->s_magic = EFS_SUPER_MAGIC; in efs_fill_super()
/fs/nfsd/
Dnfs3proc.c572 if (sb->s_magic == 0x4d44 /* MSDOS_SUPER_MAGIC */) { in nfsd3_proc_fsinfo()
608 switch (sb->s_magic) { in nfsd3_proc_pathconf()

123