Lines Matching refs:bytes_used
3131 if (device->bytes_used > 0) { in btrfs_remove_chunk()
3134 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
3408 u64 bytes_used; in btrfs_may_alloc_data_chunk() local
3420 bytes_used = fs_info->data_sinfo->bytes_used; in btrfs_may_alloc_data_chunk()
3423 if (!bytes_used) { in btrfs_may_alloc_data_chunk()
5213 if (device->total_bytes > device->bytes_used) in gather_device_info()
5214 total_avail = device->total_bytes - device->bytes_used; in gather_device_info()
5440 dev->bytes_used + ctl->stripe_size); in create_chunk()
6871 device->bytes_used = btrfs_device_bytes_used(leaf, dev_item); in fill_device_from_item()
6872 device->commit_bytes_used = device->bytes_used; in fill_device_from_item()
7042 atomic64_add(device->total_bytes - device->bytes_used, in read_one_dev()
7685 curr->commit_bytes_used = curr->bytes_used; in btrfs_commit_device_sizes()