s_magic 725 arch/powerpc/platforms/cell/spufs/inode.c sb->s_magic = SPUFS_MAGIC; s_magic 270 arch/s390/hypfs/inode.c sb->s_magic = HYPFS_MAGIC; s_magic 75 drivers/android/binderfs.c if (inode->i_sb->s_magic == BINDERFS_SUPER_MAGIC) s_magic 681 drivers/android/binderfs.c sb->s_magic = BINDERFS_SUPER_MAGIC; s_magic 116 drivers/misc/ibmasm/ibmasmfs.c sb->s_magic = IBMASMFS_MAGIC; s_magic 248 drivers/oprofile/oprofilefs.c sb->s_magic = OPROFILEFS_MAGIC; s_magic 3518 drivers/staging/exfat/exfat_super.c buf->f_type = sb->s_magic; s_magic 3855 drivers/staging/exfat/exfat_super.c sb->s_magic = EXFAT_SUPER_MAGIC; s_magic 1472 drivers/usb/gadget/function/f_fs.c sb->s_magic = FUNCTIONFS_MAGIC; s_magic 2008 drivers/usb/gadget/legacy/inode.c sb->s_magic = GADGETFS_MAGIC; s_magic 68 fs/9p/vfs_super.c sb->s_magic = V9FS_MAGIC; s_magic 461 fs/adfs/super.c sb->s_magic = ADFS_SUPER_MAGIC; s_magic 354 fs/affs/super.c sb->s_magic = AFFS_SUPER_MAGIC; s_magic 440 fs/afs/super.c sb->s_magic = AFS_FS_MAGIC; s_magic 730 fs/afs/super.c buf->f_type = dentry->d_sb->s_magic; s_magic 194 fs/autofs/dev-ioctl.c if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { s_magic 533 fs/autofs/dev-ioctl.c magic = path.dentry->d_sb->s_magic; s_magic 547 fs/autofs/dev-ioctl.c magic = path.dentry->d_sb->s_magic; s_magic 258 fs/autofs/inode.c s->s_magic = AUTOFS_SUPER_MAGIC; s_magic 891 fs/befs/linuxvfs.c sb->s_magic = BEFS_SUPER_MAGIC; s_magic 336 fs/bfs/inode.c if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { s_magic 338 fs/bfs/inode.c printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); s_magic 344 fs/bfs/inode.c s->s_magic = BFS_MAGIC; s_magic 9407 fs/btrfs/inode.c if (sb->s_magic != BTRFS_TEST_MAGIC) s_magic 1195 fs/btrfs/super.c sb->s_magic = BTRFS_SUPER_MAGIC; s_magic 202 fs/cifs/cifsfs.c sb->s_magic = CIFS_MAGIC_NUMBER; s_magic 188 fs/coda/inode.c sb->s_magic = CODA_SUPER_MAGIC; s_magic 72 fs/configfs/mount.c sb->s_magic = CONFIGFS_MAGIC; s_magic 143 fs/devpts/inode.c if ((sb->s_magic != DEVPTS_SUPER_MAGIC) || s_magic 184 fs/devpts/inode.c if ((path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) || s_magic 209 fs/devpts/inode.c if (path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) { s_magic 453 fs/devpts/inode.c s->s_magic = DEVPTS_SUPER_MAGIC; s_magic 607 fs/devpts/inode.c if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC) s_magic 620 fs/devpts/inode.c WARN_ON_ONCE(dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC); s_magic 562 fs/ecryptfs/main.c s->s_magic = ECRYPTFS_SUPER_MAGIC; s_magic 199 fs/efivarfs/super.c sb->s_magic = EFIVARFS_MAGIC; s_magic 263 fs/efs/super.c s->s_magic = EFS_SUPER_MAGIC; s_magic 358 fs/erofs/super.c sb->s_magic = EROFS_SUPER_MAGIC; s_magic 440 fs/erofs/super.c WARN_ON(sb->s_magic != EROFS_SUPER_MAGIC); s_magic 531 fs/erofs/super.c buf->f_type = sb->s_magic; s_magic 433 fs/ext2/ext2.h __le16 s_magic; /* Magic signature */ s_magic 620 fs/ext2/ext2.h A(EXT2_SB_MAGIC_OFFSET, s_magic); s_magic 894 fs/ext2/super.c sb->s_magic = le16_to_cpu(es->s_magic); s_magic 896 fs/ext2/super.c if (sb->s_magic != EXT2_SUPER_MAGIC) s_magic 996 fs/ext2/super.c if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { s_magic 1047 fs/ext2/super.c if (sb->s_magic != EXT2_SUPER_MAGIC) s_magic 1235 fs/ext4/ext4.h __le16 s_magic; /* Magic signature */ s_magic 3687 fs/ext4/super.c sb->s_magic = le16_to_cpu(es->s_magic); s_magic 3688 fs/ext4/super.c if (sb->s_magic != EXT4_SUPER_MAGIC) s_magic 4080 fs/ext4/super.c if (es->s_magic != cpu_to_le16(EXT4_SUPER_MAGIC)) { s_magic 4866 fs/ext4/super.c if ((le16_to_cpu(es->s_magic) != EXT4_SUPER_MAGIC) || s_magic 3293 fs/f2fs/super.c sb->s_magic = F2FS_SUPER_MAGIC; s_magic 834 fs/fat/inode.c buf->f_type = dentry->d_sb->s_magic; s_magic 1630 fs/fat/inode.c sb->s_magic = MSDOS_SUPER_MAGIC; s_magic 262 fs/freevxfs/vxfs_super.c sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic); s_magic 1146 fs/fuse/inode.c sb->s_magic = FUSE_SUPER_MAGIC; s_magic 1067 fs/gfs2/ops_fstype.c sb->s_magic = GFS2_MAGIC; s_magic 422 fs/hfsplus/super.c sb->s_magic = HFSPLUS_VOLHEAD_SIG; s_magic 916 fs/hostfs/hostfs_kern.c sb->s_magic = HOSTFS_SUPER_MAGIC; s_magic 188 fs/hpfs/super.c buf->f_type = s->s_magic; s_magic 614 fs/hpfs/super.c s->s_magic = HPFS_SUPER_MAGIC; s_magic 1284 fs/hugetlbfs/inode.c sb->s_magic = HUGETLBFS_MAGIC; s_magic 799 fs/isofs/inode.c s->s_magic = ISOFS_SUPER_MAGIC; s_magic 593 fs/jffs2/fs.c sb->s_magic = JFFS2_SUPER_MAGIC; s_magic 308 fs/jfs/jfs_mount.c if (strncmp(j_sb->s_magic, JFS_MAGIC, 4) || s_magic 26 fs/jfs/jfs_superblock.h char s_magic[4]; /* 4: magic number */ s_magic 581 fs/jfs/super.c sb->s_magic = JFS_SUPER_MAGIC; s_magic 224 fs/kernfs/mount.c sb->s_magic = kfc->magic; s_magic 39 fs/libfs.c buf->f_type = dentry->d_sb->s_magic; s_magic 254 fs/libfs.c s->s_magic = ctx->magic; s_magic 542 fs/libfs.c s->s_magic = magic; s_magic 189 fs/minix/inode.c s->s_magic = ms->s_magic; s_magic 190 fs/minix/inode.c if (s->s_magic == MINIX_SUPER_MAGIC) { s_magic 195 fs/minix/inode.c } else if (s->s_magic == MINIX_SUPER_MAGIC2) { s_magic 200 fs/minix/inode.c } else if (s->s_magic == MINIX2_SUPER_MAGIC) { s_magic 206 fs/minix/inode.c } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { s_magic 214 fs/minix/inode.c s->s_magic = m3s->s_magic; s_magic 358 fs/minix/inode.c buf->f_type = sb->s_magic; s_magic 2350 fs/nfs/super.c sb->s_magic = NFS_SUPER_MAGIC; s_magic 613 fs/nfsd/nfs3proc.c if (sb->s_magic == MSDOS_SUPER_MAGIC) { s_magic 650 fs/nfsd/nfs3proc.c switch (sb->s_magic) { s_magic 247 fs/nilfs2/super.c if (sbp[0]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { s_magic 249 fs/nilfs2/super.c sbp[1]->s_magic == cpu_to_le16(NILFS_SUPER_MAGIC)) { s_magic 256 fs/nilfs2/super.c sbp[1]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { s_magic 852 fs/nilfs2/super.c sb->s_magic = le16_to_cpu(sbp->s_magic); s_magic 438 fs/nilfs2/the_nilfs.c if (!sbp || le16_to_cpu(sbp->s_magic) != NILFS_SUPER_MAGIC) s_magic 2829 fs/ntfs/super.c sb->s_magic = NTFS_SB_MAGIC; s_magic 552 fs/ocfs2/dlmfs/dlmfs.c sb->s_magic = DLMFS_MAGIC; s_magic 1027 fs/ocfs2/super.c sb->s_magic = OCFS2_SUPER_MAGIC; s_magic 493 fs/omfs/inode.c if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { s_magic 496 fs/omfs/inode.c omfs_sb->s_magic); s_magic 499 fs/omfs/inode.c sb->s_magic = OMFS_MAGIC; s_magic 28 fs/omfs/omfs_fs.h __be32 s_magic; /* OMFS_MAGIC */ s_magic 388 fs/openpromfs/inode.c s->s_magic = OPENPROM_SUPER_MAGIC; s_magic 202 fs/orangefs/super.c buf->f_type = sb->s_magic; s_magic 435 fs/orangefs/super.c sb->s_magic = ORANGEFS_SUPER_MAGIC; s_magic 1679 fs/overlayfs/super.c sb->s_magic = OVERLAYFS_SUPER_MAGIC; s_magic 901 fs/pipe.c bool is_pipe = inode->i_sb->s_magic == PIPEFS_MAGIC; s_magic 111 fs/proc/root.c s->s_magic = PROC_SUPER_MAGIC; s_magic 391 fs/pstore/inode.c sb->s_magic = PSTOREFS_MAGIC; s_magic 134 fs/qnx4/inode.c buf->f_type = sb->s_magic; s_magic 202 fs/qnx4/inode.c s->s_magic = QNX4_SUPER_MAGIC; s_magic 162 fs/qnx6/inode.c buf->f_type = sb->s_magic; s_magic 430 fs/qnx6/inode.c s->s_magic = QNX6_SUPER_MAGIC; s_magic 230 fs/ramfs/inode.c sb->s_magic = RAMFS_MAGIC; s_magic 255 fs/reiserfs/procfs.c rs->s_v1.s_magic, s_magic 993 fs/reiserfs/reiserfs.h char s_magic[10]; s_magic 1063 fs/reiserfs/reiserfs.h (SB_V1_DISK_SUPER_BLOCK(s)->s_magic) s_magic 42 fs/reiserfs/super.c return !strncmp(rs->s_v1.s_magic, reiserfs_3_5_magic_string, s_magic 48 fs/reiserfs/super.c return !strncmp(rs->s_v1.s_magic, reiserfs_3_6_magic_string, s_magic 54 fs/reiserfs/super.c return !strncmp(rs->s_v1.s_magic, reiserfs_jr_magic_string, s_magic 2151 fs/reiserfs/super.c memcpy(rs->s_v1.s_magic, s_magic 478 fs/romfs/super.c sb->s_magic = ROMFS_MAGIC; s_magic 240 fs/squashfs/squashfs_fs.h __le32 s_magic; s_magic 112 fs/squashfs/super.c sb->s_magic = le32_to_cpu(sblk->s_magic); s_magic 113 fs/squashfs/super.c if (sb->s_magic != SQUASHFS_MAGIC) { s_magic 94 fs/sysv/inode.c buf->f_type = sb->s_magic; s_magic 182 fs/sysv/super.c if (*(__le32 *)&sbd->s_magic == cpu_to_le32(0x2b5544)) s_magic 184 fs/sysv/super.c else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0x2b5544)) s_magic 208 fs/sysv/super.c if (*(__le32 *)&sbd->s_magic == cpu_to_le32(0xfd187e20)) s_magic 210 fs/sysv/super.c else if (*(__be32 *)&sbd->s_magic == cpu_to_be32(0xfd187e20)) s_magic 332 fs/sysv/super.c sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type; s_magic 2164 fs/ubifs/super.c sb->s_magic = UBIFS_SUPER_MAGIC; s_magic 2174 fs/udf/super.c sb->s_magic = UDF_SUPER_MAGIC; s_magic 1162 fs/ufs/super.c sb->s_magic = fs32_to_cpu(sb, usb3->fs_magic); s_magic 82 fs/xfs/xfs_ioctl.c if (inode->i_sb->s_magic != XFS_SB_MAGIC) s_magic 1661 fs/xfs/xfs_super.c sb->s_magic = XFS_SUPER_MAGIC; s_magic 1438 include/linux/fs.h unsigned long s_magic; s_magic 51 include/linux/sysv_fs.h s32 s_magic; /* version of file system */ s_magic 93 include/linux/sysv_fs.h s32 s_magic; /* version of file system */ s_magic 121 include/linux/sysv_fs.h s32 s_magic; /* version of file system */ s_magic 52 include/uapi/linux/bfs_fs.h __le32 s_magic; s_magic 74 include/uapi/linux/minix_fs.h __u16 s_magic; s_magic 92 include/uapi/linux/minix_fs.h __u16 s_magic; s_magic 140 include/uapi/linux/nilfs2_ondisk.h __le16 s_magic; /* Magic signature */ s_magic 117 init/do_mounts_rd.c if (le32_to_cpu(squashfsb->s_magic) == SQUASHFS_MAGIC) { s_magic 147 init/do_mounts_rd.c if (minixsb->s_magic == MINIX_SUPER_MAGIC || s_magic 148 init/do_mounts_rd.c minixsb->s_magic == MINIX_SUPER_MAGIC2) { s_magic 351 ipc/mqueue.c sb->s_magic = MQUEUE_MAGIC; s_magic 1964 kernel/auditsc.c && audit_comparator(inode->i_sb->s_magic, s_magic 2082 kernel/auditsc.c && audit_comparator(parent->i_sb->s_magic, s_magic 3685 mm/shmem.c sb->s_magic = TMPFS_MAGIC; s_magic 1366 net/sunrpc/rpc_pipe.c sb->s_magic = RPCAUTH_GSSMAGIC; s_magic 105 security/apparmor/path.c if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && s_magic 339 security/integrity/evm/evm_main.c if (dentry->d_sb->s_magic == TMPFS_MAGIC s_magic 340 security/integrity/evm/evm_main.c || dentry->d_sb->s_magic == SYSFS_MAGIC) s_magic 390 security/integrity/ima/ima_policy.c && rule->fsmagic != inode->i_sb->s_magic) s_magic 2037 security/selinux/hooks.c inode->i_sb->s_magic != SOCKFS_MAGIC) s_magic 3114 security/selinux/hooks.c inode->i_sb->s_magic != SOCKFS_MAGIC && s_magic 816 security/smack/smack_lsm.c sb->s_magic != SYSFS_MAGIC && sb->s_magic != TMPFS_MAGIC && s_magic 817 security/smack/smack_lsm.c sb->s_magic != RAMFS_MAGIC) { s_magic 1450 security/smack/smack_lsm.c if (sbp->s_magic != SOCKFS_MAGIC) s_magic 1837 security/smack/smack_lsm.c if (inode->i_sb->s_magic == SOCKFS_MAGIC) { s_magic 2702 security/smack/smack_lsm.c if (inode->i_sb->s_magic != SOCKFS_MAGIC) s_magic 3296 security/smack/smack_lsm.c switch (sbp->s_magic) { s_magic 3339 security/smack/smack_lsm.c switch (sbp->s_magic) { s_magic 161 security/tomoyo/realpath.c if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') {