Home
last modified time | relevance | path

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

1234

/linux/fs/minix/
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()
/linux/include/linux/
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
/linux/fs/devpts/
A Dinode.c143 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 Dminix_fs.h74 __u16 s_magic; member
92 __u16 s_magic; member
A Dbfs_fs.h52 __le32 s_magic; member
/linux/init/
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()
/linux/fs/sysv/
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()
332 sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type; in complete_read_super()
/linux/fs/jfs/
A Djfs_superblock.h26 char s_magic[4]; /* 4: magic number */ member
/linux/fs/squashfs/
A Dsuper.c163 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 Dsysv-fs.rst139 unsigned short s_magic;
168 long s_magic;
175 long s_magic;
/linux/fs/omfs/
A Domfs_fs.h28 __be32 s_magic; /* OMFS_MAGIC */ member
A Dinode.c491 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 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()
/linux/fs/bfs/
A Dinode.c335 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 Dzonefs.h99 __le32 s_magic; member
/linux/fs/nilfs2/
A Dsuper.c252 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 Dinode.c134 buf->f_type = sb->s_magic; in qnx4_statfs()
201 s->s_magic = QNX4_SUPER_MAGIC; in qnx4_fill_super()
/linux/fs/configfs/
A Dmount.c70 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
/linux/security/apparmor/
A Dpath.c105 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
/linux/fs/erofs/
A Dsuper.c634 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 Dsuper.c874 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 Dext2.h430 __le16 s_magic; /* Magic signature */ member
617 A(EXT2_SB_MAGIC_OFFSET, s_magic); in verify_offsets()
/linux/fs/orangefs/
A Dsuper.c203 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 Devm_main.c573 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 Drealpath.c162 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()

Completed in 47 milliseconds

1234