Searched refs:BTRFS_STRIPE_LEN_SHIFT (Results 1 – 5 of 5) sorted by relevance
21 #define BTRFS_STRIPE_LEN_SHIFT (16) macro24 static_assert(const_ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT);591 return (u64)stripe_nr << BTRFS_STRIPE_LEN_SHIFT; in btrfs_stripe_nr_to_offset()
1313 stripe_nr = (u32)(*offset >> BTRFS_STRIPE_LEN_SHIFT) / data_stripes; in get_raid56_logic_offset()1882 data_stripes) >> BTRFS_STRIPE_LEN_SHIFT; in scrub_raid56_parity_stripe()1991 full_stripe_start + (i << BTRFS_STRIPE_LEN_SHIFT)); in scrub_raid56_parity_stripe()
5968 stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; in btrfs_map_discard()5974 BTRFS_STRIPE_LEN_SHIFT; in btrfs_map_discard()6168 *stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; in btrfs_max_io_len()
2770 ASSERT(offset_in_full_stripe < (rbio->nr_data << BTRFS_STRIPE_LEN_SHIFT)); in raid56_parity_cache_data_pages()
2111 BTRFS_STRIPE_LEN_SHIFT; in btrfs_rmap_block()