Lines Matching defs:c
72 bool bch2_set_version_incompat(struct bch_fs *c, enum bcachefs_metadata_version version) in bch2_set_version_incompat()
242 struct bch_fs *c = container_of(sb, struct bch_fs, disk_sb); in bch2_sb_field_resize_id() local
556 static void bch2_sb_update(struct bch_fs *c) in bch2_sb_update()
657 int bch2_sb_to_fs(struct bch_fs *c, struct bch_sb *src) in bch2_sb_to_fs()
674 int bch2_sb_from_fs(struct bch_fs *c, struct bch_dev *ca) in bch2_sb_from_fs()
936 static void read_back_super(struct bch_fs *c, struct bch_dev *ca) in read_back_super()
955 static void write_one_super(struct bch_fs *c, struct bch_dev *ca, unsigned idx) in write_one_super()
981 int bch2_write_super(struct bch_fs *c) in bch2_write_super()
1180 void __bch2_check_set_feature(struct bch_fs *c, unsigned feat) in __bch2_check_set_feature()
1192 bool bch2_check_version_downgrade(struct bch_fs *c) in bch2_check_version_downgrade()
1217 void bch2_sb_upgrade(struct bch_fs *c, unsigned new_version, bool incompat) in bch2_sb_upgrade()