Lines Matching defs:id
34 static inline struct snapshot_t *__snapshot_t(struct snapshot_table *t, u32 id) in __snapshot_t()
39 static inline const struct snapshot_t *snapshot_t(struct bch_fs *c, u32 id) in snapshot_t()
44 static inline u32 bch2_snapshot_tree(struct bch_fs *c, u32 id) in bch2_snapshot_tree()
53 static inline u32 __bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in __bch2_snapshot_parent_early()
58 static inline u32 bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in bch2_snapshot_parent_early()
67 static inline u32 __bch2_snapshot_parent(struct bch_fs *c, u32 id) in __bch2_snapshot_parent()
84 static inline u32 bch2_snapshot_parent(struct bch_fs *c, u32 id) in bch2_snapshot_parent()
93 static inline u32 bch2_snapshot_nth_parent(struct bch_fs *c, u32 id, u32 n) in bch2_snapshot_nth_parent()
105 static inline u32 bch2_snapshot_root(struct bch_fs *c, u32 id) in bch2_snapshot_root()
117 static inline u32 __bch2_snapshot_equiv(struct bch_fs *c, u32 id) in __bch2_snapshot_equiv()
122 static inline u32 bch2_snapshot_equiv(struct bch_fs *c, u32 id) in bch2_snapshot_equiv()
131 static inline bool bch2_snapshot_is_equiv(struct bch_fs *c, u32 id) in bch2_snapshot_is_equiv()
136 static inline bool bch2_snapshot_is_internal_node(struct bch_fs *c, u32 id) in bch2_snapshot_is_internal_node()
149 static inline u32 bch2_snapshot_is_leaf(struct bch_fs *c, u32 id) in bch2_snapshot_is_leaf()
154 static inline u32 bch2_snapshot_sibling(struct bch_fs *c, u32 id) in bch2_snapshot_sibling()
183 static inline bool bch2_snapshot_is_ancestor(struct bch_fs *c, u32 id, u32 ancestor) in bch2_snapshot_is_ancestor()
190 static inline bool bch2_snapshot_has_children(struct bch_fs *c, u32 id) in bch2_snapshot_has_children()
203 static inline bool snapshot_list_has_id(snapshot_id_list *s, u32 id) in snapshot_list_has_id()
211 static inline bool snapshot_list_has_ancestor(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_has_ancestor()
219 static inline int snapshot_list_add(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_add()
248 enum btree_id id, in bch2_key_has_snapshot_overwrites()