Searched refs:PTR_BUCKET (Results 1 – 8 of 8) sorted by relevance
/drivers/md/bcache/ |
D | extents.c | 141 PTR_BUCKET(b->c, k, j)->prio); in bch_bkey_dump() 182 g = PTR_BUCKET(b->c, k, i); in btree_ptr_bad_expensive() 510 struct bucket *g = PTR_BUCKET(b->c, k, ptr); in bch_extent_bad_expensive()
|
D | alloc.c | 485 __bch_bucket_free(c->cache, PTR_BUCKET(c, k, i)); in bch_bucket_free() 689 atomic_inc(&PTR_BUCKET(c, &b->key, i)->pin); in bch_alloc_sectors()
|
D | bcache.h | 814 static inline struct bucket *PTR_BUCKET(struct cache_set *c, in PTR_BUCKET() function 831 return gen_after(PTR_BUCKET(c, k, i)->gen, PTR_GEN(k, i)); in ptr_stale()
|
D | btree.c | 134 atomic_dec_bug(&PTR_BUCKET(c, k, i)->pin); in bkey_put() 1174 PTR_BUCKET(b->c, &b->key, i))); in make_btree_freeing_key() 1221 g = PTR_BUCKET(c, k, i); in __bch_btree_mark_key() 1263 struct bucket *b = PTR_BUCKET(c, k, i); in bch_initial_mark_key() 1746 SET_GC_MARK(PTR_BUCKET(c, &c->uuid_bucket, i), in bch_btree_gc_finish() 1764 SET_GC_MARK(PTR_BUCKET(c, &w->key, j), in bch_btree_gc_finish() 2502 BUG_ON(PTR_BUCKET(b->c, &b->key, i)->prio != BTREE_PRIO); in bch_btree_set_root()
|
D | movinggc.c | 30 GC_MOVE(PTR_BUCKET(c, k, i))) in moving_pred()
|
D | request.c | 236 SET_GC_MARK(PTR_BUCKET(op->c, k, i), in bch_data_insert_start() 545 PTR_BUCKET(b->c, k, ptr)->prio = INITIAL_PRIO; in cache_lookup_fn()
|
D | writeback.c | 364 atomic_inc(&PTR_BUCKET(dc->disk.c, &w->key, i)->pin); in write_dirty_finish()
|
D | journal.c | 333 atomic_inc(&PTR_BUCKET(c, k, j)->pin); in bch_journal_mark()
|