/linux-6.12.1/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-6.12.1/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-6.12.1/fs/minix/ |
D | inode.c | 210 s->s_magic = ms->s_magic; in minix_fill_super() 211 if (s->s_magic == MINIX_SUPER_MAGIC) { in minix_fill_super() 216 } else if (s->s_magic == MINIX_SUPER_MAGIC2) { in minix_fill_super() 221 } else if (s->s_magic == MINIX2_SUPER_MAGIC) { in minix_fill_super() 227 } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { in minix_fill_super() 235 s->s_magic = m3s->s_magic; in minix_fill_super() 397 buf->f_type = sb->s_magic; in minix_statfs()
|
/linux-6.12.1/fs/devpts/ |
D | inode.c | 124 if ((sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_ptmx_path() 165 if ((path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_mntget() 190 if (path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) { in devpts_acquire() 434 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super() 588 if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC) in devpts_get_priv() 601 WARN_ON_ONCE(dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC); in devpts_pty_kill()
|
/linux-6.12.1/init/ |
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-6.12.1/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() 334 sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type; in complete_read_super()
|
/linux-6.12.1/fs/jfs/ |
D | jfs_superblock.h | 26 char s_magic[4]; /* 4: magic number */ member
|
/linux-6.12.1/fs/omfs/ |
D | omfs_fs.h | 28 __be32 s_magic; /* OMFS_MAGIC */ member
|
D | inode.c | 488 if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { in omfs_fill_super() 491 omfs_sb->s_magic); in omfs_fill_super() 494 sb->s_magic = OMFS_MAGIC; in omfs_fill_super()
|
/linux-6.12.1/Documentation/filesystems/ |
D | sysv-fs.rst | 139 unsigned short s_magic; 168 long s_magic; 175 long s_magic;
|
/linux-6.12.1/fs/bfs/ |
D | inode.c | 332 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super() 334 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super() 340 s->s_magic = BFS_MAGIC; in bfs_fill_super()
|
/linux-6.12.1/fs/squashfs/ |
D | super.c | 228 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super() 229 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
|
/linux-6.12.1/fs/autofs/ |
D | dev-ioctl.c | 201 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount() 621 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint() 635 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
|
/linux-6.12.1/fs/efivarfs/ |
D | super.c | 91 buf->f_type = dentry->d_sb->s_magic; in efivarfs_statfs() 318 sb->s_magic = EFIVARFS_MAGIC; in efivarfs_fill_super()
|
/linux-6.12.1/fs/configfs/ |
D | mount.c | 70 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
|
/linux-6.12.1/fs/nilfs2/ |
D | super.c | 258 if (sbp[0]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 260 sbp[1]->s_magic == cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 267 sbp[1]->s_magic != cpu_to_le16(NILFS_SUPER_MAGIC)) { in nilfs_prepare_super() 862 sb->s_magic = le16_to_cpu(sbp->s_magic); in nilfs_store_magic()
|
/linux-6.12.1/fs/qnx4/ |
D | inode.c | 140 buf->f_type = sb->s_magic; in qnx4_statfs() 208 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
|
/linux-6.12.1/security/apparmor/ |
D | path.c | 105 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
|
/linux-6.12.1/fs/zonefs/ |
D | zonefs.h | 149 __le32 s_magic; member
|
/linux-6.12.1/security/tomoyo/ |
D | realpath.c | 162 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()
|
/linux-6.12.1/fs/ext2/ |
D | super.c | 875 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super() 877 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super() 987 if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { in ext2_fill_super() 1031 if (sb->s_magic != EXT2_SUPER_MAGIC) in ext2_fill_super()
|
D | ext2.h | 426 __le16 s_magic; /* Magic signature */ member 613 A(EXT2_SB_MAGIC_OFFSET, s_magic); in verify_offsets()
|
/linux-6.12.1/fs/orangefs/ |
D | super.c | 203 buf->f_type = sb->s_magic; in orangefs_statfs() 435 sb->s_magic = ORANGEFS_SUPER_MAGIC; in orangefs_fill_sb()
|
/linux-6.12.1/fs/afs/ |
D | super.c | 461 sb->s_magic = AFS_FS_MAGIC; in afs_fill_super() 759 buf->f_type = dentry->d_sb->s_magic; in afs_statfs()
|