Lines Matching refs:physical
68 u64 physical; member
88 u64 physical; member
195 u64 physical; member
236 u64 physical, struct btrfs_device *dev, u64 flags,
706 swarn->physical, in scrub_print_warning_inode()
719 swarn->physical, in scrub_print_warning_inode()
751 swarn.physical = sblock->pagev[0]->physical; in scrub_print_warning()
777 swarn.physical, in scrub_print_warning()
1348 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1476 bio->bi_iter.bi_sector = page->physical >> 9; in scrub_recheck_block()
1555 bio->bi_iter.bi_sector = page_bad->physical >> 9; in scrub_repair_page_from_good_copy()
1638 sbio->physical = spage->physical_for_dev_replace; in scrub_add_page_to_wr_bio()
1650 bio->bi_iter.bi_sector = sbio->physical >> 9; in scrub_add_page_to_wr_bio()
1653 } else if (sbio->physical + sbio->page_count * PAGE_SIZE != in scrub_add_page_to_wr_bio()
2038 sbio->physical = spage->physical; in scrub_add_page_to_rd_bio()
2050 bio->bi_iter.bi_sector = sbio->physical >> 9; in scrub_add_page_to_rd_bio()
2053 } else if (sbio->physical + sbio->page_count * PAGE_SIZE != in scrub_add_page_to_rd_bio()
2054 spage->physical || in scrub_add_page_to_rd_bio()
2201 u64 physical, struct btrfs_device *dev, u64 flags, in scrub_pages() argument
2243 spage->physical = physical; in scrub_pages()
2258 physical += l; in scrub_pages()
2451 u64 physical, struct btrfs_device *dev, u64 flags, in scrub_extent() argument
2491 ret = scrub_pages(sctx, logical, l, physical, dev, flags, gen, in scrub_extent()
2498 physical += l; in scrub_extent()
2506 u64 physical, struct btrfs_device *dev, in scrub_pages_for_parity() argument
2554 spage->physical = physical; in scrub_pages_for_parity()
2568 physical += l; in scrub_pages_for_parity()
2590 u64 physical, struct btrfs_device *dev, in scrub_extent_for_parity() argument
2622 ret = scrub_pages_for_parity(sparity, logical, l, physical, dev, in scrub_extent_for_parity()
2630 physical += l; in scrub_extent_for_parity()
2642 static int get_raid56_logic_offset(u64 physical, int num, in get_raid56_logic_offset() argument
2653 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset()
2959 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()
3039 u64 physical; in scrub_stripe() local
3060 physical = map->stripes[num].physical; in scrub_stripe()
3079 get_raid56_logic_offset(physical, num, map, &offset, NULL); in scrub_stripe()
3113 physical_end = physical + nstripes * map->stripe_len; in scrub_stripe()
3158 while (physical < physical_end) { in scrub_stripe()
3184 ret = get_raid56_logic_offset(physical, num, map, in scrub_stripe()
3299 extent_physical = extent_logical - logical + physical; in scrub_stripe()
3319 extent_logical - logical + physical); in scrub_stripe()
3334 physical += map->stripe_len; in scrub_stripe()
3335 ret = get_raid56_logic_offset(physical, in scrub_stripe()
3340 if (ret && physical < physical_end) { in scrub_stripe()
3353 physical += map->stripe_len; in scrub_stripe()
3361 if (physical >= physical_end) { in scrub_stripe()
3372 physical += map->stripe_len; in scrub_stripe()
3375 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()
3378 sctx->stat.last_physical = physical; in scrub_stripe()
3436 map->stripes[i].physical == dev_offset) { in scrub_chunk()
4019 *extent_physical = bbio->stripes[0].physical; in scrub_remap_extent()