Lines Matching refs:cache_set
368 closure_type(c, struct cache_set, sb_write); in CLOSURE_CALLBACK()
373 void bcache_write_super(struct cache_set *c) in bcache_write_super()
403 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_endio()
412 closure_type(c, struct cache_set, uuid_write); in CLOSURE_CALLBACK()
417 static void uuid_io(struct cache_set *c, blk_opf_t opf, struct bkey *k, in uuid_io()
458 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read()
499 static int __uuid_write(struct cache_set *c) in __uuid_write()
525 int bch_uuid_write(struct cache_set *c) in bch_uuid_write()
535 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid) in uuid_find()
547 static struct uuid_entry *uuid_find_empty(struct cache_set *c) in uuid_find_empty()
802 static void bcache_device_link(struct bcache_device *d, struct cache_set *c, in bcache_device_link()
846 static void bcache_device_attach(struct bcache_device *d, struct cache_set *c, in bcache_device_attach()
993 static void calc_cached_dev_sectors(struct cache_set *c) in calc_cached_dev_sectors()
1136 struct cache_set *c = dc->disk.c; in cached_dev_detach_finish()
1188 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c, in bch_cached_dev_attach()
1446 struct cache_set *c; in register_bdev()
1519 static int flash_dev_run(struct cache_set *c, struct uuid_entry *u) in flash_dev_run()
1562 static int flash_devs_run(struct cache_set *c) in flash_devs_run()
1576 int bch_flash_dev_create(struct cache_set *c, uint64_t size) in bch_flash_dev_create()
1623 bool bch_cache_set_error(struct cache_set *c, const char *fmt, ...) in bch_cache_set_error()
1660 struct cache_set *c = container_of(kobj, struct cache_set, kobj); in bch_cache_set_release()
1668 closure_type(c, struct cache_set, cl); in CLOSURE_CALLBACK()
1709 closure_type(c, struct cache_set, caching); in CLOSURE_CALLBACK()
1764 static void conditional_stop_bcache_device(struct cache_set *c, in conditional_stop_bcache_device()
1806 closure_type(c, struct cache_set, caching); in CLOSURE_CALLBACK()
1834 void bch_cache_set_stop(struct cache_set *c) in bch_cache_set_stop()
1841 void bch_cache_set_unregister(struct cache_set *c) in bch_cache_set_unregister()
1850 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
1854 struct cache_set *c = kzalloc(sizeof(struct cache_set), GFP_KERNEL); in bch_cache_set_alloc()
1964 static int run_cache_set(struct cache_set *c) in run_cache_set()
2144 struct cache_set *c; in register_cache_set()
2406 struct cache_set *c, *tc; in bch_is_open_backing()
2421 struct cache_set *c, *tc; in bch_is_open_cache()
2665 struct cache_set *c, *tc; in bch_pending_bdevs_cleanup()
2712 struct cache_set *c, *tc; in bcache_reboot()