Home
last modified time | relevance | path

Searched refs:bi_snapshot (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dfsck.c301 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()
[all …]
Dinode.h82 u32 bi_snapshot; member
Dinode.c286 unpacked->bi_snapshot = k.k->p.snapshot; in bch2_inode_unpack_slowpath()
328 unpacked->bi_snapshot = k.k->p.snapshot; in bch2_inode_unpack()
394 inode_p->inode.k.p.snapshot = inode->bi_snapshot; in __bch2_fsck_write_inode()
557 prt_printf(out, "inum: %llu:%u ", inode->bi_inum, inode->bi_snapshot); in bch2_inode_unpacked_to_text()
Dsubvolume.c102 inode.bi_inum, inode.bi_snapshot, in check_subvol()
105 inode.bi_snapshot = le32_to_cpu(subvol.v->snapshot); in check_subvol()