Lines Matching refs:stripe_len

5397 	map->stripe_len = BTRFS_STRIPE_LEN;  in create_chunk()
5605 btrfs_set_stack_chunk_stripe_len(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item()
5608 btrfs_set_stack_chunk_io_align(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item()
5609 btrfs_set_stack_chunk_io_width(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item()
5799 len = map->stripe_len * nr_data_stripes(map); in btrfs_full_stripe_len()
5962 u64 stripe_len; in btrfs_map_discard() local
5989 stripe_len = map->stripe_len; in btrfs_map_discard()
5994 stripe_nr = div64_u64(offset, stripe_len); in btrfs_map_discard()
5997 stripe_offset = offset - stripe_nr * stripe_len; in btrfs_map_discard()
5999 stripe_nr_end = round_up(offset + length, map->stripe_len); in btrfs_map_discard()
6000 stripe_nr_end = div64_u64(stripe_nr_end, map->stripe_len); in btrfs_map_discard()
6002 stripe_end_offset = stripe_nr_end * map->stripe_len - in btrfs_map_discard()
6044 stripe_offset + stripe_nr * map->stripe_len; in btrfs_map_discard()
6049 stripes[i].length = stripes_per_dev * map->stripe_len; in btrfs_map_discard()
6052 stripes[i].length += map->stripe_len; in btrfs_map_discard()
6310 u32 stripe_len; in btrfs_get_io_geometry() local
6320 stripe_len = map->stripe_len; in btrfs_get_io_geometry()
6325 stripe_nr = div64_u64_rem(offset, stripe_len, &stripe_offset); in btrfs_get_io_geometry()
6332 u64 max_len = stripe_len - stripe_offset; in btrfs_get_io_geometry()
6338 unsigned long full_stripe_len = stripe_len * data_stripes; in btrfs_get_io_geometry()
6355 max_len = stripe_len * data_stripes - in btrfs_get_io_geometry()
6366 io_geom->stripe_len = stripe_len; in btrfs_get_io_geometry()
6379 stripe_offset + stripe_nr * map->stripe_len; in set_io_stripe()
6392 u64 stripe_len; in __btrfs_map_block() local
6423 stripe_len = geom.stripe_len; in __btrfs_map_block()
6498 ASSERT(map->stripe_len == BTRFS_STRIPE_LEN); in __btrfs_map_block()
6502 stripe_len * data_stripes); in __btrfs_map_block()
6511 data_stripes * stripe_len) - logical; in __btrfs_map_block()
6606 em->start + (tmp + i) * map->stripe_len; in __btrfs_map_block()
7226 map->stripe_len = btrfs_chunk_stripe_len(leaf, chunk); in read_one_chunk()
8126 u64 stripe_len; in verify_one_dev_extent() local
8144 stripe_len = btrfs_calc_stripe_length(em); in verify_one_dev_extent()
8145 if (physical_len != stripe_len) { in verify_one_dev_extent()
8149 stripe_len); in verify_one_dev_extent()