Searched refs:io_geom (Results 1 – 1 of 1) sorted by relevance
6224 struct btrfs_io_geometry *io_geom) in handle_ops_on_dev_replace() argument6231 int num_stripes = io_geom->num_stripes; in handle_ops_on_dev_replace()6232 int max_errors = io_geom->max_errors; in handle_ops_on_dev_replace()6274 if (io_geom->op == BTRFS_MAP_GET_READ_MIRRORS && nr_extra_stripes == 2) { in handle_ops_on_dev_replace()6293 io_geom->num_stripes = num_stripes + nr_extra_stripes; in handle_ops_on_dev_replace()6294 io_geom->max_errors = max_errors + nr_extra_stripes; in handle_ops_on_dev_replace()6299 struct btrfs_io_geometry *io_geom) in btrfs_max_io_len() argument6305 io_geom->stripe_offset = offset & BTRFS_STRIPE_LEN_MASK; in btrfs_max_io_len()6306 io_geom->stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; in btrfs_max_io_len()6307 ASSERT(io_geom->stripe_offset < U32_MAX, in btrfs_max_io_len()[all …]