Lines Matching defs:sb
81 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb, in bch2_sb_field_get_id()
92 static struct bch_sb_field *__bch2_sb_field_resize(struct bch_sb_handle *sb, in __bch2_sb_field_resize()
131 void bch2_sb_field_delete(struct bch_sb_handle *sb, in bch2_sb_field_delete()
142 void bch2_free_super(struct bch_sb_handle *sb) in bch2_free_super()
154 int bch2_sb_realloc(struct bch_sb_handle *sb, unsigned u64s) in bch2_sb_realloc()
213 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *sb, in bch2_sb_field_resize_id()
248 struct bch_sb_field *bch2_sb_field_get_minsize_id(struct bch_sb_handle *sb, in bch2_sb_field_get_minsize_id()
309 static int bch2_sb_compatible(struct bch_sb *sb, struct printbuf *out) in bch2_sb_compatible()
350 struct bch_sb *sb = disk_sb->sb; in bch2_sb_validate() local
613 static int read_one_super(struct bch_sb_handle *sb, u64 offset, struct printbuf *err) in read_one_super()
674 struct bch_sb_handle *sb, bool ignore_notbchfs_msg) in __bch2_read_super()
827 struct bch_sb_handle *sb) in bch2_read_super()
835 struct bch_sb_handle *sb) in bch2_read_super_silent()
863 struct bch_sb *sb = ca->disk_sb.sb; in read_back_super() local
881 struct bch_sb *sb = ca->disk_sb.sb; in write_one_super() local
909 unsigned sb = 0, nr_wrote; in bch2_write_super() local
1124 static int bch2_sb_ext_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_ext_validate()
1135 static void bch2_sb_ext_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_ext_to_text()
1180 static int bch2_sb_field_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_field_validate()
1200 void __bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, in __bch2_sb_field_to_text()
1213 void bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_field_to_text()
1252 void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_to_text()