Home
last modified time | relevance | path

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

/fs/befs/
Dsuper.c25 befs_load_sb(struct super_block *sb, befs_super_block * disk_sb) in befs_load_sb() argument
30 if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_LE) in befs_load_sb()
32 else if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_BE) in befs_load_sb()
35 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1); in befs_load_sb()
36 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2); in befs_load_sb()
37 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3); in befs_load_sb()
38 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); in befs_load_sb()
39 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb()
40 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); in befs_load_sb()
41 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
[all …]
Dlinuxvfs.c756 befs_super_block *disk_sb; in befs_fill_super() local
802 disk_sb = (befs_super_block *) bh->b_data; in befs_fill_super()
803 if ((disk_sb->magic1 == BEFS_SUPER_MAGIC1_LE) || in befs_fill_super()
804 (disk_sb->magic1 == BEFS_SUPER_MAGIC1_BE)) { in befs_fill_super()
808 disk_sb = in befs_fill_super()
812 if ((befs_load_sb(sb, disk_sb) != BEFS_OK) || in befs_fill_super()
816 befs_dump_super_block(sb, disk_sb); in befs_fill_super()
Dsuper.h5 int befs_load_sb(struct super_block *sb, befs_super_block * disk_sb);
/fs/reiserfs/
Dobjectid.c181 struct reiserfs_super_block *disk_sb = SB_DISK_SUPER_BLOCK(s); in reiserfs_convert_objectid_map_v1() local
182 int cur_size = sb_oid_cursize(disk_sb); in reiserfs_convert_objectid_map_v1()
184 int old_max = sb_oid_maxsize(disk_sb); in reiserfs_convert_objectid_map_v1()
192 new_objectid_map = (__le32 *) (disk_sb + 1); in reiserfs_convert_objectid_map_v1()
200 set_sb_oid_cursize(disk_sb, new_size); in reiserfs_convert_objectid_map_v1()
208 set_sb_oid_maxsize(disk_sb, new_size); in reiserfs_convert_objectid_map_v1()
211 memset(disk_sb->s_label, 0, sizeof(disk_sb->s_label)); in reiserfs_convert_objectid_map_v1()
212 generate_random_uuid(disk_sb->s_uuid); in reiserfs_convert_objectid_map_v1()
215 memset(disk_sb->s_unused, 0, sizeof(disk_sb->s_unused)); in reiserfs_convert_objectid_map_v1()
/fs/btrfs/
Ddisk-io.c402 struct btrfs_super_block *disk_sb = in btrfs_check_super_csum() local
404 u16 csum_type = btrfs_super_csum_type(disk_sb); in btrfs_check_super_csum()