Lines Matching defs:start

1458  * Try to find a chunk that intersects [start, start + len] range and when one
1459 * such is found, record the end of it in *start
1461 static bool contains_pending_extent(struct btrfs_device *device, u64 *start,
1468 if (!find_first_extent_bit(&device->alloc_state, *start,
1472 if (in_range(physical_start, *start, len) ||
1473 in_range(*start, physical_start,
1475 *start = physical_end + 1;
1482 static u64 dev_extent_search_start(struct btrfs_device *device, u64 start)
1489 * make sure to start at an offset of at least 1MB.
1491 return max_t(u64, start, SZ_1M);
1541 * @start: store the start of the free space.
1549 * @start is used to store the start of the free space if we find. But if we
1550 * don't find suitable free space, it will be used to store the start position
1564 u64 num_bytes, u64 search_start, u64 *start,
1653 * until now, so max_hole_start must point to the start
1703 *start = max_hole_start;
1710 u64 *start, u64 *len)
1713 return find_free_dev_extent_start(device, num_bytes, 0, start, len);
1718 u64 start, u64 *dev_extent_len)
1734 key.offset = start;
1747 BUG_ON(found_key.offset > start || found_key.offset +
1748 btrfs_dev_extent_length(leaf, extent) < start);
1777 u64 chunk_offset, u64 start, u64 num_bytes)
1794 key.offset = start;
1829 ret = em->start + em->len;
3002 if (em->start > logical || em->start + em->len <= logical) {
3005 logical, logical + length, em->start, em->start + em->len);
4082 "resume" : "start", buf);
4647 btrfs_warn(fs_info, "failed to start uuid_scan task");
4679 u64 start;
4682 start = new_size;
4713 if (contains_pending_extent(device, &start, diff)) {
4916 u64 start;
5159 u64 start = ctl->start;
5184 trace_btrfs_chunk_alloc(info, map, start, ctl->chunk_size);
5193 em->start = start;
5209 ret = btrfs_make_block_group(trans, 0, type, start, ctl->chunk_size);
5272 ctl.start = find_next_chunk(info);
5712 offset = logical - em->start;
5713 length = min_t(u64, em->start + em->len - logical, length);
6033 offset = logical - em->start;
6042 "stripe math has gone wrong, stripe_offset=%llu offset=%llu start=%llu logical=%llu stripe_len=%llu",
6043 stripe_offset, offset, em->start, logical, stripe_len);
6056 * In case of raid56, we need to know the stripe aligned start
6213 /* push stripe_nr back to the start of the full stripe */
6294 em->start + (tmp + i) * map->stripe_len;
6703 if (leaf->start == BTRFS_SUPER_INFO_OFFSET) {
6714 if (em && em->start <= logical && em->start + em->len > logical) {
6732 em->start = logical;
6785 "failed to add chunk map, start=%llu len=%llu: %d",
6786 em->start, em->len, ret);
7137 em->start, missing, max_tolerated);
7160 u64 start;
7162 start = btrfs_node_blockptr(node, i);
7163 readahead_tree_block(node->fs_info, start);
7228 if (last_ra_node != node->start) {
7230 last_ra_node = node->start;
7654 physical_offset, devid, em->start, physical_len,
7667 em->start);
7732 em->start, em->map_lookup->verified_stripes,