Home
last modified time | relevance | path

Searched refs:io_geom (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/fs/btrfs/
Dvolumes.c6124 struct btrfs_io_geometry *io_geom) in handle_ops_on_dev_replace() argument
6131 int num_stripes = io_geom->num_stripes; in handle_ops_on_dev_replace()
6132 int max_errors = io_geom->max_errors; in handle_ops_on_dev_replace()
6174 if (io_geom->op == BTRFS_MAP_GET_READ_MIRRORS && nr_extra_stripes == 2) { in handle_ops_on_dev_replace()
6192 io_geom->num_stripes = num_stripes + nr_extra_stripes; in handle_ops_on_dev_replace()
6193 io_geom->max_errors = max_errors + nr_extra_stripes; in handle_ops_on_dev_replace()
6198 struct btrfs_io_geometry *io_geom) in btrfs_max_io_len() argument
6204 io_geom->stripe_offset = offset & BTRFS_STRIPE_LEN_MASK; in btrfs_max_io_len()
6205 io_geom->stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; in btrfs_max_io_len()
6206 ASSERT(io_geom->stripe_offset < U32_MAX); in btrfs_max_io_len()
[all …]