Lines Matching refs:cache_set

279 	struct cache_set *c = container_of(cl, struct cache_set, sb_write);  in bcache_write_super_unlock()
284 void bcache_write_super(struct cache_set *c) in bcache_write_super()
321 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_endio()
330 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_io_unlock()
335 static void uuid_io(struct cache_set *c, int op, unsigned long op_flags, in uuid_io()
376 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read()
417 static int __uuid_write(struct cache_set *c) in __uuid_write()
437 int bch_uuid_write(struct cache_set *c) in bch_uuid_write()
447 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid) in uuid_find()
459 static struct uuid_entry *uuid_find_empty(struct cache_set *c) in uuid_find_empty()
683 static void bcache_device_link(struct bcache_device *d, struct cache_set *c, in bcache_device_link()
724 static void bcache_device_attach(struct bcache_device *d, struct cache_set *c, in bcache_device_attach()
856 static void calc_cached_dev_sectors(struct cache_set *c) in calc_cached_dev_sectors()
1046 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c, in bch_cached_dev_attach()
1285 struct cache_set *c; in register_bdev()
1356 static int flash_dev_run(struct cache_set *c, struct uuid_entry *u) in flash_dev_run()
1387 static int flash_devs_run(struct cache_set *c) in flash_devs_run()
1401 int bch_flash_dev_create(struct cache_set *c, uint64_t size) in bch_flash_dev_create()
1431 struct cache_set *c; in bch_cached_dev_error()
1465 bool bch_cache_set_error(struct cache_set *c, const char *fmt, ...) in bch_cache_set_error()
1498 struct cache_set *c = container_of(kobj, struct cache_set, kobj); in bch_cache_set_release()
1506 struct cache_set *c = container_of(cl, struct cache_set, cl); in cache_set_free()
1548 struct cache_set *c = container_of(cl, struct cache_set, caching); in cache_set_flush()
1601 static void conditional_stop_bcache_device(struct cache_set *c, in conditional_stop_bcache_device()
1643 struct cache_set *c = container_of(cl, struct cache_set, caching); in __cache_set_unregister()
1671 void bch_cache_set_stop(struct cache_set *c) in bch_cache_set_stop()
1677 void bch_cache_set_unregister(struct cache_set *c) in bch_cache_set_unregister()
1686 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
1689 struct cache_set *c = kzalloc(sizeof(struct cache_set), GFP_KERNEL); in bch_cache_set_alloc()
1776 static void run_cache_set(struct cache_set *c) in run_cache_set()
1945 static bool can_attach_cache(struct cache *ca, struct cache_set *c) in can_attach_cache()
1956 struct cache_set *c; in register_cache_set()
2159 struct cache_set *c, *tc; in bch_is_open_backing()
2174 struct cache_set *c, *tc; in bch_is_open_cache()
2284 struct cache_set *c, *tc; in bcache_reboot()