Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Draid56.c268 u64 num = rbio->bbio->raid_map[0]; in rbio_bucket()
559 if (last->bbio->raid_map[0] != in rbio_can_merge()
560 cur->bbio->raid_map[0]) in rbio_can_merge()
672 if (cur->bbio->raid_map[0] == rbio->bbio->raid_map[0]) { in lock_stripe_add()
1165 stripe_offset = start - rbio->bbio->raid_map[0]; in index_rbio_pages()
1402 stripe_start = rbio->bbio->raid_map[i]; in find_logical_bio_stripe()
1763 const u64 full_stripe_start = rbio->bbio->raid_map[0]; in rbio_add_bio()
1930 if (rbio->bbio->raid_map[failb] == RAID6_Q_STRIPE) { in __raid_recover_end_io()
1931 if (rbio->bbio->raid_map[faila] == in __raid_recover_end_io()
1943 if (rbio->bbio->raid_map[failb] == RAID5_P_STRIPE) { in __raid_recover_end_io()
[all …]
Dscrub.c1230 u64 *raid_map, in scrub_stripe_index_and_offset() argument
1241 if (raid_map[i] == RAID6_Q_STRIPE || in scrub_stripe_index_and_offset()
1242 raid_map[i] == RAID5_P_STRIPE) in scrub_stripe_index_and_offset()
1245 if (logical >= raid_map[i] && in scrub_stripe_index_and_offset()
1246 logical < raid_map[i] + mapped_length) in scrub_stripe_index_and_offset()
1251 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset()
1350 bbio->raid_map, in scrub_setup_recheck_block()
2173 if (ret || !bbio || !bbio->raid_map) in scrub_missing_raid56_pages()
2765 if (ret || !bbio || !bbio->raid_map) in scrub_parity_check_and_repair()
Dvolumes.h328 u64 *raid_map; member
Dvolumes.c5262 if (parity_smaller(bbio->raid_map[i], in sort_parity_stripes()
5263 bbio->raid_map[i+1])) { in sort_parity_stripes()
5265 l = bbio->raid_map[i]; in sort_parity_stripes()
5267 bbio->raid_map[i] = bbio->raid_map[i+1]; in sort_parity_stripes()
5269 bbio->raid_map[i+1] = l; in sort_parity_stripes()
5873 bbio->raid_map = (u64 *)((void *)bbio->stripes + in __btrfs_map_block()
5884 bbio->raid_map[(i+rot) % num_stripes] = in __btrfs_map_block()
5887 bbio->raid_map[(i+rot) % map->num_stripes] = RAID5_P_STRIPE; in __btrfs_map_block()
5889 bbio->raid_map[(i+rot+1) % num_stripes] = in __btrfs_map_block()
5907 if (bbio->raid_map) in __btrfs_map_block()