Home
last modified time | relevance | path

Searched refs:disk_sb (Results 1 – 4 of 4) sorted by relevance

/linux/fs/befs/
H A Dsuper.c21 befs_load_sb(struct super_block *sb, befs_super_block *disk_sb) in befs_load_sb() argument
26 if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_LE) in befs_load_sb()
28 else if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_BE) in befs_load_sb()
31 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1); in befs_load_sb()
32 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2); in befs_load_sb()
33 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3); in befs_load_sb()
34 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); in befs_load_sb()
35 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb()
36 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); in befs_load_sb()
37 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
[all …]
H A Dlinuxvfs.c784 befs_super_block *disk_sb; in befs_fill_super() local
832 disk_sb = (befs_super_block *) bh->b_data; in befs_fill_super()
833 if ((disk_sb->magic1 == BEFS_SUPER_MAGIC1_LE) || in befs_fill_super()
834 (disk_sb->magic1 == BEFS_SUPER_MAGIC1_BE)) { in befs_fill_super()
838 disk_sb = in befs_fill_super()
842 if ((befs_load_sb(sb, disk_sb) != BEFS_OK) || in befs_fill_super()
846 befs_dump_super_block(sb, disk_sb); in befs_fill_super()
H A Dsuper.h5 int befs_load_sb(struct super_block *sb, befs_super_block *disk_sb);
/linux/fs/btrfs/
H A Ddisk-io.c154 const struct btrfs_super_block *disk_sb) in btrfs_check_super_csum() argument
163 btrfs_csum(fs_info->csum_type, (const u8 *)disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()
166 if (memcmp(disk_sb->csum, result, fs_info->csum_size)) in btrfs_check_super_csum()