Home
last modified time | relevance | path

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

1234

/fs/minix/
Dinode.c208 s->s_magic = ms->s_magic; in minix_fill_super()
209 if (s->s_magic == MINIX_SUPER_MAGIC) { in minix_fill_super()
214 } else if (s->s_magic == MINIX_SUPER_MAGIC2) { in minix_fill_super()
219 } else if (s->s_magic == MINIX2_SUPER_MAGIC) { in minix_fill_super()
225 } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { in minix_fill_super()
233 s->s_magic = m3s->s_magic; in minix_fill_super()
378 buf->f_type = sb->s_magic; in minix_statfs()
/fs/devpts/
Dinode.c143 if ((sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_ptmx_path()
184 if ((path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_mntget()
209 if (path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) { in devpts_acquire()
453 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super()
607 if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC) in devpts_get_priv()
620 WARN_ON_ONCE(dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC); in devpts_pty_kill()
/fs/sysv/
Dsuper.c182 if (*(__le32 *)&sbd->s_magic == cpu_to_le32(0x2b5544)) in detect_xenix()
184 else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0x2b5544)) in detect_xenix()
208 if (*(__le32 *)&sbd->s_magic == cpu_to_le32(0xfd187e20)) in detect_sysv()
210 else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0xfd187e20)) in detect_sysv()
334 sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type; in complete_read_super()
/fs/squashfs/
Dsuper.c163 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super()
164 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
/fs/bfs/
Dinode.c335 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()
337 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
343 s->s_magic = BFS_MAGIC; in bfs_fill_super()
/fs/autofs/
Ddev-ioctl.c196 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount()
535 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
549 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
/fs/jfs/
Djfs_superblock.h26 char s_magic[4]; /* 4: magic number */ member
/fs/omfs/
Domfs_fs.h28 __be32 s_magic; /* OMFS_MAGIC */ member
Dinode.c491 if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { in omfs_fill_super()
494 omfs_sb->s_magic); in omfs_fill_super()
497 sb->s_magic = OMFS_MAGIC; in omfs_fill_super()
/fs/nilfs2/
Dsuper.c253 if (sbp[0]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super()
255 sbp[1]->s_magic == cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super()
262 sbp[1]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super()
886 sb->s_magic = le16_to_cpu(sbp->s_magic); in nilfs_store_magic_and_option()
/fs/qnx4/
Dinode.c134 buf->f_type = sb->s_magic; in qnx4_statfs()
201 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
/fs/configfs/
Dmount.c70 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
/fs/zonefs/
Dzonefs.h143 __le32 s_magic; member
/fs/ext2/
Dsuper.c875 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super()
877 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
987 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super()
1031 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
Dext2.h420 __le16 s_magic; /* Magic signature */ member
607 A(EXT2_SB_MAGIC_OFFSET, s_magic); in verify_offsets()
/fs/orangefs/
Dsuper.c203 buf->f_type = sb->s_magic; in orangefs_statfs()
436 sb->s_magic = ORANGEFS_SUPER_MAGIC; in orangefs_fill_sb()
/fs/erofs/
Dsuper.c600 sb->s_magic = EROFS_SUPER_MAGIC; in erofs_fc_fill_super()
835 WARN_ON(sb->s_magic != EROFS_SUPER_MAGIC); in erofs_kill_sb()
965 buf->f_type = sb->s_magic; in erofs_statfs()
/fs/afs/
Dsuper.c460 sb->s_magic = AFS_FS_MAGIC; in afs_fill_super()
758 buf->f_type = dentry->d_sb->s_magic; in afs_statfs()
/fs/qnx6/
Dinode.c161 buf->f_type = sb->s_magic; in qnx6_statfs()
428 s->s_magic = QNX6_SUPER_MAGIC; in qnx6_fill_super()
/fs/efivarfs/
Dsuper.c198 sb->s_magic = EFIVARFS_MAGIC; in efivarfs_fill_super()
/fs/ramfs/
Dinode.c239 sb->s_magic = RAMFS_MAGIC; in ramfs_fill_super()
/fs/freevxfs/
Dvxfs_super.c238 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic); in vxfs_fill_super()
/fs/hpfs/
Dsuper.c188 buf->f_type = s->s_magic; in hpfs_statfs()
613 s->s_magic = HPFS_SUPER_MAGIC; in hpfs_fill_super()
/fs/coda/
Dinode.c188 sb->s_magic = CODA_SUPER_MAGIC; in coda_fill_super()
/fs/
Dlibfs.c44 buf->f_type = dentry->d_sb->s_magic; in simple_statfs()
328 s->s_magic = ctx->magic; in pseudo_fs_fill_super()
654 s->s_magic = magic; in simple_fill_super()

1234