Searched refs:disk_sb (Results 1 – 6 of 6) sorted by relevance
/fs/befs/ |
D | super.c | 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() [all …]
|
D | linuxvfs.c | 813 befs_super_block *disk_sb; in befs_fill_super() local 863 disk_sb = (befs_super_block *) bh->b_data; in befs_fill_super() 864 if ((disk_sb->magic1 == BEFS_SUPER_MAGIC1_LE) || in befs_fill_super() 865 (disk_sb->magic1 == BEFS_SUPER_MAGIC1_BE)) { in befs_fill_super() 869 disk_sb = in befs_fill_super() 873 if ((befs_load_sb(sb, disk_sb) != BEFS_OK) || in befs_fill_super() 877 befs_dump_super_block(sb, disk_sb); in befs_fill_super()
|
D | super.h | 5 int befs_load_sb(struct super_block *sb, befs_super_block *disk_sb);
|
/fs/reiserfs/ |
D | objectid.c | 181 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() 199 set_sb_oid_cursize(disk_sb, new_size); in reiserfs_convert_objectid_map_v1() 207 set_sb_oid_maxsize(disk_sb, new_size); in reiserfs_convert_objectid_map_v1() 210 memset(disk_sb->s_label, 0, sizeof(disk_sb->s_label)); in reiserfs_convert_objectid_map_v1() 211 generate_random_uuid(disk_sb->s_uuid); in reiserfs_convert_objectid_map_v1() 214 memset(disk_sb->s_unused, 0, sizeof(disk_sb->s_unused)); in reiserfs_convert_objectid_map_v1()
|
/fs/btrfs/ |
D | disk-io.h | 45 const struct btrfs_super_block *disk_sb);
|
D | disk-io.c | 145 const struct btrfs_super_block *disk_sb) in btrfs_check_super_csum() argument 157 crypto_shash_digest(shash, (const u8 *)disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum() 160 if (memcmp(disk_sb->csum, result, fs_info->csum_size)) in btrfs_check_super_csum()
|