Lines Matching refs:bytes_used
2816 if (device->bytes_used > 0) { in btrfs_remove_chunk()
2819 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
3005 u64 bytes_used; in btrfs_may_alloc_data_chunk() local
3015 bytes_used = fs_info->data_sinfo->bytes_used; in btrfs_may_alloc_data_chunk()
3018 if (!bytes_used) { in btrfs_may_alloc_data_chunk()
4716 if (device->total_bytes > device->bytes_used) in __btrfs_alloc_chunk()
4717 total_avail = device->total_bytes - device->bytes_used; in __btrfs_alloc_chunk()
4875 num_bytes = map->stripes[i].dev->bytes_used + stripe_size; in __btrfs_alloc_chunk()
6503 device->bytes_used = btrfs_device_bytes_used(leaf, dev_item); in fill_device_from_item()
6504 device->commit_bytes_used = device->bytes_used; in fill_device_from_item()
6662 atomic64_add(device->total_bytes - device->bytes_used, in read_one_dev()
7295 dev->commit_bytes_used = dev->bytes_used; in btrfs_update_commit_device_bytes_used()