Lines Matching refs:bytes_used
2375 device->bytes_used = btrfs_device_get_bytes_used(srcdev); in btrfs_init_dev_replace_tgtdev()
2378 device->commit_bytes_used = device->bytes_used; in btrfs_init_dev_replace_tgtdev()
2624 if (device->bytes_used > 0) { in btrfs_remove_chunk()
2627 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
4323 if (device->total_bytes > device->bytes_used) in __btrfs_alloc_chunk()
4324 total_avail = device->total_bytes - device->bytes_used; in __btrfs_alloc_chunk()
4482 num_bytes = map->stripes[i].dev->bytes_used + stripe_size; in __btrfs_alloc_chunk()
6105 device->bytes_used = btrfs_device_bytes_used(leaf, dev_item); in fill_device_from_item()
6106 device->commit_bytes_used = device->bytes_used; in fill_device_from_item()
6248 device->bytes_used; in read_one_dev()
6735 dev->commit_bytes_used = dev->bytes_used; in btrfs_update_commit_device_bytes_used()