Lines Matching refs:num_bytes
1246 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent_start() argument
1356 if (hole_size >= num_bytes) { in find_free_dev_extent_start()
1393 if (max_hole_size < num_bytes) in find_free_dev_extent_start()
1407 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent() argument
1412 num_bytes, 0, start, len); in find_free_dev_extent()
1476 u64 chunk_offset, u64 start, u64 num_bytes) in btrfs_alloc_dev_extent() argument
1509 btrfs_set_dev_extent_length(leaf, extent, num_bytes); in btrfs_alloc_dev_extent()
4510 u64 num_bytes; in __btrfs_alloc_chunk() local
4712 num_bytes = stripe_size * data_stripes; in __btrfs_alloc_chunk()
4714 trace_btrfs_chunk_alloc(info->chunk_root, map, start, num_bytes); in __btrfs_alloc_chunk()
4725 em->len = num_bytes; in __btrfs_alloc_chunk()
4745 start, num_bytes); in __btrfs_alloc_chunk()
4750 num_bytes = map->stripes[i].dev->bytes_used + stripe_size; in __btrfs_alloc_chunk()
4751 btrfs_device_set_bytes_used(map->stripes[i].dev, num_bytes); in __btrfs_alloc_chunk()