/Linux-v5.4/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-v5.4/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-v5.4/fs/minix/ |
D | inode.c | 189 s->s_magic = ms->s_magic; in minix_fill_super() 190 if (s->s_magic == MINIX_SUPER_MAGIC) { in minix_fill_super() 195 } else if (s->s_magic == MINIX_SUPER_MAGIC2) { in minix_fill_super() 200 } else if (s->s_magic == MINIX2_SUPER_MAGIC) { in minix_fill_super() 206 } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { in minix_fill_super() 214 s->s_magic = m3s->s_magic; in minix_fill_super() 358 buf->f_type = sb->s_magic; in minix_statfs()
|
/Linux-v5.4/fs/devpts/ |
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-v5.4/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-v5.4/fs/sysv/ |
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-v5.4/security/tomoyo/ |
D | realpath.c | 161 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path() 283 if (sb->s_magic == SOCKFS_MAGIC) { in tomoyo_realpath_from_path()
|
/Linux-v5.4/fs/jfs/ |
D | jfs_superblock.h | 26 char s_magic[4]; /* 4: magic number */ member
|
/Linux-v5.4/fs/omfs/ |
D | omfs_fs.h | 28 __be32 s_magic; /* OMFS_MAGIC */ member
|
D | inode.c | 493 if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { in omfs_fill_super() 496 omfs_sb->s_magic); in omfs_fill_super() 499 sb->s_magic = OMFS_MAGIC; in omfs_fill_super()
|
/Linux-v5.4/fs/squashfs/ |
D | super.c | 112 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super() 113 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
|
/Linux-v5.4/Documentation/filesystems/ |
D | sysv-fs.txt | 103 unsigned short s_magic; 127 long s_magic; 132 long s_magic;
|
/Linux-v5.4/fs/erofs/ |
D | super.c | 358 sb->s_magic = EROFS_SUPER_MAGIC; in erofs_fill_super() 440 WARN_ON(sb->s_magic != EROFS_SUPER_MAGIC); in erofs_kill_sb() 531 buf->f_type = sb->s_magic; in erofs_statfs()
|
/Linux-v5.4/fs/autofs/ |
D | dev-ioctl.c | 194 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount() 533 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint() 547 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
|
/Linux-v5.4/fs/bfs/ |
D | inode.c | 336 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super() 338 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super() 344 s->s_magic = BFS_MAGIC; in bfs_fill_super()
|
/Linux-v5.4/security/integrity/evm/ |
D | evm_main.c | 339 if (dentry->d_sb->s_magic == TMPFS_MAGIC in evm_protect_xattr() 340 || dentry->d_sb->s_magic == SYSFS_MAGIC) in evm_protect_xattr()
|
/Linux-v5.4/fs/configfs/ |
D | mount.c | 72 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
|
/Linux-v5.4/security/apparmor/ |
D | path.c | 105 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
|
/Linux-v5.4/fs/qnx4/ |
D | inode.c | 134 buf->f_type = sb->s_magic; in qnx4_statfs() 202 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
|
/Linux-v5.4/fs/nilfs2/ |
D | super.c | 247 if (sbp[0]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 249 sbp[1]->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() 852 sb->s_magic = le16_to_cpu(sbp->s_magic); in nilfs_store_magic_and_option()
|
/Linux-v5.4/fs/ext2/ |
D | super.c | 894 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super() 896 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super() 996 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super() 1047 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
|
/Linux-v5.4/fs/orangefs/ |
D | super.c | 202 buf->f_type = sb->s_magic; in orangefs_statfs() 435 sb->s_magic = ORANGEFS_SUPER_MAGIC; in orangefs_fill_sb()
|
/Linux-v5.4/fs/efivarfs/ |
D | super.c | 199 sb->s_magic = EFIVARFS_MAGIC; in efivarfs_fill_super()
|
/Linux-v5.4/fs/ramfs/ |
D | inode.c | 230 sb->s_magic = RAMFS_MAGIC; in ramfs_fill_super()
|