Searched refs:PTR_BUCKET_NR (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/md/bcache/ |
D | extents.c | 55 size_t bucket = PTR_BUCKET_NR(c, k, i); in __ptr_invalid() 76 size_t bucket = PTR_BUCKET_NR(c, k, i); in bch_ptr_status() 137 size_t n = PTR_BUCKET_NR(b->c, k, j); in bch_bkey_dump() 201 buf, PTR_BUCKET_NR(b->c, k, i), atomic_read(&g->pin), in btree_ptr_bad_expensive() 547 buf, PTR_BUCKET_NR(b->c, k, ptr), atomic_read(&g->pin), in bch_extent_bad_expensive() 608 PTR_BUCKET_NR(b->c, l, i) != PTR_BUCKET_NR(b->c, r, i)) in bch_extent_merge()
|
D | bcache.h | 813 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR() function 824 return c->cache->buckets + PTR_BUCKET_NR(c, k, ptr); in PTR_BUCKET()
|
D | btree.c | 231 err, PTR_BUCKET_NR(b->c, &b->key, 0), in bch_btree_node_read_done() 278 PTR_BUCKET_NR(b->c, &b->key, 0)); in bch_btree_node_read()
|
/linux-6.12.1/fs/bcachefs/ |
D | buckets.h | 120 static inline size_t PTR_BUCKET_NR(const struct bch_dev *ca, in PTR_BUCKET_NR() function 129 return POS(ptr->dev, PTR_BUCKET_NR(ca, ptr)); in PTR_BUCKET_POS() 142 return gc_bucket(ca, PTR_BUCKET_NR(ca, ptr)); in PTR_GC_BUCKET() 178 int gen = bucket_gen_get_rcu(ca, PTR_BUCKET_NR(ca, ptr)); in dev_ptr_stale_rcu()
|
D | buckets.c | 141 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), in bch2_check_fix_ptr() 158 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), in bch2_check_fix_ptr() 181 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr() 192 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), in bch2_check_fix_ptr() 206 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr() 396 size_t bucket_nr = PTR_BUCKET_NR(ca, ptr); in bch2_bucket_ref_update()
|
D | extents.c | 289 bool same_bucket = ca && PTR_BUCKET_NR(ca, &lp.ptr) == PTR_BUCKET_NR(ca, &rp.ptr); in bch2_extent_merge()
|
D | io_read.c | 1057 PTR_BUCKET_NR(ca, &pick.ptr), READ); in __bch2_read_extent()
|
D | btree_gc.c | 1193 u8 *gen = &ca->oldest_gen[PTR_BUCKET_NR(ca, ptr)]; in gc_btree_gens_key()
|
D | io_write.c | 436 n->nocow_bucket = PTR_BUCKET_NR(ca, ptr); in bch2_submit_wbio_replicas()
|
/linux-6.12.1/include/trace/events/ |
D | bcache.h | 72 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0); 273 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0); 348 __entry->btree_node = PTR_BUCKET_NR(b->c, &b->key, 0); 375 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0);
|