Lines Matching refs:BTRFS_STRIPE_LEN
47 * which is 512KiB (BTRFS_STRIPE_LEN * SCRUB_STRIPES_PER_GROUP).
103 #define SCRUB_STRIPE_PAGES (BTRFS_STRIPE_LEN / PAGE_SIZE)
106 * Represent one contiguous range with a length of BTRFS_STRIPE_LEN.
121 /* Should be BTRFS_STRIPE_LEN / sectorsize. */
257 stripe->nr_sectors = BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits;
275 stripe->csums = kcalloc(BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits,
1047 BTRFS_STRIPE_LEN, false);
1485 cur_logical < min(stripe->logical + BTRFS_STRIPE_LEN,
1565 * whose logical bytenr is not BTRFS_STRIPE_LEN aligned.
1567 stripe->logical = round_down(cur_logical - bg->start, BTRFS_STRIPE_LEN) +
1573 stripe_end = stripe->logical + BTRFS_STRIPE_LEN - 1;
1610 * Our csum bitmap should be large enough, as BTRFS_STRIPE_LEN
1613 ASSERT(BITS_PER_LONG >= BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits);
1653 unsigned int nr_sectors = min_t(u64, BTRFS_STRIPE_LEN, stripe->bg->start +
1892 BTRFS_STRIPE_LEN, stripe);
1979 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits);
2067 cur_logical = found_logical + BTRFS_STRIPE_LEN;
2133 BTRFS_STRIPE_LEN, device, cur_physical,
2140 cur_physical += BTRFS_STRIPE_LEN;
2269 ret = scrub_simple_mirror(sctx, bg, map, logical, BTRFS_STRIPE_LEN,
2275 physical += BTRFS_STRIPE_LEN;
2824 ASSERT(fs_info->nodesize <= BTRFS_STRIPE_LEN);