Home
last modified time | relevance | path

Searched refs:PTR_CACHE (Results 1 – 9 of 9) sorted by relevance

/drivers/md/bcache/
Dio.c39 bio_set_dev(bio, PTR_CACHE(c, &b->key, 0)->bdev); in __bch_submit_bbio()
140 struct cache *ca = PTR_CACHE(c, &b->key, 0); in bch_bbio_count_io_errors()
Dbcache.h779 static inline struct cache *PTR_CACHE(struct cache_set *c, in PTR_CACHE() function
797 return PTR_CACHE(c, k, ptr)->buckets + PTR_BUCKET_NR(c, k, ptr); in PTR_BUCKET()
816 return (PTR_DEV(k, i) < MAX_CACHES_PER_SET) && PTR_CACHE(c, k, i); in ptr_available()
Dalloc.c486 __bch_bucket_free(PTR_CACHE(c, k, i), in bch_bucket_free()
683 &PTR_CACHE(c, &b->key, i)->sectors_written); in bch_alloc_sectors()
Dextents.c53 struct cache *ca = PTR_CACHE(c, k, i); in __ptr_invalid()
74 struct cache *ca = PTR_CACHE(c, k, i); in bch_ptr_status()
Dwriteback.c377 bch_count_io_errors(PTR_CACHE(io->dc->disk.c, &w->key, 0), in read_dirty_endio()
474 PTR_CACHE(dc->disk.c, &w->key, 0)->bdev); in read_dirty()
Ddebug.c53 bio_set_dev(bio, PTR_CACHE(b->c, &b->key, 0)->bdev); in bch_btree_verify()
Djournal.c727 ca = PTR_CACHE(c, k, i); in journal_write_unlocked()
Dbtree.c485 &PTR_CACHE(b->c, &b->key, 0)->btree_sectors_written); in __bch_btree_node_write()
1206 bch_inc_gen(PTR_CACHE(b->c, &b->key, i), in make_btree_freeing_key()
Dsuper.c438 ca = PTR_CACHE(c, &k.key, 0); in __uuid_write()