Lines Matching refs:seen
697 static bool key_visible_in_snapshot(struct bch_fs *c, struct snapshots_seen *seen, in key_visible_in_snapshot() argument
705 EBUG_ON(ancestor != seen->pos.snapshot); in key_visible_in_snapshot()
706 EBUG_ON(ancestor != darray_last(seen->ids)); in key_visible_in_snapshot()
724 for (i = seen->ids.nr - 2; in key_visible_in_snapshot()
725 i >= 0 && seen->ids.data[i] >= id; in key_visible_in_snapshot()
727 if (bch2_snapshot_is_ancestor(c, id, seen->ids.data[i])) in key_visible_in_snapshot()
1681 struct snapshots_seen seen; member
1692 snapshots_seen_exit(&i->seen); in extent_ends_reset()
1709 struct snapshots_seen *seen, in extent_ends_at() argument
1715 .seen = *seen, in extent_ends_at()
1718 n.seen.ids.data = kmemdup(seen->ids.data, in extent_ends_at()
1719 sizeof(seen->ids.data[0]) * seen->ids.size, in extent_ends_at()
1721 if (!n.seen.ids.data) in extent_ends_at()
1726 snapshots_seen_exit(&i->seen); in extent_ends_at()
1855 struct snapshots_seen *seen, in check_overlapping_extents() argument
1876 k.k->p.snapshot, seen, in check_overlapping_extents()
1877 i->snapshot, &i->seen)) in check_overlapping_extents()
1884 &i->seen, in check_overlapping_extents()