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 bool bch2_fs_emergency_read_only_locked(struct bch_fs *c) in bch2_fs_emergency_read_only_locked()
425 static int bch2_fs_read_write_late(struct bch_fs *c) in bch2_fs_read_write_late()
451 static int __bch2_fs_read_write(struct bch_fs *c, bool early) in __bch2_fs_read_write()
525 int bch2_fs_read_write(struct bch_fs *c) in bch2_fs_read_write()
537 int bch2_fs_read_write_early(struct bch_fs *c) in bch2_fs_read_write_early()
546 static void __bch2_fs_free(struct bch_fs *c) in __bch2_fs_free()
622 struct bch_fs *c = container_of(kobj, struct bch_fs, kobj); in bch2_fs_release() local
627 void __bch2_fs_stop(struct bch_fs *c) in __bch2_fs_stop()
663 void bch2_fs_free(struct bch_fs *c) in bch2_fs_free()
689 void bch2_fs_stop(struct bch_fs *c) in bch2_fs_stop()
695 static int bch2_fs_online(struct bch_fs *c) in bch2_fs_online()
747 struct bch_fs *c; in bch2_fs_alloc() local
969 static void print_mount_opts(struct bch_fs *c) in print_mount_opts()
1003 int bch2_fs_start(struct bch_fs *c) in bch2_fs_start()
1080 static int bch2_dev_may_add(struct bch_sb *sb, struct bch_fs *c) in bch2_dev_may_add()
1219 static void __bch2_dev_offline(struct bch_fs *c, struct bch_dev *ca) in __bch2_dev_offline()
1275 static int bch2_dev_sysfs_online(struct bch_fs *c, struct bch_dev *ca) in bch2_dev_sysfs_online()
1304 static struct bch_dev *__bch2_dev_alloc(struct bch_fs *c, in __bch2_dev_alloc()
1355 static void bch2_dev_attach(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_attach()
1369 static int bch2_dev_alloc(struct bch_fs *c, unsigned dev_idx) in bch2_dev_alloc()
1422 static int bch2_dev_attach_bdev(struct bch_fs *c, struct bch_sb_handle *sb) in bch2_dev_attach_bdev()
1467 bool bch2_dev_state_allowed(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_state_allowed()
1511 static bool bch2_fs_may_start(struct bch_fs *c) in bch2_fs_may_start()
1545 static void __bch2_dev_read_only(struct bch_fs *c, struct bch_dev *ca) in __bch2_dev_read_only()
1555 static void __bch2_dev_read_write(struct bch_fs *c, struct bch_dev *ca) in __bch2_dev_read_write()
1566 int __bch2_dev_set_state(struct bch_fs *c, struct bch_dev *ca, in __bch2_dev_set_state()
1597 int bch2_dev_set_state(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_set_state()
1611 int bch2_dev_remove(struct bch_fs *c, struct bch_dev *ca, int flags) in bch2_dev_remove()
1717 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