Lines Matching defs:sb

113 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb,  in bch2_sb_field_get_id()
124 static struct bch_sb_field *__bch2_sb_field_resize(struct bch_sb_handle *sb, in __bch2_sb_field_resize()
163 void bch2_sb_field_delete(struct bch_sb_handle *sb, in bch2_sb_field_delete()
174 void bch2_free_super(struct bch_sb_handle *sb) in bch2_free_super()
186 int bch2_sb_realloc(struct bch_sb_handle *sb, unsigned u64s) in bch2_sb_realloc()
245 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *sb, in bch2_sb_field_resize_id()
280 struct bch_sb_field *bch2_sb_field_get_minsize_id(struct bch_sb_handle *sb, in bch2_sb_field_get_minsize_id()
346 static int bch2_sb_compatible(struct bch_sb *sb, struct printbuf *out) in bch2_sb_compatible()
384 int bch2_sb_validate(struct bch_sb *sb, u64 read_offset, in bch2_sb_validate()
712 static int read_one_super(struct bch_sb_handle *sb, u64 offset, struct printbuf *err) in read_one_super()
775 struct bch_sb_handle *sb, bool ignore_notbchfs_msg) in __bch2_read_super()
933 struct bch_sb_handle *sb) in bch2_read_super()
941 struct bch_sb_handle *sb) in bch2_read_super_silent()
969 struct bch_sb *sb = ca->disk_sb.sb; in read_back_super() local
988 struct bch_sb *sb = ca->disk_sb.sb; in write_one_super() local
1016 unsigned sb = 0, nr_wrote; in bch2_write_super() local
1273 static int bch2_sb_ext_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_ext_validate()
1284 static void bch2_sb_ext_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_ext_to_text()
1332 static int bch2_sb_field_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_field_validate()
1352 void __bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, in __bch2_sb_field_to_text()
1365 void bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_field_to_text()
1404 void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_to_text()