Lines Matching refs:stripe

3501 	struct btrfs_stripe *stripe;
3506 stripe = btrfs_stripe_nr(chunk, i);
3507 if (btrfs_stripe_devid(leaf, stripe) == bargs->devid)
3531 struct btrfs_stripe *stripe;
3546 stripe = btrfs_stripe_nr(chunk, i);
3547 if (btrfs_stripe_devid(leaf, stripe) != bargs->devid)
3550 stripe_offset = btrfs_stripe_offset(leaf, stripe);
5085 * The DUP profile stores more than one stripe per device, the
5312 struct btrfs_stripe *stripe;
5360 stripe = &chunk->stripe;
5365 btrfs_set_stack_stripe_devid(stripe, device->devid);
5366 btrfs_set_stack_stripe_offset(stripe, dev_offset);
5367 memcpy(stripe->dev_uuid, device->uuid, BTRFS_UUID_SIZE);
5368 stripe++;
5509 * Fail a stripe at a time on every retry except the
5510 * stripe under reconstruction.
5610 /* Bubble-sort the stripe set to put the parity/syndrome stripes last */
5723 /* stripe_offset is the offset of this block in its stripe */
5734 * the number of our device in the stripe array
5784 * Special for the first stripe and
5785 * the last stripe:
6001 * particular bio can get before it straddles a stripe.
6034 /* Len of a stripe in a chunk */
6038 /* Offset of stripe in the chunk */
6042 "stripe math has gone wrong, stripe_offset=%llu offset=%llu start=%llu logical=%llu stripe_len=%llu",
6048 /* stripe_offset is the offset of this block in its stripe */
6056 * In case of raid56, we need to know the stripe aligned start
6063 * Allow a write of a full stripe, but make sure we
6073 * reads, just allow a single stripe (on a single disk).
6213 /* push stripe_nr back to the start of the full stripe */
6245 * the number of our device in the stripe array
6253 "stripe index math went horribly wrong, got stripe_index=%u, num_stripes=%u",
6287 /* Work out the disk rotation on this stripe-set */
6290 /* Fill in the logical address of each stripe */
6496 a single stripe; not the whole write */
7040 * At least one btrfs_chunk with one stripe must be present,
7041 * exact stripe count check comes afterwards