Searched refs:btrfs_stripe_nr_to_offset (Results 1 – 5 of 5) sorted by relevance
1311 *offset = last_offset + btrfs_stripe_nr_to_offset(i); in get_raid56_logic_offset()1325 *offset = last_offset + btrfs_stripe_nr_to_offset(j); in get_raid56_logic_offset()1722 btrfs_stripe_nr_to_offset(nr_stripes)); in submit_initial_group_read()1860 u64 length = btrfs_stripe_nr_to_offset(data_stripes); in scrub_raid56_parity_stripe()1885 btrfs_stripe_nr_to_offset(rot); in scrub_raid56_parity_stripe()1891 full_stripe_start + btrfs_stripe_nr_to_offset(i), in scrub_raid56_parity_stripe()1901 btrfs_stripe_nr_to_offset(i); in scrub_raid56_parity_stripe()2081 return btrfs_stripe_nr_to_offset(map->num_stripes / map->sub_stripes); in simple_stripe_full_stripe_len()2097 return btrfs_stripe_nr_to_offset(stripe_index / map->sub_stripes) + in simple_stripe_get_logical()2226 offset = btrfs_stripe_nr_to_offset(stripe_index / map->sub_stripes); in scrub_stripe()[all …]
5121 ctl->dev_extent_min = btrfs_stripe_nr_to_offset(ctl->dev_stripes); in init_alloc_chunk_ctl_policy_regular()5797 len = btrfs_stripe_nr_to_offset(nr_data_stripes(map)); in btrfs_full_stripe_len()5971 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()5976 stripe_end_offset = btrfs_stripe_nr_to_offset(stripe_nr_end) - in btrfs_map_discard()6019 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()6024 stripes[i].length = btrfs_stripe_nr_to_offset(stripes_per_dev); in btrfs_map_discard()6173 btrfs_stripe_nr_to_offset(nr_data_stripes(map)); in btrfs_max_io_len()6185 btrfs_stripe_nr_to_offset( in btrfs_max_io_len()6212 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr); in set_io_stripe()6372 btrfs_stripe_nr_to_offset(data_stripes)) - in btrfs_map_block()[all …]
589 static inline u64 btrfs_stripe_nr_to_offset(u32 stripe_nr) in btrfs_stripe_nr_to_offset() function
874 if (unlikely(length >= btrfs_stripe_nr_to_offset(U32_MAX))) { in btrfs_check_chunk_valid()877 length, btrfs_stripe_nr_to_offset(U32_MAX)); in btrfs_check_chunk_valid()
2092 io_stripe_size = btrfs_stripe_nr_to_offset(nr_data_stripes(map)); in btrfs_rmap_block()