Lines Matching refs:physical

89 	/* Set when @mirror_num, @dev, @physical and @logical are set. */
117 u64 physical;
227 u64 physical;
455 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu, length %u, links %u (path: %s)",
458 swarn->physical,
469 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu: path resolving failed with ret=%d",
472 swarn->physical,
480 bool is_super, u64 logical, u64 physical)
494 btrfs_warn_in_rcu(fs_info, "%s on device %s, physical %llu",
495 errstr, btrfs_dev_name(dev), physical);
502 swarn.physical = physical;
536 "%s at logical %llu on dev %s, physical %llu: metadata %s (level %d) in tree %llu",
538 swarn.physical, (ref_level ? "node" : "leaf"),
561 static int fill_writer_pointer_gap(struct scrub_ctx *sctx, u64 physical)
569 if (!btrfs_dev_is_sequential(sctx->wr_tgtdev, physical))
572 if (sctx->write_pointer < physical) {
573 length = physical - sctx->write_pointer;
578 sctx->write_pointer = physical;
874 u64 physical = 0;
888 * thus no need for dev/physical, error reporting still needs dev and physical.
907 physical = bioc->stripes[stripe_index].physical;
941 "fixed up error at logical %llu on dev %s physical %llu",
943 physical);
955 "unable to fixup (regular) error at logical %llu on dev %s physical %llu",
957 physical);
967 stripe->logical, physical);
971 stripe->logical, physical);
975 stripe->logical, physical);
1162 fill_writer_pointer_gap(sctx, stripe->physical + bio_off);
1286 * Given a physical address, this will calculate it's
1292 static int get_raid56_logic_offset(u64 physical, int num,
1301 last_offset = (physical - map->stripes[num].physical) * data_stripes;
1456 u64 physical, u64 physical_end)
1467 physical,
1474 btrfs_dev_clear_zone_empty(sctx->wr_tgtdev, physical);
1524 struct btrfs_device *dev, u64 physical,
1569 stripe->physical = physical + stripe->logical - logical_start;
1804 u64 logical, u32 length, u64 physical,
1822 &sctx->csum_path, dev, physical,
1878 u64 physical;
1884 physical = map->stripes[stripe_index].physical +
1890 map->stripes[stripe_index].dev, physical, 1,
2018 u64 physical, int mirror_num)
2031 u64 cur_physical = physical + cur_logical - logical_start;
2058 sctx->stat.last_physical = physical + logical_length;
2120 const u64 orig_physical = map->stripes[stripe_index].physical;
2139 /* For physical offset, we just go to next stripe */
2157 u64 physical = map->stripes[stripe_index].physical;
2159 const u64 physical_end = physical + dev_stripe_len;
2175 btrfs_dev_is_sequential(sctx->wr_tgtdev, physical)) {
2177 sctx->write_pointer = physical;
2215 * Only @physical and @mirror_num needs to calculated using
2219 scrub_dev, map->stripes[stripe_index].physical,
2240 get_raid56_logic_offset(physical, stripe_index, map, &offset, NULL);
2245 * using their physical offset.
2247 while (physical < physical_end) {
2248 ret = get_raid56_logic_offset(physical, stripe_index, map,
2270 scrub_dev, physical, 1);
2275 physical += BTRFS_STRIPE_LEN;
2279 map->stripes[stripe_index].physical + dev_stripe_len;
2281 sctx->stat.last_physical = physical;
2305 map->stripes[stripe_index].physical,
2351 map->stripes[i].physical == dev_offset) {
2476 * a new block group (which uses different physical extents).
2680 struct page *page, u64 physical, u64 generation)
2689 bio.bi_iter.bi_sector = physical >> SECTOR_SHIFT;
2699 "super block at physical %llu devid %llu has bad csum",
2700 physical, dev->devid);
2705 "super block at physical %llu devid %llu has bad generation %llu expect %llu",
2706 physical, dev->devid,