Home
last modified time | relevance | path

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

/fs/btrfs/
A Dscrub.c173 (BTRFS_STRIPE_LEN / BTRFS_MIN_BLOCKSIZE))];
1171 BTRFS_STRIPE_LEN, false); in scrub_stripe_read_repair_worker()
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()
2493 physical += BTRFS_STRIPE_LEN; in scrub_stripe()
[all …]
A Dvolumes.h44 #define BTRFS_STRIPE_LEN SZ_64K macro
46 #define BTRFS_STRIPE_LEN_MASK (BTRFS_STRIPE_LEN - 1)
48 static_assert(const_ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT);
A Draid56.c621 if (size != rbio->nr_data * BTRFS_STRIPE_LEN) in rbio_is_full()
623 BUG_ON(size > rbio->nr_data * BTRFS_STRIPE_LEN); in rbio_is_full()
995 const unsigned int stripe_npages = BTRFS_STRIPE_LEN >> PAGE_SHIFT; in alloc_rbio()
998 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in alloc_rbio()
1195 max(BTRFS_STRIPE_LEN >> PAGE_SHIFT, 1), in rbio_add_io_sector()
1739 rbio->nr_data * BTRFS_STRIPE_LEN, in rbio_add_bio()
2890 ASSERT(IS_ALIGNED(offset_in_full_stripe, BTRFS_STRIPE_LEN)); in raid56_parity_cache_data_pages()
2893 for (int page_nr = 0; page_nr < (BTRFS_STRIPE_LEN >> PAGE_SHIFT); page_nr++) { in raid56_parity_cache_data_pages()
A Dvolumes.c5355 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular()
5537 map->io_align = BTRFS_STRIPE_LEN; in create_chunk()
5538 map->io_width = BTRFS_STRIPE_LEN; in create_chunk()
5726 btrfs_set_stack_chunk_stripe_len(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item()
5729 btrfs_set_stack_chunk_io_align(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item()
5730 btrfs_set_stack_chunk_io_width(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item()
6157 stripe_nr_end = round_up(offset + length, BTRFS_STRIPE_LEN) >> in btrfs_map_discard()
6211 stripes[i].length += BTRFS_STRIPE_LEN; in btrfs_map_discard()
6390 return BTRFS_STRIPE_LEN - io_geom->stripe_offset; in btrfs_max_io_len()
8253 logical < stripe_start + BTRFS_STRIPE_LEN) in map_raid56_repair_block()
A Dsuper.c1647 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space()
1663 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
A Dzoned.c732 if (!IS_ALIGNED(zone_size, BTRFS_STRIPE_LEN)) { in btrfs_check_zoned_mode()
735 zone_size, BTRFS_STRIPE_LEN); in btrfs_check_zoned_mode()
A Dtree-checker.c895 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
A Dblock-group.c2155 io_stripe_size = BTRFS_STRIPE_LEN; in btrfs_rmap_block()
/fs/btrfs/tests/
A Dextent-map-tests.c1060 if (out_stripe_len != BTRFS_STRIPE_LEN) { in test_rmap_block()

Completed in 52 milliseconds