Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Dminix_fs.h73 __u16 s_magic; member
91 __u16 s_magic; member
Dbfs_fs.h51 __le32 s_magic; member
/linux-4.4.14/include/linux/
Dsysv_fs.h50 s32 s_magic; /* version of file system */ member
92 s32 s_magic; /* version of file system */ member
120 s32 s_magic; /* version of file system */ member
Dnilfs2_fs.h148 __le16 s_magic; /* Magic signature */ member
Dfs.h1299 unsigned long s_magic; member
/linux-4.4.14/fs/minix/
Dinode.c194 s->s_magic = ms->s_magic; in minix_fill_super()
195 if (s->s_magic == MINIX_SUPER_MAGIC) { in minix_fill_super()
200 } else if (s->s_magic == MINIX_SUPER_MAGIC2) { in minix_fill_super()
205 } else if (s->s_magic == MINIX2_SUPER_MAGIC) { in minix_fill_super()
211 } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { in minix_fill_super()
219 s->s_magic = m3s->s_magic; in minix_fill_super()
361 buf->f_type = sb->s_magic; in minix_statfs()
/linux-4.4.14/init/
Ddo_mounts_rd.c126 if (le32_to_cpu(squashfsb->s_magic) == SQUASHFS_MAGIC) { in identify_ramdisk_image()
156 if (minixsb->s_magic == MINIX_SUPER_MAGIC || in identify_ramdisk_image()
157 minixsb->s_magic == MINIX_SUPER_MAGIC2) { in identify_ramdisk_image()
/linux-4.4.14/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()
Dinode.c93 buf->f_type = sb->s_magic; in sysv_statfs()
/linux-4.4.14/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()
Dsuper.c578 sb->s_magic = JFS_SUPER_MAGIC; in jfs_fill_super()
/linux-4.4.14/security/tomoyo/
Drealpath.c155 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()
271 if (sb->s_magic == SOCKFS_MAGIC) { in tomoyo_realpath_from_path()
/linux-4.4.14/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()
/linux-4.4.14/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()
Dsquashfs_fs.h246 __le32 s_magic; member
/linux-4.4.14/Documentation/filesystems/
Dsysv-fs.txt103 unsigned short s_magic;
127 long s_magic;
132 long s_magic;
/linux-4.4.14/security/integrity/evm/
Devm_main.c302 if (dentry->d_inode->i_sb->s_magic == TMPFS_MAGIC in evm_protect_xattr()
303 || dentry->d_inode->i_sb->s_magic == SYSFS_MAGIC) in evm_protect_xattr()
/linux-4.4.14/fs/exofs/
Dsuper.c396 fscb->s_magic = cpu_to_le16(sb->s_magic); in exofs_sync_fs()
770 sb->s_magic = le16_to_cpu(fscb.s_magic); in exofs_fill_super()
776 if (sb->s_magic != EXOFS_SUPER_MAGIC) { in exofs_fill_super()
Dcommon.h96 __le16 s_magic; /* Magic signature */ member
/linux-4.4.14/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()
Dinode.c244 s->s_magic = AUTOFS_SUPER_MAGIC; in autofs4_fill_super()
/linux-4.4.14/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()
/linux-4.4.14/fs/devpts/
Dinode.c142 if (inode->i_sb->s_magic == DEVPTS_SUPER_MAGIC) in pts_sb_from_inode()
383 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super()
672 if (pts_inode->i_sb->s_magic == DEVPTS_SUPER_MAGIC) in devpts_get_priv()
/linux-4.4.14/fs/configfs/
Dmount.c76 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
/linux-4.4.14/security/apparmor/
Dpath.c71 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
/linux-4.4.14/fs/qnx4/
Dinode.c133 buf->f_type = sb->s_magic; in qnx4_statfs()
201 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
/linux-4.4.14/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()
Dthe_nilfs.c443 if (!sbp || le16_to_cpu(sbp->s_magic) != NILFS_SUPER_MAGIC) in nilfs_valid_sb()
/linux-4.4.14/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()
/linux-4.4.14/fs/freevxfs/
Dvxfs_super.c198 sbp->s_magic = rsbp->vs_magic; in vxfs_fill_super()
/linux-4.4.14/fs/kernfs/
Dmount.c74 sb->s_magic = magic; in kernfs_fill_super()
/linux-4.4.14/fs/ramfs/
Dinode.c227 sb->s_magic = RAMFS_MAGIC; in ramfs_fill_super()
/linux-4.4.14/fs/ext2/
Dsuper.c850 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super()
852 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
954 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super()
1005 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
Dext2.h431 __le16 s_magic; /* Magic signature */ member
634 A(EXT2_SB_MAGIC_OFFSET, s_magic); in verify_offsets()
/linux-4.4.14/fs/efivarfs/
Dsuper.c202 sb->s_magic = EFIVARFS_MAGIC; in efivarfs_fill_super()
/linux-4.4.14/drivers/oprofile/
Doprofilefs.c244 sb->s_magic = OPROFILEFS_MAGIC; in oprofilefs_fill_super()
/linux-4.4.14/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()
Dpipe.c863 bool is_pipe = inode->i_sb->s_magic == PIPEFS_MAGIC; in fifo_open()
/linux-4.4.14/fs/coda/
Dinode.c197 sb->s_magic = CODA_SUPER_MAGIC; in coda_fill_super()
/linux-4.4.14/fs/9p/
Dvfs_super.c82 sb->s_magic = V9FS_MAGIC; in v9fs_fill_super()
/linux-4.4.14/fs/qnx6/
Dinode.c161 buf->f_type = sb->s_magic; in qnx6_statfs()
429 s->s_magic = QNX6_SUPER_MAGIC; in qnx6_fill_super()
/linux-4.4.14/fs/hpfs/
Dsuper.c187 buf->f_type = s->s_magic; in hpfs_statfs()
621 s->s_magic = HPFS_SUPER_MAGIC; in hpfs_fill_super()
/linux-4.4.14/fs/efs/
Dsuper.c266 s->s_magic = EFS_SUPER_MAGIC; in efs_fill_super()
/linux-4.4.14/fs/openpromfs/
Dinode.c392 s->s_magic = OPENPROM_SUPER_MAGIC; in openprom_fill_super()
/linux-4.4.14/fs/pstore/
Dinode.c425 sb->s_magic = PSTOREFS_MAGIC; in pstore_fill_super()
/linux-4.4.14/fs/reiserfs/
Dprocfs.c255 rs->s_v1.s_magic, in show_on_disk_super()
Dsuper.c42 return !strncmp(rs->s_v1.s_magic, reiserfs_3_5_magic_string, in is_reiserfs_3_5()
48 return !strncmp(rs->s_v1.s_magic, reiserfs_3_6_magic_string, in is_reiserfs_3_6()
54 return !strncmp(rs->s_v1.s_magic, reiserfs_jr_magic_string, in is_reiserfs_jr()
2099 memcpy(rs->s_v1.s_magic, in reiserfs_fill_super()
Dreiserfs.h992 char s_magic[10]; member
1062 (SB_V1_DISK_SUPER_BLOCK(s)->s_magic)
/linux-4.4.14/fs/nfsd/
Dnfs3proc.c557 if (sb->s_magic == MSDOS_SUPER_MAGIC) { in nfsd3_proc_fsinfo()
593 switch (sb->s_magic) { in nfsd3_proc_pathconf()
/linux-4.4.14/fs/proc/
Dinode.c466 s->s_magic = PROC_SUPER_MAGIC; in proc_fill_super()
/linux-4.4.14/arch/s390/hypfs/
Dinode.c283 sb->s_magic = HYPFS_MAGIC; in hypfs_fill_super()
/linux-4.4.14/fs/ocfs2/dlmfs/
Ddlmfs.c576 sb->s_magic = DLMFS_MAGIC; in dlmfs_fill_super()
/linux-4.4.14/drivers/misc/ibmasm/
Dibmasmfs.c121 sb->s_magic = IBMASMFS_MAGIC; in ibmasmfs_fill_super()
/linux-4.4.14/fs/romfs/
Dsuper.c487 sb->s_magic = ROMFS_MAGIC; in romfs_fill_super()
/linux-4.4.14/fs/adfs/
Dsuper.c450 sb->s_magic = ADFS_SUPER_MAGIC; in adfs_fill_super()
/linux-4.4.14/fs/affs/
Dsuper.c322 sb->s_magic = AFFS_SUPER_MAGIC; in affs_fill_super()
/linux-4.4.14/fs/ecryptfs/
Dmain.c578 s->s_magic = ECRYPTFS_SUPER_MAGIC; in ecryptfs_mount()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dinode.c737 sb->s_magic = SPUFS_MAGIC; in spufs_fill_super()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlloop.c493 if (!S_ISREG(inode->i_mode) || inode->i_sb->s_magic != LL_SUPER_MAGIC) in loop_set_fd()
Dllite_lib.c300 sb->s_magic = LL_SUPER_MAGIC; in client_common_fill_super()
1415 osfs->os_type = sb->s_magic; in ll_statfs_internal()
/linux-4.4.14/fs/hfsplus/
Dsuper.c418 sb->s_magic = HFSPLUS_VOLHEAD_SIG; in hfsplus_fill_super()
/linux-4.4.14/security/smack/
Dsmack_lsm.c1489 if (sbp->s_magic != SOCKFS_MAGIC) in smack_inode_getsecurity()
2708 if (inode->i_sb->s_magic != SOCKFS_MAGIC) in smack_inode_setsecurity()
3374 switch (sbp->s_magic) { in smack_d_instantiate()
3409 switch (sbp->s_magic) { in smack_d_instantiate()
/linux-4.4.14/fs/befs/
Dlinuxvfs.c831 sb->s_magic = BEFS_SUPER_MAGIC; in befs_fill_super()
/linux-4.4.14/security/integrity/ima/
Dima_policy.c228 && rule->fsmagic != inode->i_sb->s_magic) in ima_match_rules()
/linux-4.4.14/fs/jffs2/
Dfs.c591 sb->s_magic = JFFS2_SUPER_MAGIC; in jffs2_do_fill_super()
/linux-4.4.14/fs/fat/
Dinode.c729 buf->f_type = dentry->d_sb->s_magic; in fat_statfs()
1512 sb->s_magic = MSDOS_SUPER_MAGIC; in fat_fill_super()
/linux-4.4.14/fs/ext4/
Dsuper.c3176 sb->s_magic = le16_to_cpu(es->s_magic); in ext4_fill_super()
3177 if (sb->s_magic != EXT4_SUPER_MAGIC) in ext4_fill_super()
3413 if (es->s_magic != cpu_to_le16(EXT4_SUPER_MAGIC)) { in ext4_fill_super()
4130 if ((le16_to_cpu(es->s_magic) != EXT4_SUPER_MAGIC) || in ext4_get_dev_journal()
Dext4.h1160 __le16 s_magic; /* Magic signature */ member
/linux-4.4.14/fs/hostfs/
Dhostfs_kern.c935 sb->s_magic = HOSTFS_SUPER_MAGIC; in hostfs_fill_sb_common()
/linux-4.4.14/fs/overlayfs/
Dsuper.c1097 sb->s_magic = OVERLAYFS_SUPER_MAGIC; in ovl_fill_super()
/linux-4.4.14/fs/cifs/
Dcifsfs.c136 sb->s_magic = CIFS_MAGIC_NUMBER; in cifs_read_super()
/linux-4.4.14/fs/ncpfs/
Dinode.c554 sb->s_magic = NCP_SUPER_MAGIC; in ncp_fill_super()
/linux-4.4.14/fs/fuse/
Dinode.c1059 sb->s_magic = FUSE_SUPER_MAGIC; in fuse_fill_super()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c1183 sb->s_magic = HUGETLBFS_MAGIC; in hugetlbfs_fill_super()
/linux-4.4.14/fs/isofs/
Dinode.c738 s->s_magic = ISOFS_SUPER_MAGIC; in isofs_fill_super()
/linux-4.4.14/fs/f2fs/
Dsuper.c1177 sb->s_magic = F2FS_SUPER_MAGIC; in f2fs_fill_super()
/linux-4.4.14/ipc/
Dmqueue.c312 sb->s_magic = MQUEUE_MAGIC; in mqueue_fill_super()
/linux-4.4.14/net/sunrpc/
Drpc_pipe.c1395 sb->s_magic = RPCAUTH_GSSMAGIC; in rpc_fill_super()
/linux-4.4.14/fs/gfs2/
Dops_fstype.c1071 sb->s_magic = GFS2_MAGIC; in fill_super()
/linux-4.4.14/fs/xfs/
Dxfs_ioctl.c95 if (inode->i_sb->s_magic != XFS_SB_MAGIC) in xfs_find_handle()
Dxfs_super.c1515 sb->s_magic = XFS_SB_MAGIC; in xfs_fs_fill_super()
/linux-4.4.14/fs/ufs/
Dsuper.c1120 sb->s_magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_fill_super()
/linux-4.4.14/fs/btrfs/
Dsuper.c1033 sb->s_magic = BTRFS_SUPER_MAGIC; in btrfs_fill_super()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dinode.c1981 sb->s_magic = GADGETFS_MAGIC; in gadgetfs_fill_super()
/linux-4.4.14/fs/ubifs/
Dsuper.c2036 sb->s_magic = UBIFS_SUPER_MAGIC; in ubifs_fill_super()
/linux-4.4.14/fs/udf/
Dsuper.c2133 sb->s_magic = UDF_SUPER_MAGIC; in udf_fill_super()
/linux-4.4.14/fs/ocfs2/
Dsuper.c1062 sb->s_magic = OCFS2_SUPER_MAGIC; in ocfs2_fill_super()
/linux-4.4.14/fs/nfs/
Dsuper.c2288 sb->s_magic = NFS_SUPER_MAGIC; in nfs_initialise_sb()
/linux-4.4.14/fs/ntfs/
Dsuper.c2846 sb->s_magic = NTFS_SB_MAGIC; in ntfs_fill_super()
/linux-4.4.14/drivers/usb/gadget/function/
Df_fs.c1162 sb->s_magic = FUNCTIONFS_MAGIC; in ffs_sb_fill()
/linux-4.4.14/mm/
Dshmem.c3045 sb->s_magic = TMPFS_MAGIC; in shmem_fill_super()