Lines Matching refs:num_bytes
1247 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent_start() argument
1357 if (hole_size >= num_bytes) { in find_free_dev_extent_start()
1394 if (max_hole_size < num_bytes) in find_free_dev_extent_start()
1408 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent() argument
1413 num_bytes, 0, start, len); in find_free_dev_extent()
1477 u64 chunk_offset, u64 start, u64 num_bytes) in btrfs_alloc_dev_extent() argument
1510 btrfs_set_dev_extent_length(leaf, extent, num_bytes); in btrfs_alloc_dev_extent()
4522 u64 num_bytes; in __btrfs_alloc_chunk() local
4725 num_bytes = stripe_size * data_stripes; in __btrfs_alloc_chunk()
4727 trace_btrfs_chunk_alloc(info->chunk_root, map, start, num_bytes); in __btrfs_alloc_chunk()
4738 em->len = num_bytes; in __btrfs_alloc_chunk()
4758 start, num_bytes); in __btrfs_alloc_chunk()
4763 num_bytes = map->stripes[i].dev->bytes_used + stripe_size; in __btrfs_alloc_chunk()
4764 btrfs_device_set_bytes_used(map->stripes[i].dev, num_bytes); in __btrfs_alloc_chunk()