Lines Matching refs:swarn
646 struct scrub_warning *swarn = warn_ctx;
647 struct btrfs_fs_info *fs_info = swarn->dev->fs_info;
665 ret = btrfs_search_slot(NULL, local_root, &key, swarn->path, 0, 0);
668 btrfs_release_path(swarn->path);
672 eb = swarn->path->nodes[0];
673 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0],
677 btrfs_release_path(swarn->path);
685 ipath = init_ipath(4096, local_root, swarn->path);
705 swarn->errstr, swarn->logical,
706 rcu_str_deref(swarn->dev->name),
707 swarn->physical,
719 swarn->errstr, swarn->logical,
720 rcu_str_deref(swarn->dev->name),
721 swarn->physical,
736 struct scrub_warning swarn;
753 swarn.physical = sblock->pagev[0]->physical;
754 swarn.logical = sblock->pagev[0]->logical;
755 swarn.errstr = errstr;
756 swarn.dev = NULL;
758 ret = extent_from_logical(fs_info, swarn.logical, path, &found_key,
763 extent_item_pos = swarn.logical - found_key.objectid;
764 swarn.extent_item_size = found_key.offset;
777 errstr, swarn.logical,
779 swarn.physical,
787 swarn.path = path;
788 swarn.dev = dev;
791 scrub_print_warning_inode, &swarn, false);