Lines Matching refs:bytes_used
3043 if (device->bytes_used > 0) { in btrfs_remove_chunk()
3046 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
3307 u64 bytes_used; in btrfs_may_alloc_data_chunk() local
3319 bytes_used = fs_info->data_sinfo->bytes_used; in btrfs_may_alloc_data_chunk()
3322 if (!bytes_used) { in btrfs_may_alloc_data_chunk()
5127 if (device->total_bytes > device->bytes_used) in gather_device_info()
5128 total_avail = device->total_bytes - device->bytes_used; in gather_device_info()
5352 dev->bytes_used + ctl->stripe_size); in create_chunk()
7084 device->bytes_used = btrfs_device_bytes_used(leaf, dev_item); in fill_device_from_item()
7085 device->commit_bytes_used = device->bytes_used; in fill_device_from_item()
7252 atomic64_add(device->total_bytes - device->bytes_used, in read_one_dev()
7904 curr->commit_bytes_used = curr->bytes_used; in btrfs_commit_device_sizes()