Lines Matching refs:total_bytes

3792 			     u64 total_bytes, u64 bytes_used,  in update_space_info()  argument
3809 found->total_bytes += total_bytes; in update_space_info()
3810 found->disk_total += total_bytes * factor; in update_space_info()
3813 if (total_bytes > 0) in update_space_info()
3834 found->total_bytes = total_bytes; in update_space_info()
3835 found->disk_total = total_bytes * factor; in update_space_info()
4026 if (used + bytes > data_sinfo->total_bytes) { in btrfs_alloc_data_chunk_ondemand()
4080 used + bytes - data_sinfo->total_bytes); in btrfs_alloc_data_chunk_ondemand()
4224 u64 num_bytes = sinfo->total_bytes - sinfo->bytes_readonly; in should_alloc_chunk()
4297 left = info->total_bytes - info->bytes_used - info->bytes_pinned - in check_system_chunk()
4481 if (used + space_size >= space_info->total_bytes) in can_overcommit()
4511 if (used + bytes < space_info->total_bytes + avail) in can_overcommit()
4769 expected = div_factor_fine(space_info->total_bytes, 95); in btrfs_calc_reclaim_metadata_size()
4771 expected = div_factor_fine(space_info->total_bytes, 90); in btrfs_calc_reclaim_metadata_size()
4788 u64 thresh = div_factor_fine(space_info->total_bytes, 98); in need_do_async_reclaim()
4921 if (used <= space_info->total_bytes) { in reserve_metadata_bytes()
4922 if (used + orig_bytes <= space_info->total_bytes) { in reserve_metadata_bytes()
4941 num_bytes = used - space_info->total_bytes + in reserve_metadata_bytes()
5330 if (sinfo->total_bytes > num_bytes) { in update_global_block_rsv()
5331 num_bytes = sinfo->total_bytes - num_bytes; in update_global_block_rsv()
7507 info->total_bytes - info->bytes_used - info->bytes_pinned - in dump_space_info()
7512 info->total_bytes, info->bytes_used, info->bytes_pinned, in dump_space_info()
9148 min_allocable_bytes <= sinfo->total_bytes) { in inc_block_group_ro()
9347 if ((space_info->total_bytes != block_group->key.offset) && in btrfs_can_relocate()
9350 min_free < space_info->total_bytes)) { in btrfs_can_relocate()
9416 if (device->total_bytes > device->bytes_used + min_free && in btrfs_can_relocate()
10198 WARN_ON(block_group->space_info->total_bytes in btrfs_remove_block_group()
10205 block_group->space_info->total_bytes -= block_group->key.offset; in btrfs_remove_block_group()
10581 if (device->total_bytes <= device->bytes_used) in btrfs_trim_free_extents()
10647 u64 total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_trim_fs() local
10653 if (range->len == total_bytes) in btrfs_trim_fs()