Lines Matching refs:physical

80 	u64			physical;  member
100 u64 physical; member
274 u64 physical, struct btrfs_device *dev, u64 flags,
625 swarn.sector = (sblock->pagev[0]->physical) >> 9; in scrub_print_warning()
1395 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1506 bio->bi_iter.bi_sector = page->physical >> 9; in scrub_recheck_block()
1587 bio->bi_iter.bi_sector = page_bad->physical >> 9; in scrub_repair_page_from_good_copy()
1671 sbio->physical = spage->physical_for_dev_replace; in scrub_add_page_to_wr_bio()
1687 bio->bi_iter.bi_sector = sbio->physical >> 9; in scrub_add_page_to_wr_bio()
1689 } else if (sbio->physical + sbio->page_count * PAGE_SIZE != in scrub_add_page_to_wr_bio()
2076 sbio->physical = spage->physical; in scrub_add_page_to_rd_bio()
2090 bio->bi_iter.bi_sector = sbio->physical >> 9; in scrub_add_page_to_rd_bio()
2092 } else if (sbio->physical + sbio->page_count * PAGE_SIZE != in scrub_add_page_to_rd_bio()
2093 spage->physical || in scrub_add_page_to_rd_bio()
2239 u64 physical, struct btrfs_device *dev, u64 flags, in scrub_pages() argument
2281 spage->physical = physical; in scrub_pages()
2296 physical += l; in scrub_pages()
2483 u64 physical, struct btrfs_device *dev, u64 flags, in scrub_extent() argument
2523 ret = scrub_pages(sctx, logical, l, physical, dev, flags, gen, in scrub_extent()
2531 physical += l; in scrub_extent()
2539 u64 physical, struct btrfs_device *dev, in scrub_pages_for_parity() argument
2587 spage->physical = physical; in scrub_pages_for_parity()
2601 physical += l; in scrub_pages_for_parity()
2623 u64 physical, struct btrfs_device *dev, in scrub_extent_for_parity() argument
2655 ret = scrub_pages_for_parity(sparity, logical, l, physical, dev, in scrub_extent_for_parity()
2663 physical += l; in scrub_extent_for_parity()
2675 static int get_raid56_logic_offset(u64 physical, int num, in get_raid56_logic_offset() argument
2686 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset()
2993 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()
3074 u64 physical; in scrub_stripe() local
3095 physical = map->stripes[num].physical; in scrub_stripe()
3114 get_raid56_logic_offset(physical, num, map, &offset, NULL); in scrub_stripe()
3148 physical_end = physical + nstripes * map->stripe_len; in scrub_stripe()
3193 while (physical < physical_end) { in scrub_stripe()
3219 ret = get_raid56_logic_offset(physical, num, map, in scrub_stripe()
3335 extent_physical = extent_logical - logical + physical; in scrub_stripe()
3355 extent_logical - logical + physical); in scrub_stripe()
3370 physical += map->stripe_len; in scrub_stripe()
3371 ret = get_raid56_logic_offset(physical, in scrub_stripe()
3376 if (ret && physical < physical_end) { in scrub_stripe()
3389 physical += map->stripe_len; in scrub_stripe()
3397 if (physical >= physical_end) { in scrub_stripe()
3408 physical += map->stripe_len; in scrub_stripe()
3411 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()
3414 sctx->stat.last_physical = physical; in scrub_stripe()
3472 map->stripes[i].physical == dev_offset) { in scrub_chunk()
4037 *extent_physical = bbio->stripes[0].physical; in scrub_remap_extent()