Searched refs:bch2_snapshot_is_ancestor (Results 1 – 7 of 7) sorted by relevance
/linux/fs/bcachefs/ |
H A D | snapshot.h | 168 static inline bool bch2_snapshot_is_ancestor(struct bch_fs *c, u32 id, u32 ancestor) in bch2_snapshot_is_ancestor() function 196 if (bch2_snapshot_is_ancestor(c, id, *i)) in snapshot_list_has_ancestor()
|
H A D | fsck.c | 444 BUG_ON(!bch2_snapshot_is_ancestor(c, inode->bi_snapshot, lostfound.bi_snapshot)); in reattach_inode() 494 !bch2_snapshot_is_ancestor(c, k.k->p.snapshot, inode->bi_snapshot) || in reattach_inode() 763 if (!bch2_snapshot_is_ancestor(c, id, ancestor)) in key_visible_in_snapshot() 779 if (bch2_snapshot_is_ancestor(c, id, seen->ids.data[i])) in key_visible_in_snapshot() 803 : bch2_snapshot_is_ancestor(c, src, dst); in ref_visible() 904 if (bch2_snapshot_is_ancestor(c, k.k->p.snapshot, i->snapshot)) in lookup_inode_for_snapshot() 1286 !bch2_snapshot_is_ancestor(c, le32_to_cpu(s.snapshot), in check_inode() 1363 if (!bch2_snapshot_is_ancestor(c, inode->bi_snapshot, k.k->p.snapshot)) in find_oldest_inode_needs_reattach() 2163 if (bch2_snapshot_is_ancestor(trans->c, le32_to_cpu(s.v->snapshot), snapshot)) { in find_snapshot_subvol() 2196 (!ret && !bch2_snapshot_is_ancestor(c, parent_snapshot, d.k->p.snapshot))) { in check_dirent_to_subvol() [all …]
|
H A D | snapshot.c | 426 if (!bch2_snapshot_is_ancestor(c, le32_to_cpu(s.v->snapshot), snapshot_root)) in bch2_snapshot_tree_master_subvol() 510 fsck_err_on(!bch2_snapshot_is_ancestor(c, in check_snapshot_tree() 1515 nr_deleted_ancestors += bch2_snapshot_is_ancestor(c, s->k.p.offset, i->id); in bch2_fix_child_of_deleted_snapshot() 1687 if (bch2_snapshot_is_ancestor(c, k.k->p.snapshot, pos.snapshot)) { in __bch2_key_has_snapshot_overwrites()
|
H A D | btree_update.c | 112 if (bch2_snapshot_is_ancestor(trans->c, snapshot, in need_whiteout_for_snapshot() 149 if (!bch2_snapshot_is_ancestor(c, old_k.k->p.snapshot, old_pos.snapshot) || in __bch2_insert_snapshot_whiteouts()
|
H A D | inode.c | 625 if (bch2_snapshot_is_ancestor(c, pos.snapshot, k.k->p.snapshot)) in bch2_bkey_get_iter_snapshot_parent() 660 if (bch2_snapshot_is_ancestor(c, k.k->p.snapshot, pos.snapshot) && in __bch2_inode_has_child_snapshots()
|
H A D | btree_iter.c | 295 BUG_ON(!bch2_snapshot_is_ancestor(trans->c, in bch2_btree_iter_verify_ret() 311 bch2_snapshot_is_ancestor(trans->c, iter->snapshot, in bch2_btree_iter_verify_ret() 2436 if (!bch2_snapshot_is_ancestor(trans->c, in bch2_btree_iter_peek_max() 2669 if (!bch2_snapshot_is_ancestor(trans->c, iter->snapshot, k.k->p.snapshot)) { in bch2_btree_iter_peek_prev_min()
|
H A D | fs.c | 290 ret = bch2_snapshot_is_ancestor(c, snap, p.snapshot); in bch2_inode_or_descendents_is_open()
|