Searched refs:btrfs_stripe_nr_to_offset (Results 1 – 5 of 5) sorted by relevance
1433 *offset = last_offset + btrfs_stripe_nr_to_offset(i); in get_raid56_logic_offset()1447 *offset = last_offset + btrfs_stripe_nr_to_offset(j); in get_raid56_logic_offset()1928 btrfs_stripe_nr_to_offset(nr_stripes)); in submit_initial_group_read()2072 u64 length = btrfs_stripe_nr_to_offset(data_stripes); in scrub_raid56_parity_stripe()2097 btrfs_stripe_nr_to_offset(rot); in scrub_raid56_parity_stripe()2103 full_stripe_start + btrfs_stripe_nr_to_offset(i), in scrub_raid56_parity_stripe()2113 btrfs_stripe_nr_to_offset(i); in scrub_raid56_parity_stripe()2297 return btrfs_stripe_nr_to_offset(map->num_stripes / map->sub_stripes); in simple_stripe_full_stripe_len()2313 return btrfs_stripe_nr_to_offset(stripe_index / map->sub_stripes) + in simple_stripe_get_logical()2440 offset = btrfs_stripe_nr_to_offset(stripe_index / map->sub_stripes); in scrub_stripe()[all …]
5177 ctl->dev_extent_min = btrfs_stripe_nr_to_offset(ctl->dev_stripes); in init_alloc_chunk_ctl_policy_regular()5929 len = btrfs_stripe_nr_to_offset(nr_data_stripes(map)); in btrfs_full_stripe_len()6160 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()6165 stripe_end_offset = btrfs_stripe_nr_to_offset(stripe_nr_end) - in btrfs_map_discard()6208 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()6213 stripes[i].length = btrfs_stripe_nr_to_offset(stripes_per_dev); in btrfs_map_discard()6362 btrfs_stripe_nr_to_offset(nr_data_stripes(map)); in btrfs_max_io_len()6373 io_geom->raid56_full_stripe_start = btrfs_stripe_nr_to_offset( in btrfs_max_io_len()6413 btrfs_stripe_nr_to_offset(io_geom->stripe_nr); in set_io_stripe()6536 btrfs_stripe_nr_to_offset(data_stripes)) - in map_blocks_raid56_write()[all …]
707 static inline u64 btrfs_stripe_nr_to_offset(u32 stripe_nr) in btrfs_stripe_nr_to_offset() function
909 if (unlikely(length >= btrfs_stripe_nr_to_offset(U32_MAX))) { in btrfs_check_chunk_valid()912 length, btrfs_stripe_nr_to_offset(U32_MAX)); in btrfs_check_chunk_valid()
2167 io_stripe_size = btrfs_stripe_nr_to_offset(nr_data_stripes(map)); in btrfs_rmap_block()