Lines Matching refs:stripe
3673 struct btrfs_stripe *stripe;
3678 stripe = btrfs_stripe_nr(chunk, i);
3679 if (btrfs_stripe_devid(leaf, stripe) == bargs->devid)
3700 struct btrfs_stripe *stripe;
3715 stripe = btrfs_stripe_nr(chunk, i);
3716 if (btrfs_stripe_devid(leaf, stripe) != bargs->devid)
3719 stripe_offset = btrfs_stripe_offset(leaf, stripe);
5272 * The DUP profile stores more than one stripe per device, the
5541 struct btrfs_stripe *stripe;
5563 * not exists, or persisting a stripe of the chunk item with such ID.
5597 stripe = &chunk->stripe;
5602 btrfs_set_stack_stripe_devid(stripe, device->devid);
5603 btrfs_set_stack_stripe_offset(stripe, dev_offset);
5604 memcpy(stripe->dev_uuid, device->uuid, BTRFS_UUID_SIZE);
5605 stripe++;
5774 * Fail a stripe at a time on every retry except the
5775 * stripe under reconstruction.
5970 /* stripe_offset is the offset of this block in its stripe */
5981 * the number of our device in the stripe array
6030 * Special for the first stripe and
6031 * the last stripe:
6132 * For GET_READ_MIRRORS, we can only return at most 1 extra stripe for
6144 * Swap the last stripe stripes and reduce @nr_extra_stripes.
6145 * The extra stripe would still be there, but won't be accessed.
6164 * Stripe_nr is the stripe where this block falls. stripe_offset is
6165 * the offset of this block in its stripe.
6176 * For full stripe start, we use previously calculated
6191 * For writes to RAID56, allow to write a full stripe set, but
6192 * no straddling of stripe sets.
6199 * For other RAID types and for RAID56 reads, allow a single stripe (on
6220 * due to factors like zones and RAID0/5/6/10 stripe
6247 * data/P stripe error and rebuild from the remaining
6251 * a full stripe map (including all data and P/Q stripes)
6355 * Push stripe_nr back to the start of the full stripe
6356 * For those cases needing a full stripe, @stripe_nr
6357 * is the full stripe number.
6369 /* Return the length to the full stripe end */
6396 * the number of our device in the stripe array
6404 "stripe index math went horribly wrong, got stripe_index=%u, num_stripes=%u",
6470 * stripe into the bioc.
7107 * At least one btrfs_chunk with one stripe must be present,
7108 * exact stripe count check comes afterwards
8065 * - The range does not cross stripe boundary
8084 /* The map range should not cross stripe boundary. */
8087 /* Already mapped to single stripe. */
8091 /* Map the RAID56 multi-stripe writes to a single one. */