Home
last modified time | relevance | path

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

12345

/linux-6.12.1/include/linux/
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-6.12.1/include/uapi/linux/
Dminix_fs.h74 __u16 s_magic; member
92 __u16 s_magic; member
Dbfs_fs.h52 __le32 s_magic; member
/linux-6.12.1/fs/minix/
Dinode.c210 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/
Dinode.c124 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/
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-6.12.1/fs/sysv/
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()
/linux-6.12.1/fs/jfs/
Djfs_superblock.h26 char s_magic[4]; /* 4: magic number */ member
/linux-6.12.1/fs/omfs/
Domfs_fs.h28 __be32 s_magic; /* OMFS_MAGIC */ member
Dinode.c488 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/
Dsysv-fs.rst139 unsigned short s_magic;
168 long s_magic;
175 long s_magic;
/linux-6.12.1/fs/bfs/
Dinode.c332 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/
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()
/linux-6.12.1/fs/autofs/
Ddev-ioctl.c201 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/
Dsuper.c91 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/
Dmount.c70 sb->s_magic = CONFIGFS_MAGIC; in configfs_fill_super()
/linux-6.12.1/fs/nilfs2/
Dsuper.c258 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/
Dinode.c140 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/
Dpath.c105 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
/linux-6.12.1/fs/zonefs/
Dzonefs.h149 __le32 s_magic; member
/linux-6.12.1/security/tomoyo/
Drealpath.c162 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()
/linux-6.12.1/fs/ext2/
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()
Dext2.h426 __le16 s_magic; /* Magic signature */ member
613 A(EXT2_SB_MAGIC_OFFSET, s_magic); in verify_offsets()
/linux-6.12.1/fs/orangefs/
Dsuper.c203 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/
Dsuper.c461 sb->s_magic = AFS_FS_MAGIC; in afs_fill_super()
759 buf->f_type = dentry->d_sb->s_magic; in afs_statfs()

12345