Lines Matching refs:snapshot
204 u32 dir_subvol, u64 dir, u32 snapshot,
220 dirent->k.p.snapshot = snapshot;
223 dir_inum, snapshot,
429 * not just emit a whiteout in the current snapshot - there can only be
438 new_src->k.p.snapshot != old_src.k->p.snapshot;
442 new_dst->k.p.snapshot != old_dst.k->p.snapshot;
451 bch2_btree_iter_set_snapshot(&src_iter, old_src.k->p.snapshot);
459 bch2_btree_iter_set_snapshot(&dst_iter, old_dst.k->p.snapshot);
515 int bch2_empty_dir_snapshot(struct btree_trans *trans, u64 dir, u32 subvol, u32 snapshot)
522 SPOS(dir, 0, snapshot),
538 u32 snapshot;
540 return bch2_subvolume_get_snapshot(trans, dir.subvol, &snapshot) ?:
541 bch2_empty_dir_snapshot(trans, dir.inum, dir.subvol, snapshot);
551 u32 snapshot;
560 ret = bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot);
565 SPOS(inum.inum, ctx->pos, snapshot),