Lines Matching refs:BTRFS_STRIPE_LEN

133 #define SCRUB_STRIPE_PAGES		(BTRFS_STRIPE_LEN / PAGE_SIZE)
173 (BTRFS_STRIPE_LEN / BTRFS_MIN_BLOCKSIZE))];
362 stripe->nr_sectors = BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in init_scrub_stripe()
380 stripe->csums = kcalloc(BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits, in init_scrub_stripe()
1171 BTRFS_STRIPE_LEN, false); in scrub_stripe_read_repair_worker()
1610 cur_logical < min(stripe->logical + BTRFS_STRIPE_LEN, in fill_one_extent_info()
1689 stripe->logical = round_down(cur_logical - bg->start, BTRFS_STRIPE_LEN) + in scrub_find_fill_first_stripe()
1695 stripe_end = stripe->logical + BTRFS_STRIPE_LEN - 1; in scrub_find_fill_first_stripe()
1735 ASSERT(BITS_PER_LONG >= BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits); in scrub_find_fill_first_stripe()
1773 return min(BTRFS_STRIPE_LEN, in stripe_length()
1783 u64 stripe_len = BTRFS_STRIPE_LEN; in scrub_submit_extent_sector_read()
2104 BTRFS_STRIPE_LEN, stripe); in scrub_raid56_parity_stripe()
2194 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits); in scrub_raid56_parity_stripe()
2283 cur_logical = found_logical + BTRFS_STRIPE_LEN; in scrub_simple_mirror()
2349 BTRFS_STRIPE_LEN, device, cur_physical, in scrub_simple_stripe()
2356 cur_physical += BTRFS_STRIPE_LEN; in scrub_simple_stripe()
2471 sctx->stat.last_physical = min(physical + BTRFS_STRIPE_LEN, in scrub_stripe()
2487 ret = scrub_simple_mirror(sctx, bg, logical, BTRFS_STRIPE_LEN, in scrub_stripe()
2493 physical += BTRFS_STRIPE_LEN; in scrub_stripe()
3029 ASSERT(fs_info->nodesize <= BTRFS_STRIPE_LEN); in btrfs_scrub_dev()