Searched refs:BTRFS_STRIPE_LEN (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | raid56.c | 476 if (size != rbio->nr_data * BTRFS_STRIPE_LEN) in rbio_is_full() 478 BUG_ON(size > rbio->nr_data * BTRFS_STRIPE_LEN); in rbio_is_full() 916 const unsigned int stripe_npages = BTRFS_STRIPE_LEN >> PAGE_SHIFT; in alloc_rbio() 919 BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in alloc_rbio() 1064 max(BTRFS_STRIPE_LEN >> PAGE_SHIFT, 1), in rbio_add_io_sector() 1370 if (in_range(physical, stripe->physical, BTRFS_STRIPE_LEN) && in find_bio_stripe() 1392 if (in_range(logical, stripe_start, BTRFS_STRIPE_LEN)) in find_logical_bio_stripe() 1784 rbio->nr_data * BTRFS_STRIPE_LEN); in rbio_add_bio() 2326 BTRFS_STRIPE_LEN * rbio->nr_data); in raid56_add_scrub_pages()
|
D | volumes.h | 18 #define BTRFS_STRIPE_LEN SZ_64K macro
|
D | zoned.c | 754 if (!IS_ALIGNED(zone_size, BTRFS_STRIPE_LEN)) { in btrfs_check_zoned_mode() 757 zone_size, BTRFS_STRIPE_LEN); in btrfs_check_zoned_mode()
|
D | super.c | 2255 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space() 2271 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
|
D | volumes.c | 5115 ctl->dev_extent_min = BTRFS_STRIPE_LEN * ctl->dev_stripes; in init_alloc_chunk_ctl_policy_regular() 5297 ctl->stripe_size = round_down(ctl->stripe_size, BTRFS_STRIPE_LEN); in decide_stripe_size_regular() 5397 map->stripe_len = BTRFS_STRIPE_LEN; in create_chunk() 5398 map->io_align = BTRFS_STRIPE_LEN; in create_chunk() 5399 map->io_width = BTRFS_STRIPE_LEN; in create_chunk() 6498 ASSERT(map->stripe_len == BTRFS_STRIPE_LEN); in __btrfs_map_block()
|
D | tree-checker.c | 842 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
|
D | scrub.c | 1431 logical < raid_map[i] + BTRFS_STRIPE_LEN) in scrub_stripe_index_and_offset() 4254 ASSERT(fs_info->nodesize <= BTRFS_STRIPE_LEN); in btrfs_scrub_dev()
|
/linux-6.1.9/fs/btrfs/tests/ |
D | extent-map-tests.c | 489 map->stripe_len = BTRFS_STRIPE_LEN; in test_rmap_block() 520 if (out_stripe_len != BTRFS_STRIPE_LEN) { in test_rmap_block()
|