Home
last modified time | relevance | path

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

12345

/openbmc/linux/include/linux/
H A Dsysv_fs.h51 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
/openbmc/linux/include/uapi/linux/
H A Dminix_fs.h74 __u16 s_magic; member
92 __u16 s_magic; member
H A Dbfs_fs.h52 __le32 s_magic; member
/openbmc/linux/fs/minix/
H A Dinode.c208 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()
/openbmc/linux/fs/devpts/
H A Dinode.c125 if ((sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_ptmx_path()
166 if ((path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_mntget()
191 if (path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) { in devpts_acquire()
435 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super()
589 if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC) in devpts_get_priv()
602 WARN_ON_ONCE(dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC); in devpts_pty_kill()
/openbmc/linux/init/
H A Ddo_mounts_rd.c119 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()
/openbmc/linux/fs/sysv/
H A Dsuper.c182 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()
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs.c277 || (substring (REISER3FS_SUPER_MAGIC_STRING, super.s_magic) > 0 in reiserfs_mount()
278 && substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) > 0 in reiserfs_mount()
279 && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0) in reiserfs_mount()
291 if (substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) > 0 in reiserfs_mount()
292 && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0) in reiserfs_mount()
/openbmc/linux/fs/jfs/
H A Djfs_superblock.h26 char s_magic[4]; /* 4: magic number */ member
/openbmc/linux/fs/omfs/
H A Domfs_fs.h28 __be32 s_magic; /* OMFS_MAGIC */ member
H A Dinode.c490 if (omfs_sb->s_magic != cpu_to_be32(OMFS_MAGIC)) { in omfs_fill_super()
493 omfs_sb->s_magic); in omfs_fill_super()
496 sb->s_magic = OMFS_MAGIC; in omfs_fill_super()
/openbmc/linux/fs/efivarfs/
H A Dsuper.c56 buf->f_type = dentry->d_sb->s_magic; in efivarfs_statfs()
244 sb->s_magic = EFIVARFS_MAGIC; in efivarfs_fill_super()
/openbmc/linux/Documentation/filesystems/
H A Dsysv-fs.rst139 unsigned short s_magic;
168 long s_magic;
175 long s_magic;
/openbmc/linux/fs/autofs/
H A Ddev-ioctl.c196 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()
/openbmc/linux/fs/bfs/
H A Dinode.c334 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()
336 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
342 s->s_magic = BFS_MAGIC; in bfs_fill_super()
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0009-linux-syslinux-implement-install_bootblock.patch32 + if (sb.s_magic != EXT2_SUPER_MAGIC) {
/openbmc/linux/fs/squashfs/
H A Dsuper.c228 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super()
229 if (sb->s_magic != SQUASHFS_MAGIC) { in squashfs_fill_super()
/openbmc/linux/fs/configfs/
H A Dmount.c70 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
/openbmc/linux/fs/qnx4/
H A Dinode.c134 buf->f_type = sb->s_magic; in qnx4_statfs()
201 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
/openbmc/linux/security/apparmor/
H A Dpath.c105 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
/openbmc/linux/fs/nilfs2/
H A Dsuper.c254 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()
887 sb->s_magic = le16_to_cpu(sbp->s_magic); in nilfs_store_magic_and_option()
/openbmc/linux/fs/zonefs/
H A Dzonefs.h149 __le32 s_magic; member
/openbmc/linux/security/tomoyo/
H A Drealpath.c162 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()
/openbmc/linux/fs/ext2/
H A Dsuper.c875 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()
/openbmc/linux/fs/orangefs/
H A Dsuper.c203 buf->f_type = sb->s_magic; in orangefs_statfs()
437 sb->s_magic = ORANGEFS_SUPER_MAGIC; in orangefs_fill_sb()

12345