Home
last modified time | relevance | path

Searched refs:bch_sb_handle (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dsuper-io.h34 struct bch_sb_field *bch2_sb_field_resize_id(struct bch_sb_handle *,
39 struct bch_sb_field *bch2_sb_field_get_minsize_id(struct bch_sb_handle *,
49 void bch2_sb_field_delete(struct bch_sb_handle *, enum bch_sb_field_type);
80 void bch2_free_super(struct bch_sb_handle *);
81 int bch2_sb_realloc(struct bch_sb_handle *, unsigned);
83 int bch2_read_super(const char *, struct bch_opts *, struct bch_sb_handle *);
84 int bch2_read_super_silent(const char *, struct bch_opts *, struct bch_sb_handle *);
Ddisk_groups.h83 int bch2_disk_path_find(struct bch_sb_handle *, const char *);
86 int bch2_disk_path_find_or_create(struct bch_sb_handle *, const char *);
Dsuper-io.c92 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()
232 struct bch_sb_handle *dev_sb = &ca->disk_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()
352 static int bch2_sb_validate(struct bch_sb_handle *disk_sb, in bch2_sb_validate()
554 static int __copy_super(struct bch_sb_handle *dst_handle, struct bch_sb *src) in __copy_super()
635 static int read_one_super(struct bch_sb_handle *sb, u64 offset, struct printbuf *err) in read_one_super()
[all …]
Dsuper_types.h5 struct bch_sb_handle { struct
Dsuper.c1088 static int bch2_dev_in_fs(struct bch_sb_handle *fs, in bch2_dev_in_fs()
1089 struct bch_sb_handle *sb, in bch2_dev_in_fs()
1388 static int __bch2_dev_attach_bdev(struct bch_dev *ca, struct bch_sb_handle *sb) in __bch2_dev_attach_bdev()
1421 static int bch2_dev_attach_bdev(struct bch_fs *c, struct bch_sb_handle *sb) in bch2_dev_attach_bdev()
1719 struct bch_sb_handle sb; in bch2_dev_add()
1838 struct bch_sb_handle sb = { NULL }; in bch2_dev_online()
2012 DARRAY(struct bch_sb_handle) sbs = { 0 }; in bch2_fs_open()
2014 struct bch_sb_handle *best = NULL; in bch2_fs_open()
2031 struct bch_sb_handle sb = { NULL }; in bch2_fs_open()
Ddisk_groups.c289 static int __bch2_disk_group_add(struct bch_sb_handle *sb, unsigned parent, in __bch2_disk_group_add()
332 int bch2_disk_path_find(struct bch_sb_handle *sb, const char *name) in bch2_disk_path_find()
352 int bch2_disk_path_find_or_create(struct bch_sb_handle *sb, const char *name) in bch2_disk_path_find_or_create()
Dbcachefs.h531 struct bch_sb_handle disk_sb;
786 struct bch_sb_handle disk_sb;
Dsb-members.h17 int bch2_sb_members_cpy_v2_v1(struct bch_sb_handle *disk_sb);
Dsb-members.c115 int bch2_sb_members_cpy_v2_v1(struct bch_sb_handle *disk_sb) in bch2_sb_members_cpy_v2_v1()
Dquota.c440 static struct bch_sb_field_quota *bch2_sb_get_or_create_quota(struct bch_sb_handle *sb) in bch2_sb_get_or_create_quota()