Lines Matching refs:bi_snapshot
301 lostfound->bi_snapshot = le32_to_cpu(st.root_snapshot); in lookup_lostfound()
376 u32 dirent_snapshot = inode->bi_snapshot; in reattach_inode()
399 BUG_ON(!bch2_snapshot_is_ancestor(c, inode->bi_snapshot, lostfound.bi_snapshot)); in reattach_inode()
400 lostfound.bi_snapshot = inode->bi_snapshot; in reattach_inode()
435 if (!inode->bi_subvol && bch2_snapshot_is_leaf(c, inode->bi_snapshot) <= 0) { in reattach_inode()
443 BTREE_ID_inodes, SPOS(0, inode->bi_inum, inode->bi_snapshot - 1), in reattach_inode()
449 !bch2_snapshot_is_ancestor(c, k.k->p.snapshot, inode->bi_snapshot) || in reattach_inode()
495 SPOS(inode->bi_dir, inode->bi_dir_offset, inode->bi_snapshot), 0, in remove_backpointer()
639 new_inode.bi_snapshot = snapshot; in reconstruct_inode()
1207 u32 inode_snapshot = inode->bi_snapshot; in check_inode_dirent_inode()
1396 u.bi_inum, u.bi_snapshot)) { in check_inode()
1493 SPOS(0, inode->bi_inum, inode->bi_snapshot + 1), in find_oldest_inode_needs_reattach()
1498 if (!bch2_snapshot_is_ancestor(c, inode->bi_snapshot, k.k->p.snapshot)) in find_oldest_inode_needs_reattach()
2169 SPOS(target->bi_dir, target->bi_dir_offset, target->bi_snapshot)); in check_dirent_inode_dirent()
2182 target->bi_inum, target->bi_snapshot, in check_dirent_inode_dirent()
2204 target->bi_inum, target->bi_snapshot, buf.buf)) { in check_dirent_inode_dirent()
2217 target->bi_inum, target->bi_snapshot, bch2_d_types[d.v->d_type], buf.buf)) { in check_dirent_inode_dirent()
2419 subvol_root.bi_snapshot = le32_to_cpu(s.v->snapshot); in check_dirent_to_subvol()
2672 root_inode.bi_snapshot = snapshot; in check_root_trans()