Searched refs:BTRFS_STRIPE_LEN (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/fs/btrfs/ |
| H A D | scrub.c | 103 #define SCRUB_STRIPE_PAGES (BTRFS_STRIPE_LEN / PAGE_SIZE) 1047 BTRFS_STRIPE_LEN, false); in scrub_stripe_read_repair_worker() 1659 return min(BTRFS_STRIPE_LEN, in stripe_length() 1668 u64 stripe_len = BTRFS_STRIPE_LEN; in scrub_submit_extent_sector_read() 1996 BTRFS_STRIPE_LEN, stripe); in scrub_raid56_parity_stripe() 2083 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits); in scrub_raid56_parity_stripe() 2172 cur_logical = found_logical + BTRFS_STRIPE_LEN; in scrub_simple_mirror() 2238 BTRFS_STRIPE_LEN, device, cur_physical, in scrub_simple_stripe() 2245 cur_physical += BTRFS_STRIPE_LEN; in scrub_simple_stripe() 2382 physical += BTRFS_STRIPE_LEN; in scrub_stripe() [all …]
|
| H A D | volumes.h | 45 #define BTRFS_STRIPE_LEN SZ_64K macro 47 #define BTRFS_STRIPE_LEN_MASK (BTRFS_STRIPE_LEN - 1) 49 static_assert(const_ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT);
|
| H A D | raid56.c | 611 if (size != rbio->nr_data * BTRFS_STRIPE_LEN) in rbio_is_full() 613 BUG_ON(size > rbio->nr_data * BTRFS_STRIPE_LEN); in rbio_is_full() 985 const unsigned int stripe_npages = BTRFS_STRIPE_LEN >> PAGE_SHIFT; in alloc_rbio() 988 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in alloc_rbio() 1185 max(BTRFS_STRIPE_LEN >> PAGE_SHIFT, 1), in rbio_add_io_sector() 1728 rbio->nr_data * BTRFS_STRIPE_LEN, in rbio_add_bio() 2879 ASSERT(IS_ALIGNED(offset_in_full_stripe, BTRFS_STRIPE_LEN)); in raid56_parity_cache_data_pages() 2882 for (int page_nr = 0; page_nr < (BTRFS_STRIPE_LEN >> PAGE_SHIFT); page_nr++) { in raid56_parity_cache_data_pages()
|
| H A D | volumes.c | 5332 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular() 5510 map->io_align = BTRFS_STRIPE_LEN; in create_chunk() 5511 map->io_width = BTRFS_STRIPE_LEN; in create_chunk() 5696 btrfs_set_stack_chunk_stripe_len(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 5699 btrfs_set_stack_chunk_io_align(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 5700 btrfs_set_stack_chunk_io_width(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 6115 stripe_nr_end = round_up(offset + length, BTRFS_STRIPE_LEN) >> in btrfs_map_discard() 6169 stripes[i].length += BTRFS_STRIPE_LEN; in btrfs_map_discard() 6342 return BTRFS_STRIPE_LEN - io_geom->stripe_offset; in btrfs_max_io_len() 8205 logical < stripe_start + BTRFS_STRIPE_LEN) in map_raid56_repair_block()
|
| H A D | super.c | 1643 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space() 1659 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
|
| H A D | zoned.c | 725 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 D | tree-checker.c | 895 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
|
| H A D | block-group.c | 2150 io_stripe_size = BTRFS_STRIPE_LEN; in btrfs_rmap_block()
|
| /linux-6.15/fs/btrfs/tests/ |
| H A D | extent-map-tests.c | 1060 if (out_stripe_len != BTRFS_STRIPE_LEN) { in test_rmap_block()
|