Lines Matching defs:c
42 static inline const struct snapshot_t *snapshot_t(struct bch_fs *c, u32 id) in snapshot_t()
47 static inline u32 bch2_snapshot_tree(struct bch_fs *c, u32 id) in bch2_snapshot_tree()
57 static inline u32 __bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in __bch2_snapshot_parent_early()
63 static inline u32 bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in bch2_snapshot_parent_early()
72 static inline u32 __bch2_snapshot_parent(struct bch_fs *c, u32 id) in __bch2_snapshot_parent()
89 static inline u32 bch2_snapshot_parent(struct bch_fs *c, u32 id) in bch2_snapshot_parent()
98 static inline u32 bch2_snapshot_nth_parent(struct bch_fs *c, u32 id, u32 n) in bch2_snapshot_nth_parent()
110 static inline u32 bch2_snapshot_root(struct bch_fs *c, u32 id) in bch2_snapshot_root()
122 static inline bool __bch2_snapshot_exists(struct bch_fs *c, u32 id) in __bch2_snapshot_exists()
128 static inline bool bch2_snapshot_exists(struct bch_fs *c, u32 id) in bch2_snapshot_exists()
137 static inline int bch2_snapshot_is_internal_node(struct bch_fs *c, u32 id) in bch2_snapshot_is_internal_node()
147 static inline int bch2_snapshot_is_leaf(struct bch_fs *c, u32 id) in bch2_snapshot_is_leaf()
155 static inline u32 bch2_snapshot_depth(struct bch_fs *c, u32 parent) in bch2_snapshot_depth()
168 static inline bool bch2_snapshot_is_ancestor(struct bch_fs *c, u32 id, u32 ancestor) in bch2_snapshot_is_ancestor()
175 static inline bool bch2_snapshot_has_children(struct bch_fs *c, u32 id) in bch2_snapshot_has_children()
193 static inline bool snapshot_list_has_ancestor(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_has_ancestor()
201 static inline int snapshot_list_add(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_add()
210 static inline int snapshot_list_add_nodup(struct bch_fs *c, snapshot_id_list *s, u32 id) in snapshot_list_add_nodup()
220 static inline int snapshot_list_merge(struct bch_fs *c, snapshot_id_list *dst, snapshot_id_list *sr… in snapshot_list_merge()