Lines Matching refs:stripe_len

5142 	map->stripe_len = BTRFS_STRIPE_LEN;  in create_chunk()
5338 btrfs_set_stack_chunk_stripe_len(chunk, map->stripe_len); in btrfs_finish_chunk_alloc()
5341 btrfs_set_stack_chunk_io_align(chunk, map->stripe_len); in btrfs_finish_chunk_alloc()
5342 btrfs_set_stack_chunk_io_width(chunk, map->stripe_len); in btrfs_finish_chunk_alloc()
5502 len = map->stripe_len * nr_data_stripes(map); in btrfs_full_stripe_len()
5650 u64 stripe_len; in __btrfs_map_block_for_discard() local
5680 stripe_len = map->stripe_len; in __btrfs_map_block_for_discard()
5685 stripe_nr = div64_u64(offset, stripe_len); in __btrfs_map_block_for_discard()
5688 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()
5690 stripe_nr_end = round_up(offset + length, map->stripe_len); in __btrfs_map_block_for_discard()
5691 stripe_nr_end = div64_u64(stripe_nr_end, map->stripe_len); in __btrfs_map_block_for_discard()
5693 stripe_end_offset = stripe_nr_end * map->stripe_len - in __btrfs_map_block_for_discard()
5735 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()
5741 map->stripe_len; in __btrfs_map_block_for_discard()
5745 map->stripe_len; in __btrfs_map_block_for_discard()
5984 u64 stripe_len; in btrfs_get_io_geometry() local
5999 stripe_len = map->stripe_len; in btrfs_get_io_geometry()
6001 stripe_nr = div64_u64(offset, stripe_len); in btrfs_get_io_geometry()
6003 stripe_offset = stripe_nr * stripe_len; in btrfs_get_io_geometry()
6007 stripe_offset, offset, em->start, logical, stripe_len); in btrfs_get_io_geometry()
6017 u64 max_len = stripe_len - stripe_offset; in btrfs_get_io_geometry()
6023 unsigned long full_stripe_len = stripe_len * data_stripes; in btrfs_get_io_geometry()
6040 max_len = stripe_len * data_stripes - in btrfs_get_io_geometry()
6051 io_geom->stripe_len = stripe_len; in btrfs_get_io_geometry()
6072 u64 stripe_len; in __btrfs_map_block() local
6101 stripe_len = geom.stripe_len; in __btrfs_map_block()
6179 stripe_len * data_stripes); in __btrfs_map_block()
6185 *length = map->stripe_len; in __btrfs_map_block()
6240 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block()
6258 em->start + (tmp + i) * map->stripe_len; in __btrfs_map_block()
6705 map->stripe_len = btrfs_chunk_stripe_len(leaf, chunk); in read_one_chunk()
7596 u64 stripe_len; in verify_one_dev_extent() local
7614 stripe_len = calc_stripe_length(map->type, em->len, map->num_stripes); in verify_one_dev_extent()
7615 if (physical_len != stripe_len) { in verify_one_dev_extent()
7619 stripe_len); in verify_one_dev_extent()