Searched refs:BTRFS_STRIPE_LEN (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/btrfs/ |
| 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() 1655 return min(BTRFS_STRIPE_LEN, in stripe_length() 1665 u64 stripe_len = BTRFS_STRIPE_LEN; in scrub_submit_extent_sector_read() 1983 BTRFS_STRIPE_LEN, stripe); in scrub_raid56_parity_stripe() 2070 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits); in scrub_raid56_parity_stripe() 2160 cur_logical = found_logical + BTRFS_STRIPE_LEN; in scrub_simple_mirror() 2226 BTRFS_STRIPE_LEN, device, cur_physical, in scrub_simple_stripe() 2233 cur_physical += BTRFS_STRIPE_LEN; in scrub_simple_stripe() 2371 physical += BTRFS_STRIPE_LEN; in scrub_stripe() [all …]
|
| A D | volumes.h | 41 #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);
|
| 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() 1729 rbio->nr_data * BTRFS_STRIPE_LEN, in rbio_add_bio() 2880 ASSERT(IS_ALIGNED(offset_in_full_stripe, BTRFS_STRIPE_LEN)); in raid56_parity_cache_data_pages() 2883 for (int page_nr = 0; page_nr < (BTRFS_STRIPE_LEN >> PAGE_SHIFT); page_nr++) { in raid56_parity_cache_data_pages()
|
| A D | volumes.c | 5290 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular() 5467 map->io_align = BTRFS_STRIPE_LEN; in create_chunk() 5468 map->io_width = BTRFS_STRIPE_LEN; in create_chunk() 5653 btrfs_set_stack_chunk_stripe_len(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 5656 btrfs_set_stack_chunk_io_align(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 5657 btrfs_set_stack_chunk_io_width(chunk, BTRFS_STRIPE_LEN); in btrfs_chunk_alloc_add_chunk_item() 6012 stripe_nr_end = round_up(offset + length, BTRFS_STRIPE_LEN) >> in btrfs_map_discard() 6066 stripes[i].length += BTRFS_STRIPE_LEN; in btrfs_map_discard() 6239 return BTRFS_STRIPE_LEN - io_geom->stripe_offset; in btrfs_max_io_len() 8146 logical < stripe_start + BTRFS_STRIPE_LEN) in map_raid56_repair_block()
|
| A D | super.c | 1642 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space() 1658 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
|
| A D | zoned.c | 722 if (!IS_ALIGNED(zone_size, BTRFS_STRIPE_LEN)) { in btrfs_check_zoned_mode() 725 zone_size, BTRFS_STRIPE_LEN); in btrfs_check_zoned_mode()
|
| A D | tree-checker.c | 884 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
|
| A D | block-group.c | 2118 io_stripe_size = BTRFS_STRIPE_LEN; in btrfs_rmap_block()
|
| /linux/fs/btrfs/tests/ |
| A D | extent-map-tests.c | 1059 if (out_stripe_len != BTRFS_STRIPE_LEN) { in test_rmap_block()
|
Completed in 58 milliseconds