Searched refs:PTR_CACHE (Results 1 – 9 of 9) sorted by relevance
/drivers/md/bcache/ |
D | io.c | 39 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()
|
D | bcache.h | 779 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()
|
D | alloc.c | 486 __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()
|
D | extents.c | 53 struct cache *ca = PTR_CACHE(c, k, i); in __ptr_invalid() 74 struct cache *ca = PTR_CACHE(c, k, i); in bch_ptr_status()
|
D | writeback.c | 377 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()
|
D | debug.c | 53 bio_set_dev(bio, PTR_CACHE(b->c, &b->key, 0)->bdev); in bch_btree_verify()
|
D | journal.c | 727 ca = PTR_CACHE(c, k, i); in journal_write_unlocked()
|
D | btree.c | 485 &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()
|
D | super.c | 438 ca = PTR_CACHE(c, &k.key, 0); in __uuid_write()
|