/linux/fs/minix/ |
A D | inode.c | 208 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()
|
/linux/include/linux/ |
A D | sysv_fs.h | 51 s32 s_magic; /* version of file system */ member 93 s32 s_magic; /* version of file system */ member 121 s32 s_magic; /* version of file system */ member
|
/linux/fs/devpts/ |
A D | inode.c | 143 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()
|
/linux/include/uapi/linux/ |
A D | minix_fs.h | 74 __u16 s_magic; member 92 __u16 s_magic; member
|
A D | bfs_fs.h | 52 __le32 s_magic; member
|
/linux/init/ |
A D | do_mounts_rd.c | 119 if (le32_to_cpu(squashfsb->s_magic) == SQUASHFS_MAGIC) { in identify_ramdisk_image() 149 if (minixsb->s_magic == MINIX_SUPER_MAGIC || in identify_ramdisk_image() 150 minixsb->s_magic == MINIX_SUPER_MAGIC2) { in identify_ramdisk_image()
|
/linux/fs/sysv/ |
A D | super.c | 182 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() 332 sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type; in complete_read_super()
|
/linux/fs/jfs/ |
A D | jfs_superblock.h | 26 char s_magic[4]; /* 4: magic number */ member
|
/linux/fs/squashfs/ |
A D | super.c | 163 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super() 164 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
|
/linux/Documentation/filesystems/ |
A D | sysv-fs.rst | 139 unsigned short s_magic; 168 long s_magic; 175 long s_magic;
|
/linux/fs/omfs/ |
A D | omfs_fs.h | 28 __be32 s_magic; /* OMFS_MAGIC */ member
|
A D | inode.c | 491 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()
|
/linux/fs/autofs/ |
A D | dev-ioctl.c | 196 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()
|
/linux/fs/bfs/ |
A D | inode.c | 335 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()
|
/linux/fs/zonefs/ |
A D | zonefs.h | 99 __le32 s_magic; member
|
/linux/fs/nilfs2/ |
A D | super.c | 252 if (sbp[0]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 254 sbp[1]->s_magic == cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 261 sbp[1]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 854 sb->s_magic = le16_to_cpu(sbp->s_magic); in nilfs_store_magic_and_option()
|
/linux/fs/qnx4/ |
A D | inode.c | 134 buf->f_type = sb->s_magic; in qnx4_statfs() 201 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
|
/linux/fs/configfs/ |
A D | mount.c | 70 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
|
/linux/security/apparmor/ |
A D | path.c | 105 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
|
/linux/fs/erofs/ |
A D | super.c | 634 sb->s_magic = EROFS_SUPER_MAGIC; in erofs_fc_fill_super() 790 WARN_ON(sb->s_magic != EROFS_SUPER_MAGIC); in erofs_kill_sb() 894 buf->f_type = sb->s_magic; in erofs_statfs()
|
/linux/fs/ext2/ |
A D | super.c | 874 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super() 876 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super() 977 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super() 1028 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
|
A D | ext2.h | 430 __le16 s_magic; /* Magic signature */ member 617 A(EXT2_SB_MAGIC_OFFSET, s_magic); in verify_offsets()
|
/linux/fs/orangefs/ |
A D | super.c | 203 buf->f_type = sb->s_magic; in orangefs_statfs() 436 sb->s_magic = ORANGEFS_SUPER_MAGIC; in orangefs_fill_sb()
|
/linux/security/integrity/evm/ |
A D | evm_main.c | 573 if (dentry->d_sb->s_magic == TMPFS_MAGIC in evm_protect_xattr() 574 || dentry->d_sb->s_magic == SYSFS_MAGIC) in evm_protect_xattr()
|
/linux/security/tomoyo/ |
A D | realpath.c | 162 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()
|