Searched refs:disk_super (Results 1 – 7 of 7) sorted by relevance
27 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() local29 return btrfs_super_compat_flags(disk_super); in get_features()31 return btrfs_super_compat_ro_flags(disk_super); in get_features()33 return btrfs_super_incompat_flags(disk_super); in get_features()39 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features() local41 btrfs_set_super_compat_flags(disk_super, features); in set_features()43 btrfs_set_super_compat_ro_flags(disk_super, features); in set_features()45 btrfs_set_super_incompat_flags(disk_super, features); in set_features()
3539 struct btrfs_super_block *disk_super; in __btrfs_set_fs_incompat() local3542 disk_super = fs_info->super_copy; in __btrfs_set_fs_incompat()3543 features = btrfs_super_incompat_flags(disk_super); in __btrfs_set_fs_incompat()3546 features = btrfs_super_incompat_flags(disk_super); in __btrfs_set_fs_incompat()3549 btrfs_set_super_incompat_flags(disk_super, features); in __btrfs_set_fs_incompat()3563 struct btrfs_super_block *disk_super; in __btrfs_clear_fs_incompat() local3566 disk_super = fs_info->super_copy; in __btrfs_clear_fs_incompat()3567 features = btrfs_super_incompat_flags(disk_super); in __btrfs_clear_fs_incompat()3570 features = btrfs_super_incompat_flags(disk_super); in __btrfs_clear_fs_incompat()3573 btrfs_set_super_incompat_flags(disk_super, features); in __btrfs_clear_fs_incompat()[all …]
2266 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log() local2267 u64 bytenr = btrfs_super_log_root(disk_super); in btrfs_replay_log()2268 int level = btrfs_super_log_root_level(disk_super); in btrfs_replay_log()2607 struct btrfs_super_block *disk_super; in open_ctree() local2827 disk_super = fs_info->super_copy; in open_ctree()2828 if (!btrfs_super_root(disk_super)) in open_ctree()2832 if (btrfs_super_flags(disk_super) & BTRFS_SUPER_FLAG_ERROR) in open_ctree()2839 generation = btrfs_super_generation(disk_super); in open_ctree()2854 features = btrfs_super_incompat_flags(disk_super) & in open_ctree()2864 features = btrfs_super_incompat_flags(disk_super); in open_ctree()[all …]
678 struct btrfs_super_block *disk_super; in btrfs_open_one_device() local692 disk_super = (struct btrfs_super_block *)bh->b_data; in btrfs_open_one_device()693 devid = btrfs_stack_device_id(&disk_super->dev_item); in btrfs_open_one_device()697 if (memcmp(device->uuid, disk_super->dev_item.uuid, BTRFS_UUID_SIZE)) in btrfs_open_one_device()700 device->generation = btrfs_super_generation(disk_super); in btrfs_open_one_device()702 if (btrfs_super_flags(disk_super) & BTRFS_SUPER_FLAG_SEEDING) { in btrfs_open_one_device()745 struct btrfs_super_block *disk_super, in device_list_add() argument751 u64 found_transid = btrfs_super_generation(disk_super); in device_list_add()752 u64 devid = btrfs_stack_device_id(&disk_super->dev_item); in device_list_add()754 fs_devices = find_fsid(disk_super->fsid); in device_list_add()[all …]
382 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref() local385 if (btrfs_super_incompat_flags(disk_super) in btrfs_insert_inode_ref()
2110 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs() local2156 buf->f_blocks = div_u64(btrfs_super_total_bytes(disk_super), factor); in btrfs_statfs()
10753 struct btrfs_super_block *disk_super; in btrfs_init_space_info() local10759 disk_super = fs_info->super_copy; in btrfs_init_space_info()10760 if (!btrfs_super_root(disk_super)) in btrfs_init_space_info()10763 features = btrfs_super_incompat_flags(disk_super); in btrfs_init_space_info()