Searched refs:PTR_BUCKET_NR (Results 1 – 3 of 3) sorted by relevance
/drivers/md/bcache/ |
D | extents.c | 53 size_t bucket = PTR_BUCKET_NR(c, k, i); in __ptr_invalid() 74 size_t bucket = PTR_BUCKET_NR(c, k, i); in bch_ptr_status() 135 size_t n = PTR_BUCKET_NR(b->c, k, j); in bch_bkey_dump() 198 buf, PTR_BUCKET_NR(b->c, k, i), atomic_read(&g->pin), in btree_ptr_bad_expensive() 528 buf, PTR_BUCKET_NR(b->c, k, ptr), atomic_read(&g->pin), in bch_extent_bad_expensive() 588 PTR_BUCKET_NR(b->c, l, i) != PTR_BUCKET_NR(b->c, r, i)) in bch_extent_merge()
|
D | bcache.h | 724 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR() function 735 return PTR_CACHE(c, k, ptr)->buckets + PTR_BUCKET_NR(c, k, ptr); in PTR_BUCKET()
|
D | btree.c | 276 err, PTR_BUCKET_NR(b->c, &b->key, 0), in bch_btree_node_read_done() 322 PTR_BUCKET_NR(b->c, &b->key, 0)); in bch_btree_node_read()
|