Lines Matching refs:num_bytes
1112 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent() argument
1221 if (hole_size >= num_bytes) { in find_free_dev_extent()
1258 if (max_hole_size < num_bytes) in find_free_dev_extent()
1332 u64 chunk_offset, u64 start, u64 num_bytes) in btrfs_alloc_dev_extent() argument
1365 btrfs_set_dev_extent_length(leaf, extent, num_bytes); in btrfs_alloc_dev_extent()
4242 u64 num_bytes; in __btrfs_alloc_chunk() local
4444 num_bytes = stripe_size * data_stripes; in __btrfs_alloc_chunk()
4446 trace_btrfs_chunk_alloc(info->chunk_root, map, start, num_bytes); in __btrfs_alloc_chunk()
4457 em->len = num_bytes; in __btrfs_alloc_chunk()
4477 start, num_bytes); in __btrfs_alloc_chunk()
4482 num_bytes = map->stripes[i].dev->bytes_used + stripe_size; in __btrfs_alloc_chunk()
4483 btrfs_device_set_bytes_used(map->stripes[i].dev, num_bytes); in __btrfs_alloc_chunk()