Lines Matching refs:disk_sb
21 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()
38 befs_sb->inode_size = fs32_to_cpu(sb, disk_sb->inode_size); in befs_load_sb()
40 befs_sb->blocks_per_ag = fs32_to_cpu(sb, disk_sb->blocks_per_ag); in befs_load_sb()
41 befs_sb->ag_shift = fs32_to_cpu(sb, disk_sb->ag_shift); in befs_load_sb()
42 befs_sb->num_ags = fs32_to_cpu(sb, disk_sb->num_ags); in befs_load_sb()
44 befs_sb->flags = fs32_to_cpu(sb, disk_sb->flags); in befs_load_sb()
46 befs_sb->log_blocks = fsrun_to_cpu(sb, disk_sb->log_blocks); in befs_load_sb()
47 befs_sb->log_start = fs64_to_cpu(sb, disk_sb->log_start); in befs_load_sb()
48 befs_sb->log_end = fs64_to_cpu(sb, disk_sb->log_end); in befs_load_sb()
50 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); in befs_load_sb()
51 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()