Lines Matching defs:start

1419  * Try to find a chunk that intersects [start, start + len] range and when one
1420 * such is found, record the end of it in *start
1422 static bool contains_pending_extent(struct btrfs_device *device, u64 *start,
1429 if (find_first_extent_bit(&device->alloc_state, *start,
1433 if (in_range(physical_start, *start, len) ||
1434 in_range(*start, physical_start,
1436 *start = physical_end + 1;
1565 * @start: store the start of the free space.
1572 * @start is used to store the start of the free space if we find. But if we
1573 * don't find suitable free space, it will be used to store the start position
1587 u64 *start, u64 *len)
1673 * until now, so max_hole_start must point to the start
1723 *start = max_hole_start;
1731 u64 start, u64 *dev_extent_len)
1747 key.offset = start;
1760 BUG_ON(found_key.offset > start || found_key.offset +
1761 btrfs_dev_extent_length(leaf, extent) < start);
1795 ret = em->start + em->len;
3054 if (em->start > logical || em->start + em->len <= logical) {
3057 logical, logical + length, em->start, em->start + em->len);
4244 "resume" : "start", buf);
4809 btrfs_warn(fs_info, "failed to start uuid_scan task");
4841 u64 start;
4844 start = new_size;
4875 if (contains_pending_extent(device, &start, diff)) {
5077 u64 start;
5384 u64 start = ctl->start;
5408 trace_btrfs_chunk_alloc(info, map, start, ctl->chunk_size);
5417 em->start = start;
5433 block_group = btrfs_make_block_group(trans, type, start, ctl->chunk_size);
5498 ctl.start = find_next_chunk(info);
5572 em = btrfs_get_chunk_map(fs_info, bg->start, bg->length);
5620 key.offset = bg->start;
5960 offset = logical - em->start;
5961 length = min_t(u64, em->start + em->len - logical, length);
6176 * For full stripe start, we use previously calculated
6293 map_offset = logical - em->start;
6355 * Push stripe_nr back to the start of the full stripe
6371 raid56_full_stripe_start + em->start +
6461 bioc->full_stripe_logical = em->start +
6775 if (leaf->start == BTRFS_SUPER_INFO_OFFSET) {
6786 if (em && em->start <= logical && em->start + em->len > logical) {
6804 em->start = logical;
6854 "failed to add chunk map, start=%llu len=%llu: %d",
6855 em->start, em->len, ret);
7204 em->start, missing, max_tolerated);
7290 if (last_ra_node != node->start) {
7292 last_ra_node = node->start;
7734 physical_offset, devid, em->start, physical_len,
7757 em->start);
7821 em->start, em->map_lookup->verified_stripes,
7966 target = cache->start;