Home
last modified time | relevance | path

Searched refs:BTRFS_STRIPE_LEN (Results 1 – 8 of 8) sorted by relevance

/linux/fs/btrfs/
H A Dscrub.c103 #define SCRUB_STRIPE_PAGES (BTRFS_STRIPE_LEN / PAGE_SIZE)
256 stripe->nr_sectors = BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in init_scrub_stripe()
274 stripe->csums = kcalloc(BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits, in init_scrub_stripe()
1047 BTRFS_STRIPE_LEN, false); in scrub_stripe_read_repair_worker()
1488 cur_logical < min(stripe->logical + BTRFS_STRIPE_LEN, in fill_one_extent_info()
1574 stripe->logical = round_down(cur_logical - bg->start, BTRFS_STRIPE_LEN) + in scrub_find_fill_first_stripe()
1580 stripe_end = stripe->logical + BTRFS_STRIPE_LEN - 1; in scrub_find_fill_first_stripe()
1620 ASSERT(BITS_PER_LONG >= BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits); in scrub_find_fill_first_stripe()
1659 return min(BTRFS_STRIPE_LEN, in stripe_length()
1668 u64 stripe_len = BTRFS_STRIPE_LEN; in scrub_submit_extent_sector_read()
[all …]
H A Dvolumes.h41 #define BTRFS_STRIPE_LEN SZ_64K macro
43 #define BTRFS_STRIPE_LEN_MASK (BTRFS_STRIPE_LEN - 1)
45 static_assert(const_ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT);
H A Dvolumes.c5421 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular()
5599 map->io_align = BTRFS_STRIPE_LEN; in create_chunk()
5600 map->io_width = BTRFS_STRIPE_LEN; in create_chunk()
5785 btrfs_set_stack_chunk_stripe_len(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item()
5788 btrfs_set_stack_chunk_io_align(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item()
5789 btrfs_set_stack_chunk_io_width(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item()
6204 stripe_nr_end = round_up(offset + length, BTRFS_STRIPE_LEN) >> in btrfs_map_discard()
6258 stripes[i].length += BTRFS_STRIPE_LEN; in btrfs_map_discard()
6431 return BTRFS_STRIPE_LEN - io_geom->stripe_offset; in btrfs_max_io_len()
8294 logical < stripe_start + BTRFS_STRIPE_LEN) in map_raid56_repair_block()
H A Dsuper.c1640 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space()
1656 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
H A Dzoned.c725 if (!IS_ALIGNED(zone_size, BTRFS_STRIPE_LEN)) { in btrfs_check_zoned_mode()
728 zone_size, BTRFS_STRIPE_LEN); in btrfs_check_zoned_mode()
H A Dtree-checker.c895 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
H A Dblock-group.c2114 io_stripe_size = BTRFS_STRIPE_LEN; in btrfs_rmap_block()
/linux/fs/btrfs/tests/
H A Dextent-map-tests.c1059 if (out_stripe_len != BTRFS_STRIPE_LEN) { in test_rmap_block()