Home
last modified time | relevance | path

Searched refs:PTR_BUCKET (Results 1 – 8 of 8) sorted by relevance

/drivers/md/bcache/
Dextents.c141 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()
Dbcache.h817 static inline struct bucket *PTR_BUCKET(struct cache_set *c, in PTR_BUCKET() function
834 return gen_after(PTR_BUCKET(c, k, i)->gen, PTR_GEN(k, i)); in ptr_stale()
Dalloc.c485 __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()
Dbtree.c134 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()
Dmovinggc.c30 GC_MOVE(PTR_BUCKET(c, k, i))) in moving_pred()
Drequest.c236 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()
Dwriteback.c372 atomic_inc(&PTR_BUCKET(dc->disk.c, &w->key, i)->pin); in write_dirty_finish()
Djournal.c332 atomic_inc(&PTR_BUCKET(c, k, j)->pin); in bch_journal_mark()