Lines Matching refs:cache_set
368 struct cache_set *c = container_of(cl, struct cache_set, sb_write);
373 void bcache_write_super(struct cache_set *c)
403 struct cache_set *c = container_of(cl, struct cache_set, uuid_write);
412 struct cache_set *c = container_of(cl, struct cache_set, uuid_write);
417 static void uuid_io(struct cache_set *c, blk_opf_t opf, struct bkey *k,
458 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl)
499 static int __uuid_write(struct cache_set *c)
525 int bch_uuid_write(struct cache_set *c)
535 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid)
547 static struct uuid_entry *uuid_find_empty(struct cache_set *c)
802 static void bcache_device_link(struct bcache_device *d, struct cache_set *c,
846 static void bcache_device_attach(struct bcache_device *d, struct cache_set *c,
995 static void calc_cached_dev_sectors(struct cache_set *c)
1138 struct cache_set *c = dc->disk.c;
1190 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c,
1453 struct cache_set *c;
1525 static int flash_dev_run(struct cache_set *c, struct uuid_entry *u)
1568 static int flash_devs_run(struct cache_set *c)
1582 int bch_flash_dev_create(struct cache_set *c, uint64_t size)
1629 bool bch_cache_set_error(struct cache_set *c, const char *fmt, ...)
1666 struct cache_set *c = container_of(kobj, struct cache_set, kobj);
1674 struct cache_set *c = container_of(cl, struct cache_set, cl);
1715 struct cache_set *c = container_of(cl, struct cache_set, caching);
1770 static void conditional_stop_bcache_device(struct cache_set *c,
1812 struct cache_set *c = container_of(cl, struct cache_set, caching);
1840 void bch_cache_set_stop(struct cache_set *c)
1847 void bch_cache_set_unregister(struct cache_set *c)
1856 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb)
1860 struct cache_set *c = kzalloc(sizeof(struct cache_set), GFP_KERNEL);
1970 static int run_cache_set(struct cache_set *c)
2150 struct cache_set *c;
2413 struct cache_set *c, *tc;
2428 struct cache_set *c, *tc;
2675 struct cache_set *c, *tc;
2722 struct cache_set *c, *tc;