Lines Matching defs:c
92 void bch2_print_str(struct bch_fs *c, const char *str) in bch2_print_str()
130 void __bch2_print(struct bch_fs *c, const char *fmt, ...) in __bch2_print()
195 struct bch_fs *c; in bch2_dev_to_fs() local
216 struct bch_fs *c; in __bch2_uuid_to_fs() local
229 struct bch_fs *c; in bch2_uuid_to_fs() local
257 static void __bch2_fs_read_only(struct bch_fs *c) in __bch2_fs_read_only()
307 struct bch_fs *c = container_of(writes, struct bch_fs, writes); in bch2_writes_disabled() local
314 void bch2_fs_read_only(struct bch_fs *c) in bch2_fs_read_only()
390 struct bch_fs *c = in bch2_fs_read_only_work() local
398 static void bch2_fs_read_only_async(struct bch_fs *c) in bch2_fs_read_only_async()
403 bool bch2_fs_emergency_read_only(struct bch_fs *c) in bch2_fs_emergency_read_only()
414 static int bch2_fs_read_write_late(struct bch_fs *c) in bch2_fs_read_write_late()
440 static int __bch2_fs_read_write(struct bch_fs *c, bool early) in __bch2_fs_read_write()
512 int bch2_fs_read_write(struct bch_fs *c) in bch2_fs_read_write()
524 int bch2_fs_read_write_early(struct bch_fs *c) in bch2_fs_read_write_early()
533 static void __bch2_fs_free(struct bch_fs *c) in __bch2_fs_free()
609 struct bch_fs *c = container_of(kobj, struct bch_fs, kobj); in bch2_fs_release() local
614 void __bch2_fs_stop(struct bch_fs *c) in __bch2_fs_stop()
650 void bch2_fs_free(struct bch_fs *c) in bch2_fs_free()
676 void bch2_fs_stop(struct bch_fs *c) in bch2_fs_stop()
682 static int bch2_fs_online(struct bch_fs *c) in bch2_fs_online()
734 struct bch_fs *c; in bch2_fs_alloc() local
966 static void print_mount_opts(struct bch_fs *c) in print_mount_opts()
1000 int bch2_fs_start(struct bch_fs *c) in bch2_fs_start()
1074 static int bch2_dev_may_add(struct bch_sb *sb, struct bch_fs *c) in bch2_dev_may_add()
1213 static void __bch2_dev_offline(struct bch_fs *c, struct bch_dev *ca) in __bch2_dev_offline()
1269 static int bch2_dev_sysfs_online(struct bch_fs *c, struct bch_dev *ca) in bch2_dev_sysfs_online()
1298 static struct bch_dev *__bch2_dev_alloc(struct bch_fs *c, in __bch2_dev_alloc()
1351 static void bch2_dev_attach(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_attach()
1365 static int bch2_dev_alloc(struct bch_fs *c, unsigned dev_idx) in bch2_dev_alloc()
1421 static int bch2_dev_attach_bdev(struct bch_fs *c, struct bch_sb_handle *sb) in bch2_dev_attach_bdev()
1466 bool bch2_dev_state_allowed(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_state_allowed()
1510 static bool bch2_fs_may_start(struct bch_fs *c) in bch2_fs_may_start()
1544 static void __bch2_dev_read_only(struct bch_fs *c, struct bch_dev *ca) in __bch2_dev_read_only()
1554 static void __bch2_dev_read_write(struct bch_fs *c, struct bch_dev *ca) in __bch2_dev_read_write()
1565 int __bch2_dev_set_state(struct bch_fs *c, struct bch_dev *ca, in __bch2_dev_set_state()
1596 int bch2_dev_set_state(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_set_state()
1610 int bch2_dev_remove(struct bch_fs *c, struct bch_dev *ca, int flags) in bch2_dev_remove()
1716 int bch2_dev_add(struct bch_fs *c, const char *path) in bch2_dev_add()
1835 int bch2_dev_online(struct bch_fs *c, const char *path) in bch2_dev_online()
1900 int bch2_dev_offline(struct bch_fs *c, struct bch_dev *ca, int flags) in bch2_dev_offline()
1922 int bch2_dev_resize(struct bch_fs *c, struct bch_dev *ca, u64 nbuckets) in bch2_dev_resize()
1990 struct bch_dev *bch2_dev_lookup(struct bch_fs *c, const char *name) in bch2_dev_lookup()
2013 struct bch_fs *c = NULL; in bch2_fs_open() local