/Linux-v4.19/include/linux/ |
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-v4.19/include/uapi/linux/ |
D | minix_fs.h | 74 __u16 s_magic; member 92 __u16 s_magic; member
|
D | bfs_fs.h | 52 __le32 s_magic; member
|
/Linux-v4.19/fs/devpts/ |
D | inode.c | 146 if ((sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_ptmx_path() 187 if ((path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_mntget() 212 if (path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) { in devpts_acquire() 456 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super() 609 if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC) in devpts_get_priv() 622 WARN_ON_ONCE(dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC); in devpts_pty_kill()
|
/Linux-v4.19/fs/minix/ |
D | inode.c | 194 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-v4.19/init/ |
D | do_mounts_rd.c | 117 if (le32_to_cpu(squashfsb->s_magic) == SQUASHFS_MAGIC) { in identify_ramdisk_image() 147 if (minixsb->s_magic == MINIX_SUPER_MAGIC || in identify_ramdisk_image() 148 minixsb->s_magic == MINIX_SUPER_MAGIC2) { in identify_ramdisk_image()
|
/Linux-v4.19/fs/sysv/ |
D | super.c | 181 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()
|
/Linux-v4.19/fs/jfs/ |
D | jfs_superblock.h | 37 char s_magic[4]; /* 4: magic number */ member
|
/Linux-v4.19/security/tomoyo/ |
D | realpath.c | 156 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path() 272 if (sb->s_magic == SOCKFS_MAGIC) { in tomoyo_realpath_from_path()
|
/Linux-v4.19/fs/omfs/ |
D | omfs_fs.h | 28 __be32 s_magic; /* OMFS_MAGIC */ member
|
D | inode.c | 489 if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { in omfs_fill_super() 492 omfs_sb->s_magic); in omfs_fill_super() 495 sb->s_magic = OMFS_MAGIC; in omfs_fill_super()
|
/Linux-v4.19/fs/squashfs/ |
D | super.c | 123 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super() 124 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
|
/Linux-v4.19/fs/exofs/ |
D | super.c | 400 fscb->s_magic = cpu_to_le16(sb->s_magic); in exofs_sync_fs() 772 sb->s_magic = le16_to_cpu(fscb.s_magic); in exofs_fill_super() 778 if (sb->s_magic != EXOFS_SUPER_MAGIC) { in exofs_fill_super()
|
D | common.h | 96 __le16 s_magic; /* Magic signature */ member
|
/Linux-v4.19/Documentation/filesystems/ |
D | sysv-fs.txt | 103 unsigned short s_magic; 127 long s_magic; 132 long s_magic;
|
/Linux-v4.19/drivers/staging/erofs/ |
D | super.c | 342 sb->s_magic = EROFS_SUPER_MAGIC; in erofs_read_super() 453 WARN_ON(sb->s_magic != EROFS_SUPER_MAGIC); in erofs_put_super() 587 buf->f_type = sb->s_magic; in erofs_statfs()
|
/Linux-v4.19/fs/autofs/ |
D | dev-ioctl.c | 213 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount() 552 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint() 566 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
|
D | autofs_i.h | 129 return sb->s_magic != AUTOFS_SUPER_MAGIC ? in autofs_sbi()
|
/Linux-v4.19/fs/bfs/ |
D | inode.c | 342 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-v4.19/fs/configfs/ |
D | mount.c | 76 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
|
/Linux-v4.19/security/integrity/evm/ |
D | evm_main.c | 342 if (dentry->d_sb->s_magic == TMPFS_MAGIC in evm_protect_xattr() 343 || dentry->d_sb->s_magic == SYSFS_MAGIC) in evm_protect_xattr()
|
/Linux-v4.19/security/apparmor/ |
D | path.c | 109 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
|
/Linux-v4.19/fs/qnx4/ |
D | inode.c | 133 buf->f_type = sb->s_magic; in qnx4_statfs() 201 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
|
/Linux-v4.19/fs/nilfs2/ |
D | super.c | 254 if (sbp[0]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 256 sbp[1]->s_magic == cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 263 sbp[1]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 859 sb->s_magic = le16_to_cpu(sbp->s_magic); in nilfs_store_magic_and_option()
|
/Linux-v4.19/fs/ext2/ |
D | super.c | 893 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super() 895 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super() 995 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super() 1046 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
|