Lines Matching defs:c
43 static inline const struct snapshot_t *snapshot_t(struct bch_fs *c, u32 id) in snapshot_t()
48 static inline u32 bch2_snapshot_tree(struct bch_fs *c, u32 id) in bch2_snapshot_tree()
58 static inline u32 __bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in __bch2_snapshot_parent_early()
64 static inline u32 bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in bch2_snapshot_parent_early()
73 static inline u32 __bch2_snapshot_parent(struct bch_fs *c, u32 id) in __bch2_snapshot_parent()
90 static inline u32 bch2_snapshot_parent(struct bch_fs *c, u32 id) in bch2_snapshot_parent()
99 static inline u32 bch2_snapshot_nth_parent(struct bch_fs *c, u32 id, u32 n) in bch2_snapshot_nth_parent()
111 static inline u32 bch2_snapshot_root(struct bch_fs *c, u32 id) in bch2_snapshot_root()
123 static inline u32 __bch2_snapshot_equiv(struct bch_fs *c, u32 id) in __bch2_snapshot_equiv()
129 static inline u32 bch2_snapshot_equiv(struct bch_fs *c, u32 id) in bch2_snapshot_equiv()
138 static inline int bch2_snapshot_is_internal_node(struct bch_fs *c, u32 id) in bch2_snapshot_is_internal_node()
148 static inline int bch2_snapshot_is_leaf(struct bch_fs *c, u32 id) in bch2_snapshot_is_leaf()
156 static inline u32 bch2_snapshot_depth(struct bch_fs *c, u32 parent) in bch2_snapshot_depth()
169 static inline bool bch2_snapshot_is_ancestor(struct bch_fs *c, u32 id, u32 ancestor) in bch2_snapshot_is_ancestor()
176 static inline bool bch2_snapshot_has_children(struct bch_fs *c, u32 id) in bch2_snapshot_has_children()
194 static inline bool snapshot_list_has_ancestor(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_has_ancestor()
202 static inline int snapshot_list_add(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_add()
211 static inline int snapshot_list_add_nodup(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_add_nodup()
221 static inline int snapshot_list_merge(struct bch_fs *c, snapshot_id_list *dst, snapshot_id_list *sr… in snapshot_list_merge()