Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Draid56.c476 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()
Dvolumes.h18 #define BTRFS_STRIPE_LEN SZ_64K macro
Dzoned.c754 if (!IS_ALIGNED(zone_size, BTRFS_STRIPE_LEN)) { in btrfs_check_zoned_mode()
757 zone_size, BTRFS_STRIPE_LEN); in btrfs_check_zoned_mode()
Dsuper.c2255 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()
Dvolumes.c5115 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()
Dtree-checker.c842 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
Dscrub.c1431 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/
Dextent-map-tests.c489 map->stripe_len = BTRFS_STRIPE_LEN; in test_rmap_block()
520 if (out_stripe_len != BTRFS_STRIPE_LEN) { in test_rmap_block()