Lines Matching defs:c
303 struct cache_set *c = container_of(cl, struct cache_set, sb_write); in bcache_write_super_unlock() local
308 void bcache_write_super(struct cache_set *c) in bcache_write_super()
345 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_endio() local
354 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_io_unlock() local
359 static void uuid_io(struct cache_set *c, unsigned long rw, in uuid_io()
399 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read()
440 static int __uuid_write(struct cache_set *c) in __uuid_write()
460 int bch_uuid_write(struct cache_set *c) in bch_uuid_write()
470 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid) in uuid_find()
482 static struct uuid_entry *uuid_find_empty(struct cache_set *c) in uuid_find_empty()
696 static void bcache_device_link(struct bcache_device *d, struct cache_set *c, in bcache_device_link()
735 static void bcache_device_attach(struct bcache_device *d, struct cache_set *c, in bcache_device_attach()
857 static void calc_cached_dev_sectors(struct cache_set *c) in calc_cached_dev_sectors()
964 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c) in bch_cached_dev_attach()
1178 struct cache_set *c; in register_bdev() local
1245 static int flash_dev_run(struct cache_set *c, struct uuid_entry *u) in flash_dev_run()
1275 static int flash_devs_run(struct cache_set *c) in flash_devs_run()
1289 int bch_flash_dev_create(struct cache_set *c, uint64_t size) in bch_flash_dev_create()
1320 bool bch_cache_set_error(struct cache_set *c, const char *fmt, ...) in bch_cache_set_error()
1349 struct cache_set *c = container_of(kobj, struct cache_set, kobj); in bch_cache_set_release() local
1356 struct cache_set *c = container_of(cl, struct cache_set, cl); in cache_set_free() local
1402 struct cache_set *c = container_of(cl, struct cache_set, caching); in cache_set_flush() local
1444 struct cache_set *c = container_of(cl, struct cache_set, caching); in __cache_set_unregister() local
1467 void bch_cache_set_stop(struct cache_set *c) in bch_cache_set_stop()
1473 void bch_cache_set_unregister(struct cache_set *c) in bch_cache_set_unregister()
1479 #define alloc_bucket_pages(gfp, c) \ argument
1485 struct cache_set *c = kzalloc(sizeof(struct cache_set), GFP_KERNEL); in bch_cache_set_alloc() local
1569 static void run_cache_set(struct cache_set *c) in run_cache_set()
1735 static bool can_attach_cache(struct cache *ca, struct cache_set *c) in can_attach_cache()
1746 struct cache_set *c; in register_cache_set() local
1935 struct cache_set *c, *tc; in bch_is_open_backing() local
1949 struct cache_set *c, *tc; in bch_is_open_cache() local
2049 struct cache_set *c, *tc; in bcache_reboot() local