Home
last modified time | relevance | path

Searched refs:snapshot_t (Results 1 – 4 of 4) sorted by relevance

/linux/fs/bcachefs/
H A Dsnapshot.h33 static inline struct snapshot_t *__snapshot_t(struct snapshot_table *t, u32 id) in __snapshot_t()
42 static inline const struct snapshot_t *snapshot_t(struct bch_fs *c, u32 id) in snapshot_t() function
50 const struct snapshot_t *s = snapshot_t(c, id); in bch2_snapshot_tree()
59 const struct snapshot_t *s = snapshot_t(c, id); in __bch2_snapshot_parent_early()
74 const struct snapshot_t *s = snapshot_t(c, id); in __bch2_snapshot_parent()
81 s->depth != snapshot_t(c, parent)->depth + 1) in __bch2_snapshot_parent()
83 id, snapshot_t(c, id)->depth, in __bch2_snapshot_parent()
84 parent, snapshot_t(c, parent)->depth); in __bch2_snapshot_parent()
124 const struct snapshot_t *s = snapshot_t(c, id); in __bch2_snapshot_exists()
140 const struct snapshot_t *s = snapshot_t(c, id); in bch2_snapshot_is_internal_node()
[all …]
H A Dsubvolume_types.h11 struct snapshot_t { struct
26 DECLARE_FLEX_ARRAY(struct snapshot_t, s); argument
28 struct snapshot_t s[0];
H A Dsnapshot.c98 const struct snapshot_t *s = __snapshot_t(t, id); in __bch2_snapshot_is_ancestor_early()
115 const struct snapshot_t *s = __snapshot_t(t, id); in get_ancestor_below()
130 const struct snapshot_t *s = __snapshot_t(t, id); in test_ancestor_bitmap()
163 static noinline struct snapshot_t *__snapshot_t_mut(struct bch_fs *c, u32 id) in __snapshot_t_mut()
191 static inline struct snapshot_t *snapshot_t_mut(struct bch_fs *c, u32 id) in snapshot_t_mut()
289 struct snapshot_t *t; in __bch2_mark_snapshot()
361 return snapshot_t(c, id)->children[child]; in bch2_snapshot_child()
399 s = snapshot_t(c, id)->subvol; in bch2_snapshot_tree_oldest_subvol()
591 const struct snapshot_t *s; in bch2_snapshot_skiplist_get()
597 s = snapshot_t(c, id); in bch2_snapshot_skiplist_get()
[all …]
H A Dsubvolume.c130 snapshot_tree = snapshot_t(c, snapshot_root)->tree; in check_subvol()