Lines Matching refs:bytes_used
710 u64 bytes_used; in caching_thread() local
714 bytes_used = block_group->length - block_group->used; in caching_thread()
715 block_group->space_info->bytes_used += bytes_used >> 1; in caching_thread()
2463 u64 bytes_used, u64 type, in btrfs_make_block_group() argument
2478 cache->used = bytes_used; in btrfs_make_block_group()
2529 u64 new_bytes_used = size - bytes_used; in btrfs_make_block_group()
2531 cache->space_info->bytes_used += new_bytes_used >> 1; in btrfs_make_block_group()
3296 cache->space_info->bytes_used += num_bytes; in btrfs_update_block_group()
3306 cache->space_info->bytes_used -= num_bytes; in btrfs_update_block_group()
3440 u64 bytes_used = btrfs_space_info_used(sinfo, false); in should_alloc_chunk() local
3454 if (sinfo->total_bytes - bytes_used < thresh) in should_alloc_chunk()
3458 if (bytes_used + SZ_2M < div_factor(sinfo->total_bytes, 8)) in should_alloc_chunk()