Lines Matching defs:sb

98 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb,  in bch2_sb_field_get_id()
109 static struct bch_sb_field *__bch2_sb_field_resize(struct bch_sb_handle *sb, in __bch2_sb_field_resize()
148 void bch2_sb_field_delete(struct bch_sb_handle *sb, in bch2_sb_field_delete()
159 void bch2_free_super(struct bch_sb_handle *sb) in bch2_free_super()
171 int bch2_sb_realloc(struct bch_sb_handle *sb, unsigned u64s) in bch2_sb_realloc()
230 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *sb, in bch2_sb_field_resize_id()
265 struct bch_sb_field *bch2_sb_field_get_minsize_id(struct bch_sb_handle *sb, in bch2_sb_field_get_minsize_id()
331 static int bch2_sb_compatible(struct bch_sb *sb, struct printbuf *out) in bch2_sb_compatible()
372 struct bch_sb *sb = disk_sb->sb; in bch2_sb_validate() local
681 static int read_one_super(struct bch_sb_handle *sb, u64 offset, struct printbuf *err) in read_one_super()
744 struct bch_sb_handle *sb, bool ignore_notbchfs_msg) in __bch2_read_super()
902 struct bch_sb_handle *sb) in bch2_read_super()
910 struct bch_sb_handle *sb) in bch2_read_super_silent()
938 struct bch_sb *sb = ca->disk_sb.sb; in read_back_super() local
957 struct bch_sb *sb = ca->disk_sb.sb; in write_one_super() local
985 unsigned sb = 0, nr_wrote; in bch2_write_super() local
1235 static int bch2_sb_ext_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_ext_validate()
1246 static void bch2_sb_ext_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_ext_to_text()
1294 static int bch2_sb_field_validate(struct bch_sb *sb, struct bch_sb_field *f, in bch2_sb_field_validate()
1314 void __bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, in __bch2_sb_field_to_text()
1327 void bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_field_to_text()
1366 void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_to_text()