Lines Matching refs:physical

89 	/* Set when @mirror_num, @dev, @physical and @logical are set. */
117 u64 physical;
226 u64 physical;
454 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu, length %u, links %u (path: %s)",
457 swarn->physical,
468 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu: path resolving failed with ret=%d",
471 swarn->physical,
479 bool is_super, u64 logical, u64 physical)
493 btrfs_warn_in_rcu(fs_info, "%s on device %s, physical %llu",
494 errstr, btrfs_dev_name(dev), physical);
501 swarn.physical = physical;
535 "%s at logical %llu on dev %s, physical %llu: metadata %s (level %d) in tree %llu",
537 swarn.physical, (ref_level ? "node" : "leaf"),
560 static int fill_writer_pointer_gap(struct scrub_ctx *sctx, u64 physical)
568 if (!btrfs_dev_is_sequential(sctx->wr_tgtdev, physical))
571 if (sctx->write_pointer < physical) {
572 length = physical - sctx->write_pointer;
577 sctx->write_pointer = physical;
873 u64 physical = 0;
887 * thus no need for dev/physical, error reporting still needs dev and physical.
906 physical = bioc->stripes[stripe_index].physical;
940 "fixed up error at logical %llu on dev %s physical %llu",
942 physical);
954 "unable to fixup (regular) error at logical %llu on dev %s physical %llu",
956 physical);
966 stripe->logical, physical);
970 stripe->logical, physical);
974 stripe->logical, physical);
1161 fill_writer_pointer_gap(sctx, stripe->physical + bio_off);
1285 * Given a physical address, this will calculate it's
1291 static int get_raid56_logic_offset(u64 physical, int num,
1300 last_offset = (physical - map->stripes[num].physical) * data_stripes;
1459 u64 physical, u64 physical_end)
1470 physical,
1477 btrfs_dev_clear_zone_empty(sctx->wr_tgtdev, physical);
1527 struct btrfs_device *dev, u64 physical,
1572 stripe->physical = physical + stripe->logical - logical_start;
1884 u64 logical, u32 length, u64 physical,
1902 &sctx->csum_path, dev, physical,
1958 u64 physical;
1964 physical = map->stripes[stripe_index].physical +
1970 map->stripes[stripe_index].dev, physical, 1,
2098 u64 physical, int mirror_num)
2111 u64 cur_physical = physical + cur_logical - logical_start;
2138 sctx->stat.last_physical = physical + logical_length;
2200 const u64 orig_physical = map->stripes[stripe_index].physical;
2219 /* For physical offset, we just go to next stripe */
2236 u64 physical = map->stripes[stripe_index].physical;
2238 const u64 physical_end = physical + dev_stripe_len;
2254 btrfs_dev_is_sequential(sctx->wr_tgtdev, physical)) {
2256 sctx->write_pointer = physical;
2294 * Only @physical and @mirror_num needs to calculated using
2298 scrub_dev, map->stripes[stripe_index].physical,
2319 get_raid56_logic_offset(physical, stripe_index, map, &offset, NULL);
2324 * using their physical offset.
2326 while (physical < physical_end) {
2327 ret = get_raid56_logic_offset(physical, stripe_index, map,
2349 scrub_dev, physical, 1);
2354 physical += BTRFS_STRIPE_LEN;
2358 map->stripes[stripe_index].physical + dev_stripe_len;
2360 sctx->stat.last_physical = physical;
2384 map->stripes[stripe_index].physical,
2424 map->stripes[i].physical == dev_offset) {
2549 * a new block group (which uses different physical extents).
2753 struct page *page, u64 physical, u64 generation)
2762 bio.bi_iter.bi_sector = physical >> SECTOR_SHIFT;
2772 "super block at physical %llu devid %llu has bad csum",
2773 physical, dev->devid);
2778 "super block at physical %llu devid %llu has bad generation %llu expect %llu",
2779 physical, dev->devid,