• Home
  • Raw
  • Download

Lines Matching refs:stripe_len

5178 	map->stripe_len = BTRFS_STRIPE_LEN;  in create_chunk()
5374 btrfs_set_stack_chunk_stripe_len(chunk, map->stripe_len); in btrfs_finish_chunk_alloc()
5377 btrfs_set_stack_chunk_io_align(chunk, map->stripe_len); in btrfs_finish_chunk_alloc()
5378 btrfs_set_stack_chunk_io_width(chunk, map->stripe_len); in btrfs_finish_chunk_alloc()
5538 len = map->stripe_len * nr_data_stripes(map); in btrfs_full_stripe_len()
5686 u64 stripe_len; in __btrfs_map_block_for_discard() local
5716 stripe_len = map->stripe_len; in __btrfs_map_block_for_discard()
5721 stripe_nr = div64_u64(offset, stripe_len); in __btrfs_map_block_for_discard()
5724 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()
5726 stripe_nr_end = round_up(offset + length, map->stripe_len); in __btrfs_map_block_for_discard()
5727 stripe_nr_end = div64_u64(stripe_nr_end, map->stripe_len); in __btrfs_map_block_for_discard()
5729 stripe_end_offset = stripe_nr_end * map->stripe_len - in __btrfs_map_block_for_discard()
5771 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()
5777 map->stripe_len; in __btrfs_map_block_for_discard()
5781 map->stripe_len; in __btrfs_map_block_for_discard()
6020 u64 stripe_len; in btrfs_get_io_geometry() local
6035 stripe_len = map->stripe_len; in btrfs_get_io_geometry()
6037 stripe_nr = div64_u64(offset, stripe_len); in btrfs_get_io_geometry()
6039 stripe_offset = stripe_nr * stripe_len; in btrfs_get_io_geometry()
6043 stripe_offset, offset, em->start, logical, stripe_len); in btrfs_get_io_geometry()
6053 u64 max_len = stripe_len - stripe_offset; in btrfs_get_io_geometry()
6059 unsigned long full_stripe_len = stripe_len * data_stripes; in btrfs_get_io_geometry()
6076 max_len = stripe_len * data_stripes - in btrfs_get_io_geometry()
6087 io_geom->stripe_len = stripe_len; in btrfs_get_io_geometry()
6108 u64 stripe_len; in __btrfs_map_block() local
6137 stripe_len = geom.stripe_len; in __btrfs_map_block()
6215 stripe_len * data_stripes); in __btrfs_map_block()
6221 *length = map->stripe_len; in __btrfs_map_block()
6276 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block()
6294 em->start + (tmp + i) * map->stripe_len; in __btrfs_map_block()
6741 map->stripe_len = btrfs_chunk_stripe_len(leaf, chunk); in read_one_chunk()
7632 u64 stripe_len; in verify_one_dev_extent() local
7650 stripe_len = calc_stripe_length(map->type, em->len, map->num_stripes); in verify_one_dev_extent()
7651 if (physical_len != stripe_len) { in verify_one_dev_extent()
7655 stripe_len); in verify_one_dev_extent()