Home
last modified time | relevance | path

Searched refs:fs_magic (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/include/uapi/linux/
Defs_fs_sb.h36 __be32 fs_magic; /* magic number */ member
51 __u32 fs_magic; /* superblock magic number */ member
/linux-5.19.10/fs/efs/
Dsuper.c236 if (!IS_EFS_MAGIC(be32_to_cpu(super->fs_magic))) in efs_validate_super()
239 sb->fs_magic = be32_to_cpu(super->fs_magic); in efs_validate_super()
/linux-5.19.10/fs/ufs/
Dutil.h345 if (uspi->fs_magic == UFS2_MAGIC) in ubh_get_data_ptr()
556 return uspi->fs_magic == UFS2_MAGIC ? in ufs_get_direct_data_ptr()
563 return UFS_SB(sb)->s_uspi->fs_magic == UFS2_MAGIC ? in ufs_data_ptr_to_cpu()
570 if (UFS_SB(sb)->s_uspi->fs_magic == UFS2_MAGIC) in ufs_cpu_to_data_ptr()
579 if (uspi->fs_magic == UFS2_MAGIC) in ufs_data_ptr_clear()
588 if (uspi->fs_magic == UFS2_MAGIC) in ufs_is_data_ptr_zero()
Dsuper.c154 u32 magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_print_super_stuff()
158 if (fs32_to_cpu(sb, usb3->fs_magic) == UFS2_MAGIC) { in ufs_print_super_stuff()
1028 switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { in ufs_fill_super()
1038 switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { in ufs_fill_super()
1161 sb->s_magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_fill_super()
1201 if (uspi->fs_magic == UFS2_MAGIC) in ufs_fill_super()
1259 if (uspi->fs_magic == UFS2_MAGIC) in ufs_fill_super()
Dufs_fs.h216 #define ufs_cgstart(c) ((uspi)->fs_magic == UFS2_MAGIC ? ufs_cgbase(c) : \
493 __fs32 fs_magic; /* magic number */
793 __s32 fs_magic; /* filesystem magic */ member
958 __fs32 fs_magic; member
Dialloc.c268 if (uspi->fs_magic == UFS2_MAGIC) { in ufs_new_inode()
309 if (uspi->fs_magic == UFS2_MAGIC) { in ufs_new_inode()
Dballoc.c107 if (uspi->fs_magic != UFS2_MAGIC) { in ufs_free_fragments()
197 if (uspi->fs_magic != UFS2_MAGIC) { in ufs_free_blocks()
747 if (uspi->fs_magic != UFS2_MAGIC) { in ufs_alloccg_block()
Dinode.c355 if (uspi->fs_magic == UFS2_MAGIC) in ufs_inode_getblock()
364 if (index && (uspi->fs_magic == UFS2_MAGIC ? in ufs_inode_getblock()
817 if (uspi->fs_magic == UFS2_MAGIC) { in ufs_update_inode()