Lines Matching refs:zone_unusable
1173 < block_group->length - block_group->zone_unusable); in btrfs_remove_block_group()
1175 < block_group->zone_unusable); in btrfs_remove_block_group()
1187 (block_group->length - block_group->zone_unusable); in btrfs_remove_block_group()
1189 block_group->zone_unusable; in btrfs_remove_block_group()
1339 cache->bytes_super - cache->zone_unusable - cache->used; in inc_block_group_ro()
1372 sinfo->bytes_readonly += cache->zone_unusable; in inc_block_group_ro()
1373 sinfo->bytes_zone_unusable -= cache->zone_unusable; in inc_block_group_ro()
1374 cache->zone_unusable = 0; in inc_block_group_ro()
1747 u64 zone_unusable; in btrfs_reclaim_bgs_work() local
1821 zone_unusable = bg->zone_unusable; in btrfs_reclaim_bgs_work()
1831 div64_u64(zone_unusable * 100, bg->length)); in btrfs_reclaim_bgs_work()
2886 cache->zone_unusable = in btrfs_dec_block_group_ro()
2889 sinfo->bytes_zone_unusable += cache->zone_unusable; in btrfs_dec_block_group_ro()
2890 sinfo->bytes_readonly -= cache->zone_unusable; in btrfs_dec_block_group_ro()
2894 cache->zone_unusable - cache->used; in btrfs_dec_block_group_ro()