Searched refs:BTRFS_STRIPE_LEN (Results 1 – 9 of 9) sorted by relevance
| /Linux-v6.6/fs/btrfs/ |
| D | scrub.c | 103 #define SCRUB_STRIPE_PAGES (BTRFS_STRIPE_LEN / PAGE_SIZE) 257 stripe->nr_sectors = BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in init_scrub_stripe() 275 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() 1475 cur_logical < min(stripe->logical + BTRFS_STRIPE_LEN, in fill_one_extent_info() 1557 stripe->logical = round_down(cur_logical - bg->start, BTRFS_STRIPE_LEN) + in scrub_find_fill_first_stripe() 1563 stripe_end = stripe->logical + BTRFS_STRIPE_LEN - 1; in scrub_find_fill_first_stripe() 1603 ASSERT(BITS_PER_LONG >= BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits); in scrub_find_fill_first_stripe() 1654 for (int i = 0; i < BTRFS_STRIPE_LEN >> PAGE_SHIFT; i++) { in scrub_submit_initial_read() 1875 BTRFS_STRIPE_LEN, stripe); in scrub_raid56_parity_stripe() [all …]
|
| D | volumes.h | 20 #define BTRFS_STRIPE_LEN SZ_64K macro 22 #define BTRFS_STRIPE_LEN_MASK (BTRFS_STRIPE_LEN - 1) 24 static_assert(const_ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT);
|
| D | raid56.c | 534 if (size != rbio->nr_data * BTRFS_STRIPE_LEN) in rbio_is_full() 536 BUG_ON(size > rbio->nr_data * BTRFS_STRIPE_LEN); in rbio_is_full() 906 const unsigned int stripe_npages = BTRFS_STRIPE_LEN >> PAGE_SHIFT; in alloc_rbio() 909 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in alloc_rbio() 1096 max(BTRFS_STRIPE_LEN >> PAGE_SHIFT, 1), in rbio_add_io_sector() 1620 rbio->nr_data * BTRFS_STRIPE_LEN); in rbio_add_bio() 2769 ASSERT(IS_ALIGNED(offset_in_full_stripe, BTRFS_STRIPE_LEN)); in raid56_parity_cache_data_pages() 2772 for (int page_nr = 0; page_nr < (BTRFS_STRIPE_LEN >> PAGE_SHIFT); page_nr++) { in raid56_parity_cache_data_pages()
|
| D | volumes.c | 5302 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular() 5402 map->io_align = BTRFS_STRIPE_LEN; in create_chunk() 5403 map->io_width = BTRFS_STRIPE_LEN; in create_chunk() 5609 btrfs_set_stack_chunk_stripe_len(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 5612 btrfs_set_stack_chunk_io_align(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 5613 btrfs_set_stack_chunk_io_width(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 5972 stripe_nr_end = round_up(offset + length, BTRFS_STRIPE_LEN) >> in btrfs_map_discard() 6026 stripes[i].length += BTRFS_STRIPE_LEN; in btrfs_map_discard() 6202 return BTRFS_STRIPE_LEN - *stripe_offset; in btrfs_max_io_len() 8044 logical < stripe_start + BTRFS_STRIPE_LEN) in map_raid56_repair_block()
|
| D | super.c | 1958 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space() 1974 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
|
| D | zoned.c | 751 if (!IS_ALIGNED(zone_size, BTRFS_STRIPE_LEN)) { in btrfs_check_zoned_mode() 754 zone_size, BTRFS_STRIPE_LEN); in btrfs_check_zoned_mode()
|
| D | tree-checker.c | 860 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
|
| D | block-group.c | 2042 io_stripe_size = BTRFS_STRIPE_LEN; in btrfs_rmap_block()
|
| /Linux-v6.6/fs/btrfs/tests/ |
| D | extent-map-tests.c | 920 if (out_stripe_len != BTRFS_STRIPE_LEN) { in test_rmap_block()
|