Home
last modified time | relevance | path

Searched refs:disk_super (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dsysfs.c27 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() local
29 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() local
41 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()
Dctree.h3539 struct btrfs_super_block *disk_super; in __btrfs_set_fs_incompat() local
3542 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() local
3566 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 …]
Ddisk-io.c2266 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log() local
2267 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() local
2827 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 …]
Dvolumes.c678 struct btrfs_super_block *disk_super; in btrfs_open_one_device() local
692 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() argument
751 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 …]
Dinode-item.c382 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_insert_inode_ref() local
385 if (btrfs_super_incompat_flags(disk_super) in btrfs_insert_inode_ref()
Dsuper.c2110 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_statfs() local
2156 buf->f_blocks = div_u64(btrfs_super_total_bytes(disk_super), factor); in btrfs_statfs()
Dextent-tree.c10753 struct btrfs_super_block *disk_super; in btrfs_init_space_info() local
10759 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()