Searched refs:io_geom (Results 1 – 1 of 1) sorted by relevance
6902 struct btrfs_io_geometry *io_geom) in handle_ops_on_dev_replace() argument6909 int num_stripes = io_geom->num_stripes; in handle_ops_on_dev_replace()6910 int max_errors = io_geom->max_errors; in handle_ops_on_dev_replace()6952 if (io_geom->op == BTRFS_MAP_GET_READ_MIRRORS && nr_extra_stripes == 2) { in handle_ops_on_dev_replace()6971 io_geom->num_stripes = num_stripes + nr_extra_stripes; in handle_ops_on_dev_replace()6972 io_geom->max_errors = max_errors + nr_extra_stripes; in handle_ops_on_dev_replace()6977 struct btrfs_io_geometry *io_geom) in btrfs_max_io_len() argument6983 io_geom->stripe_offset = offset & BTRFS_STRIPE_LEN_MASK; in btrfs_max_io_len()6984 io_geom->stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; in btrfs_max_io_len()6985 ASSERT(io_geom->stripe_offset < U32_MAX, in btrfs_max_io_len()[all …]