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

/linux-4.4.14/fs/befs/
H A Dsuper.c25 befs_load_sb(struct super_block *sb, befs_super_block * disk_sb) befs_load_sb() argument
30 if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_LE) befs_load_sb()
32 else if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_BE) befs_load_sb()
35 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1); befs_load_sb()
36 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2); befs_load_sb()
37 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3); befs_load_sb()
38 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); befs_load_sb()
39 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); befs_load_sb()
40 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); befs_load_sb()
41 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); befs_load_sb()
42 befs_sb->inode_size = fs32_to_cpu(sb, disk_sb->inode_size); befs_load_sb()
44 befs_sb->blocks_per_ag = fs32_to_cpu(sb, disk_sb->blocks_per_ag); befs_load_sb()
45 befs_sb->ag_shift = fs32_to_cpu(sb, disk_sb->ag_shift); befs_load_sb()
46 befs_sb->num_ags = fs32_to_cpu(sb, disk_sb->num_ags); befs_load_sb()
48 befs_sb->log_blocks = fsrun_to_cpu(sb, disk_sb->log_blocks); befs_load_sb()
49 befs_sb->log_start = fs64_to_cpu(sb, disk_sb->log_start); befs_load_sb()
50 befs_sb->log_end = fs64_to_cpu(sb, disk_sb->log_end); befs_load_sb()
52 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); befs_load_sb()
53 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); befs_load_sb()
H A Dlinuxvfs.c756 befs_super_block *disk_sb; befs_fill_super() local
802 disk_sb = (befs_super_block *) bh->b_data; befs_fill_super()
803 if ((disk_sb->magic1 == BEFS_SUPER_MAGIC1_LE) || befs_fill_super()
804 (disk_sb->magic1 == BEFS_SUPER_MAGIC1_BE)) { befs_fill_super()
808 disk_sb = befs_fill_super()
812 if ((befs_load_sb(sb, disk_sb) != BEFS_OK) || befs_fill_super()
816 befs_dump_super_block(sb, disk_sb); befs_fill_super()
/linux-4.4.14/fs/reiserfs/
H A Dobjectid.c114 * the end of it (i = disk_sb->s_oid_cursize). Linear search is reiserfs_release_objectid()
181 struct reiserfs_super_block *disk_sb = SB_DISK_SUPER_BLOCK(s); reiserfs_convert_objectid_map_v1() local
182 int cur_size = sb_oid_cursize(disk_sb); reiserfs_convert_objectid_map_v1()
184 int old_max = sb_oid_maxsize(disk_sb); reiserfs_convert_objectid_map_v1()
192 new_objectid_map = (__le32 *) (disk_sb + 1); reiserfs_convert_objectid_map_v1()
200 set_sb_oid_cursize(disk_sb, new_size); reiserfs_convert_objectid_map_v1()
208 set_sb_oid_maxsize(disk_sb, new_size); reiserfs_convert_objectid_map_v1()
211 memset(disk_sb->s_label, 0, sizeof(disk_sb->s_label)); reiserfs_convert_objectid_map_v1()
212 generate_random_uuid(disk_sb->s_uuid); reiserfs_convert_objectid_map_v1()
215 memset(disk_sb->s_unused, 0, sizeof(disk_sb->s_unused)); reiserfs_convert_objectid_map_v1()
/linux-4.4.14/fs/btrfs/
H A Ddisk-io.c401 struct btrfs_super_block *disk_sb = btrfs_check_super_csum() local
403 u16 csum_type = btrfs_super_csum_type(disk_sb); btrfs_check_super_csum()

Completed in 144 milliseconds