Searched refs:snapshot_root (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | fsck.c | 1272 struct bch_inode_unpacked *snapshot_root, in check_inode() argument 1296 if (snapshot_root->bi_inum != u.bi_inum) { in check_inode() 1297 ret = get_snapshot_root_inode(trans, snapshot_root, u.bi_inum); in check_inode() 1302 if (fsck_err_on(u.bi_hash_seed != snapshot_root->bi_hash_seed || in check_inode() 1303 INODE_STR_HASH(&u) != INODE_STR_HASH(snapshot_root), in check_inode() 1306 u.bi_hash_seed = snapshot_root->bi_hash_seed; in check_inode() 1307 SET_INODE_STR_HASH(&u, INODE_STR_HASH(snapshot_root)); in check_inode() 1461 struct bch_inode_unpacked snapshot_root = {}; in bch2_check_inodes() local 1471 check_inode(trans, &iter, k, &snapshot_root, &s))); in bch2_check_inodes()
|
D | snapshot.c | 467 static u32 bch2_snapshot_tree_oldest_subvol(struct bch_fs *c, u32 snapshot_root) in bch2_snapshot_tree_oldest_subvol() argument 469 u32 id = snapshot_root; in bch2_snapshot_tree_oldest_subvol() 487 u32 snapshot_root, u32 *subvol_id) in bch2_snapshot_tree_master_subvol() argument 501 if (!bch2_snapshot_is_ancestor(c, le32_to_cpu(s.v->snapshot), snapshot_root)) in bch2_snapshot_tree_master_subvol() 515 *subvol_id = bch2_snapshot_tree_oldest_subvol(c, snapshot_root); in bch2_snapshot_tree_master_subvol()
|
D | subvolume.c | 125 u32 snapshot_root = bch2_snapshot_root(c, le32_to_cpu(subvol.v->snapshot)); in check_subvol() local 130 snapshot_tree = snapshot_t(c, snapshot_root)->tree; in check_subvol()
|