Lines Matching refs:physical
71 u64 physical; member
91 u64 physical; member
198 u64 physical; member
239 u64 physical, struct btrfs_device *dev, u64 flags,
707 swarn->physical, in scrub_print_warning_inode()
721 swarn->physical, in scrub_print_warning_inode()
753 swarn.physical = sblock->pagev[0]->physical; in scrub_print_warning()
779 swarn.physical, in scrub_print_warning()
1363 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1491 bio->bi_iter.bi_sector = page->physical >> 9; in scrub_recheck_block()
1570 bio->bi_iter.bi_sector = page_bad->physical >> 9; in scrub_repair_page_from_good_copy()
1647 sbio->physical = spage->physical_for_dev_replace; in scrub_add_page_to_wr_bio()
1659 bio->bi_iter.bi_sector = sbio->physical >> 9; in scrub_add_page_to_wr_bio()
1662 } else if (sbio->physical + sbio->page_count * PAGE_SIZE != in scrub_add_page_to_wr_bio()
1993 sbio->physical = spage->physical; in scrub_add_page_to_rd_bio()
2005 bio->bi_iter.bi_sector = sbio->physical >> 9; in scrub_add_page_to_rd_bio()
2008 } else if (sbio->physical + sbio->page_count * PAGE_SIZE != in scrub_add_page_to_rd_bio()
2009 spage->physical || in scrub_add_page_to_rd_bio()
2154 u64 physical, struct btrfs_device *dev, u64 flags, in scrub_pages() argument
2196 spage->physical = physical; in scrub_pages()
2211 physical += l; in scrub_pages()
2404 u64 physical, struct btrfs_device *dev, u64 flags, in scrub_extent() argument
2444 ret = scrub_pages(sctx, logical, l, physical, dev, flags, gen, in scrub_extent()
2451 physical += l; in scrub_extent()
2459 u64 physical, struct btrfs_device *dev, in scrub_pages_for_parity() argument
2507 spage->physical = physical; in scrub_pages_for_parity()
2521 physical += l; in scrub_pages_for_parity()
2543 u64 physical, struct btrfs_device *dev, in scrub_extent_for_parity() argument
2575 ret = scrub_pages_for_parity(sparity, logical, l, physical, dev, in scrub_extent_for_parity()
2583 physical += l; in scrub_extent_for_parity()
2595 static int get_raid56_logic_offset(u64 physical, int num, in get_raid56_logic_offset() argument
2607 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
2912 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()
2992 u64 physical; in scrub_stripe() local
3013 physical = map->stripes[num].physical; in scrub_stripe()
3032 get_raid56_logic_offset(physical, num, map, &offset, NULL); in scrub_stripe()
3066 physical_end = physical + nstripes * map->stripe_len; in scrub_stripe()
3111 while (physical < physical_end) { in scrub_stripe()
3137 ret = get_raid56_logic_offset(physical, num, map, in scrub_stripe()
3266 extent_physical = extent_logical - logical + physical; in scrub_stripe()
3287 extent_logical - logical + physical); in scrub_stripe()
3302 physical += map->stripe_len; in scrub_stripe()
3303 ret = get_raid56_logic_offset(physical, in scrub_stripe()
3308 if (ret && physical < physical_end) { in scrub_stripe()
3321 physical += map->stripe_len; in scrub_stripe()
3329 if (physical >= physical_end) { in scrub_stripe()
3340 physical += map->stripe_len; in scrub_stripe()
3343 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()
3346 sctx->stat.last_physical = physical; in scrub_stripe()
3403 map->stripes[i].physical == dev_offset) { in scrub_chunk()
4107 *extent_physical = bbio->stripes[0].physical; in scrub_remap_extent()