Home
last modified time | relevance | path

Searched refs:stripe_index (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/fs/btrfs/
H A Dscrub.c893 int stripe_index = stripe->mirror_num - 1; in scrub_stripe_report_errors() local
907 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()
908 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors()
1308 u32 stripe_index; in get_raid56_logic_offset() local
1319 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()
1320 if (stripe_index == num) in get_raid56_logic_offset()
1322 if (stripe_index < num) in get_raid56_logic_offset()
1876 int stripe_index; in scrub_raid56_parity_stripe() local
1883 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe()
1884 physical = map->stripes[stripe_index] in scrub_raid56_parity_stripe()
2085 simple_stripe_get_logical(struct map_lookup *map, struct btrfs_block_group *bg, int stripe_index) simple_stripe_get_logical() argument
2102 simple_stripe_mirror_num(struct map_lookup *map, int stripe_index) simple_stripe_mirror_num() argument
2112 scrub_simple_stripe(struct scrub_ctx *sctx, struct btrfs_block_group *bg, struct map_lookup *map, struct btrfs_device *device, int stripe_index) scrub_simple_stripe() argument
2145 scrub_stripe(struct scrub_ctx *sctx, struct btrfs_block_group *bg, struct extent_map *em, struct btrfs_device *scrub_dev, int stripe_index) scrub_stripe() argument
[all...]
H A Dvolumes.c5939 u32 stripe_index; in btrfs_map_discard() local
5980 * device we have to walk to find the data, and stripe_index is in btrfs_map_discard()
5984 stripe_index = 0; in btrfs_map_discard()
5995 stripe_index = stripe_nr % factor; in btrfs_map_discard()
5997 stripe_index *= sub_stripes; in btrfs_map_discard()
6006 stripe_index = stripe_nr % map->num_stripes; in btrfs_map_discard()
6018 map->stripes[stripe_index].physical + in btrfs_map_discard()
6020 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard()
6040 if (stripe_index >= last_stripe && in btrfs_map_discard()
6041 stripe_index < in btrfs_map_discard()
6207 set_io_stripe(struct btrfs_io_stripe *dst, const struct map_lookup *map, u32 stripe_index, u64 stripe_offset, u32 stripe_nr) set_io_stripe() argument
6265 u32 stripe_index; btrfs_map_block() local
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dvolumes.c5689 u32 stripe_index; in __btrfs_map_block_for_discard() local
5733 * device we have to walk to find the data, and stripe_index is in __btrfs_map_block_for_discard()
5737 stripe_index = 0; in __btrfs_map_block_for_discard()
5748 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()
5749 stripe_index *= sub_stripes; in __btrfs_map_block_for_discard()
5759 &stripe_index); in __btrfs_map_block_for_discard()
5770 map->stripes[stripe_index].physical + in __btrfs_map_block_for_discard()
5772 bbio->stripes[i].dev = map->stripes[stripe_index].dev; in __btrfs_map_block_for_discard()
5795 if (stripe_index >= last_stripe && in __btrfs_map_block_for_discard()
5796 stripe_index < in __btrfs_map_block_for_discard()
6109 u32 stripe_index; __btrfs_map_block() local
[all...]
H A Dscrub.c1239 int *stripe_index, in scrub_stripe_index_and_offset()
1256 *stripe_index = i; in scrub_stripe_index_and_offset()
1260 *stripe_index = mirror; in scrub_stripe_index_and_offset()
1280 int stripe_index; in scrub_setup_recheck_block() local
1361 &stripe_index, in scrub_setup_recheck_block()
1363 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1365 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()
2603 u32 stripe_index; in get_raid56_logic_offset() local
2622 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()
2623 if (stripe_index in get_raid56_logic_offset()
1235 scrub_stripe_index_and_offset(u64 logical, u64 map_type, u64 *raid_map, u64 mapped_length, int nstripes, int mirror, int *stripe_index, u64 *stripe_offset) scrub_stripe_index_and_offset() argument
[all...]

Completed in 22 milliseconds